pimcore is able to convert videos to the most used formats used in the web automatically.
It is also possible capture a custom preview image out of the video.
To use all these functionalities it is required to install FFMPEG on the server. It is also required to configure the path to FFMPEG and to the PHP-CLI binary in the system settings.
Configure Video Thumbnails
As mentioned before, you have to install FFMPEG on the server. It isn't included in the pimcore installation package due licensing issues (proprietary codecs, etc. ).
But there are static builds for FFMPEG available for Linux, Windows and OSX:
- Linux 64bit static builds (including qt-faststart): https://sites.google.com/site/linuxencoding/builds
a mirrored file can be found here: http://www.pimcore.org//download/archive/ffmpeg-linux64-20120125.tar.bz2 - Windows builds: http://ffmpeg.zeranoe.com/builds/
Install FFMPEG and qt-faststart (on Debian 64bit)
Run all this commands as root
cd ~
wget https://sites.google.com/site/linuxencoding/builds/ffmpeg-linux64-20120125.tar.bz2?attredirects=0 -O ffmpeg.tar.bz2
tar xfvj ffmpeg.tar.bz2
mv ffmpeg-linux64-20120125 /usr/local/ffmpeg
ln -s /usr/local/ffmpeg/ffmpeg /usr/local/bin/
ln -s /usr/local/ffmpeg/ffprobe /usr/local/bin/
ln -s /usr/local/ffmpeg/qt-faststart /usr/local/bin/
ln -s /usr/local/ffmpeg/qt-faststart /usr/local/bin/qtfaststart
That's it! The ffmpeg binary is now in here: /usr/local/bin/ffmpeg
ToDo's in System Settings
