Gif to mp4 Conversion
Starting with VisioList 1.6, we offer gif to mp4 conversion for reduced file size if your system supports it. This is used for the member banners
If you already have Visiolist 1.6+ installed, you can quickly check admin -> tools -> convert member banners to see if your server supports it.
Fresh installs also tell you whats up on the install page
1) A Virtual or Dedicate server with root access. Very unlikely ffmpeg is supported on shared hosting accounts.
2) It requires a library called ffmpeg -> https://ffmpeg.org
2.1) Type the following in your terminal to validate if ffmpeg is installed or not. It has to return a path to the ffmpeg binary. If nothing is returned or if its not within the shared binary path, you need to fix / install it.
type -P ffmpeg
2.2) ffmpeg installation
Manual compile if its not installed
- Binary files need to be accessible system wide, there are several methods described in the wiki. Just make sure its accessible by every user, usually within within /usr/local/bin
- given the CentOS documentation: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
- You will notice everything is done in /root
- Now how to make it system wide instead so its accessible by other users? We need to adjust where the binary files are stored
- Most commands have something like this: --bindir="$HOME/bin" and the last step has: PATH="$HOME/bin:$PATH"
- Now we would simply replace $HOME with /usr/local wherever you see a reference like that
Installation via package manager
- There are also packages available for various systems. While they work, they are often really outdated and miss many improvements ( due missing codec updates, bug fixes )
- If your package manager has an up to date version, go for it, its a lot easier.
2.3) Type the following in your terminal to revalidate if ffmpeg is installed correctly. It has to return a path to the ffmpeg binary. If nothing is returned or if its not within the shared binary path, something went wrong
type -P ffmpeg
3) To run the ffmpeg commands from within your toplist, you also need to have the php function shell_exec enabled
3.1) shell_exec is usually defined in php.ini in the disable_functions section, remove it from there and restart apache
3.2) Servers running php-fpm might also need to modify the fpm configuration yaml file. Either global configuration or for a single domain only. We suggest domain only