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
  • Recording online streams (real / wma) to mp3 format (or ogg) with mplayer So, I've been looking back over my list of "scripts" that are pulling in audio from various news sources online for the onlineradiotv.com site. It's also got me doing a bit more spanish language listening than I had been. In the car, I usually use an mp3 player (the nexia)......
  • /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......
  • 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 (averyjparker.com), but I......
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......
  • 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......
  • 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......
PDF24    Send article as PDF   

Similar Posts


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

Comments are closed.


Switch to our mobile site