Sunday, August 10, 2008

how to convert a mythtv recording to an mp3

I wanted to rip the audio of several tv programs I had recorded with mythtv. Here's what I did
  1. Find out the file name of the recording I wanted. Mythtv names its files based on date and time.
  2. run mplayer to convert the file to wav: mplayer -ao pcm:file=thomas_weather.wav -vo null 1111_20080222143000.mpg This takes the file 1111_20080222143000.mpg and uses it to create a wav file named thomas_colors.wav
  3. run lame to comvert the file to an mp3: lame -h thomas_weather.wav thomas_weather.mp3 . This uses lame to take the .wav file and create an mp3 file
other searches: mythtv rip audio, mythtv extract audio

No comments: