Hi Stephen,
The command to create OGV seems to be working fine. When I try to create MP4 using the following command:
ffmpeg -i input.avi -vcodec lbx264 -preset slow -profile main -crf 20 -acodec libfaac -ab 128k -vf scale="480:-1" output.mp4
The command line tells me this:
Unknown encoder 'lbx264'
Doing a ffmpeg -version gives me this:
ffmpeg version N-37208-g01fcbdf
built on Jan 27 2012 18:34:52 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopenc
ore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enab
le-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --e
nable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-li
bxvid --enable-zlib
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Was -vcodec lbx264 supposed to be -vcodec libx264? Because when I changed it, I got a new error:
Unknown encoder 'libfaac'
I’m going to try this on my server later. If it works there, I’m not going to worry about getting it to work on my Windows machine.
Also, does order of the arguments matter?