
Obviously, if your compile of FFmpeg has the necessary codes for mp4, you should be able to create a file by typing "ffmpeg -i example.mov example.mp4" in the command line, which would prove your copy is working properly. ĭo you get the same result if you change the drop down to "None" in admin/config/media/video/presets/preset/mp4 > Video settings > Video Preset? ffmpeg version N-38662-gbf807a5Ĭonfiguration: -enable-shared -enable-gpl -enable-version3 -enable-nonfree -enable-x11grab -enable-libfaac -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libtheora -enable-libvorbis -enable-libx264 -extra-ldflags='-L/usr/local/lib -Wl,-rpath /usr/local/lib'

Neither -vcodec nor -vpre was in the command line only /usr/local/bin/ffmpeg -i INPUT /tmp/OUTPUT.mp4Įrror set options PHPVideoToolkit Error: Value "libx264" set from $toolkit->setVideoCodec, can not be used to encode the output as the version of FFmpeg that you are using does not have the capability to encode video with this codec. I ran ps -eF to see the FFmpeg command line. After transcoding, failure is reported and /tmp file disappears.

Some sort of transcoding is taking place, but not with the right options.
Using Mp4 preset, libx264 video encoder, aac audio encoder, and any preset, e.g.
