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
  • /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......
  • Capturing Realmedia RM Streams to a file on Disk There is a lot of software out there that can capture realmedia online streams for a fee. I've found a way in linux to do the same without buying third party software. The main motivation for this is I discovered SBS (an Australian broadcaster) provides audio news programs (1 hour......
  • 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......
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......
www.pdf24.org    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