Thursday, August 7, 2008

rip audio bit from dvd

So obviously a Linux thing. Use mplayer's mencoder and audacity to export the portions you want.

mencoder dvd://4 -chapter 1-1 -ovc frameno -oac mp3lame -lameopts cbr:br=192 -o pp1.avi

this rips just the audio from title 4 of chapter 1 to pp1.avi

then

mplayer -dumpaudio pp1.avi -dumpfile pp1.mp3

to get it to mp3

and then use audacity to extract the bits you want to separate file.

then bluetooth "sendfile" it to your phone and "Peppa pig" is now my ringtone.