Converting rm to mp3

Recently I’ve run across a realmedia stream that I really want to convert to mp3 (mainly because my portable player can’t read rm files. I’ll talk about capturing rm streams in another post, but this one is going to talk about converting from rm to mp3.

For starters, it’s possible to use mencoder for this as follows:

mencoder input_file.rm -ovc frameno -oac mp3lame -of rawaudio -lameopts cbr:br=128 -o output_file.mp3

This failed for me with an error that video was not optional. Rather than trying to figure out how to make mencoder deal with an audio only rm… I looked for another way around it.
So, …if you want another way to approach it, try this…

This makes use of mplayer to dump the audio to wav and then lame to encode to mp3

mplayer -ao pcm:file=audiodump.wav myrealmediafile.rm
lame -h -v -b 128 audiodump.wav finalemp3file.mp3

The -b rate in the lame command sets the minimum bitrate – if you’re converting audio and you know your device can deal with variable bit rates you could drop that to 32. (That’s what I did…)

Related Posts

Blog Traffic Exchange Related Posts
  • Ripping a DVD with Multiple Audio tracks First off, you should now that I like to study languages. I have studied Spanish for a good amount of time (and have a site related to learning spanish for beginners). I've also studied French and German and a smattering of other languages. In fact, you might even say that......
  • /bash/rm: argument list too long I can't tell you how many times I've seen this complaint from the bash shell when trying to remove a bunch of files. In this case, I was trying to clear a directory where log rotating had run amuck and there was a 10 second lag in typing ls ∗.gz......
  • "rm -f *" undelete I really ought to find a way to alias "rm -f *" to "rm -i" IF the time is between 1 AM and 7 AM.... Last night I was working late (2:30AM or so when this happened). I had just made a few "refinements" to some of my audio streaming......
Blog Traffic Exchange Related Websites
  • Get a Free DVD Ripper and Media Converter! From now through December 27, 2010, you can get iSkysoft's iMedia Converter for free! This software normally sells for $49, but for the next few days you can get it absolutely free. All you have to do is go to their Facebook page, like the page (might as well like......
  • 2 Other Options for Corporate Blogs When it comes to corporate blogs, many people think of just the standard blogging format and they are afraid to break out of the box. However, there are quite a few options that will help bring your blog to life and may even make it easier to get your message......
  • Creating a Blog Video Online About two years ago, blogging hit a surge that allowed its way into the mainstream, and now everybody is blogging for a wide variety of different reasons. Blogs resemble web-based public diaries of sorts, where the creator can record their thoughts, their opinions, questions and answers and essentially anything else......    Send article as PDF   

Similar Posts

See what happened this day in history from either BBC Wikipedia
Amazon Logo

Comments are closed.

Switch to our mobile site