FFmpeg MKV to MP4 HD

bat guano batguano999 at hotmail.com
Sun Feb 12 11:18:36 EST 2012




----------------------------------------

> On Windows:
> C:\Program Files\get_iplayer\ffmpeg\bin>ffmpeg -i o:\MKV\file.mkv -t 60
> -vf "scale=1280:trunc(ow/a/2)*2" -vcodec libx264 -acodec libfaac -aq 120
> -ac 2 filename.mp4
> FFmpeg version SVN-r26400, Copyright (c) 2000-2011 the FFmpeg developers
> built on Jan 18 2011 04:07:05 with gcc 4.4.2
> configuration: --enable-gpl --enable-version3 --enable-libgsm
> --enable-libvorbis --enable-libtheora --enable-libspeex
> --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger
> --enable-libopencore_amrwb --enable-libopencore_a
> mrnb --enable-libvpx --disable-decoder=libvpx --arch=x86
> --enable-runtime-cpudetect --enable-libxvid --enable-libx264
> --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm'
> --target-os=mingw32 --enable-avisynth --enable-w32
> threads --cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc'
> --enable-memalign-hack

> Unknown encoder 'libfaac'
>
> C:\Program Files\get_iplayer\ffmpeg\bin>
>
This version of FFmpeg has been compiled without "libfaac" enabled.

So (for now) use FFmpeg's own "aac" codec instead of "libfaac".
Using your Windows get_iplayer version of FFmpeg....
Try again with this command:-
ffmpeg -i filename.mkv -t 60 -vf "scale=1280:trunc(ow/a/2)*2" -vcodec libx264 -acodec aac -ab 128k -ac 2 -strict experimental filename.mp4
 		 	   		  


More information about the get_iplayer mailing list