Pages

10 June 2008

DVD ripping using ffmpeg

This is a typical DVD ripping example; the input is a VOB file, the output an AVI file with MPEG-4 video and MP3 audio. Note that in this command we use B-frames so the MPEG-4 stream is DivX5 compatible, and GOP size is 300 which means one intra frame every 10 seconds for 29.97fps input video. Furthermore, the audio stream is MP3-encoded so you need to enable LAME support by passing "--enable-libmp3lame" to configure. The mapping is particularly useful for DVD transcoding to get the desired audio language.
ffmpeg -i INFILE.VOB -f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 -acodec libmp3lame -ab 128k OUTFILE.avi

ffmpeg or mencoder on the shell, graphical tools may be avidemux or kmenc or , well search in packman repo..

mplayer dvd://1 -v -dumpstream -dumpfile $1.vob

No comments:

Post a Comment