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
  • Converting Audio to PCM Wave format To make sure you've go the idea that mplayer is really a swiss army knife for media files that can do most anything. I wanted to get a post JUST on this idea. Any media format that mplayer recognizes it can dump the audio to the most common and readable......
  • More details on php exploit from last week Ok. I have a bit of time that I can sit down and get a little more detailed on what specifically happened late last week that shut the site down for a couple days. At one point, I had updated the ezcontents script for the main site (, but I......
  • Cutting Short, splitting or truncating mp3 files... from the command line in linux... or generating them from Wavs.... So, I've got this CD that I've made and is up for sale at traditional hymns done as "chimes". I've spent quite a bit of time recording to hard drive, editing and getting the wav files as good......
Blog Traffic Exchange Related Websites
  • 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......
  • 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......
  • 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