Rip a dvd to an iPod compatible mp4

From Pabut
Jump to: navigation, search

Sure you can use handbrake ... but that's too easy I wanted to use ffmpeg. Ffmpeg is the most powerful and least understood open source video tool.

  1. get ffmpeg
  2. get libfaac the audio codec used for iPOD mp4
  3. get liba52 the audio codec used by dvds is ac3
  4. get libmp3lame just ... ta have.
  5. build and install libaac,liba52 and libmp3lame
  6. configure ffmpeg with the options: ./configure --enable-libfaac --enable-libmp3lame --disable-vhook --enable-decoder=ac3 --enable-liba52
  7. build and install ffmpeg
  8. rip your VOBs with the command: ffmpeg -i VIDEO_TS/VTS_01_5.VOB -f mp4 -b 400k -acodec libfaac -vcodec mpeg4 -s 320x240 -ar 44100 -ab 128k -g 300 -aspect 4:3 VTS_01_5.mp4

note: playing with the values of -ab -b effects size and quality of the final product .... these values seemed to work best for me.