Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Convert Real Audio files to MP3s' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Convert Real Audio files to MP3s
Authored by: injust on May 02, '06 11:11:01PM
I too am trying to convert a stream to .wav, then to .mp3, in this case a segment of a Prairie Home Companion show. I got the newest binaries I could find, in this case Intel builds, and used the command for streams given in this thread, and it seemed to work perfectly:
~ jtb$ /usr/local/bin/mplayer -playlist audio_segment.php.ram -ao pcm -ao pcm:file=rope.wav -vc dummy -vo null
MPlayer dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
Mac OSX static build for ffmpegX
CPU: Intel  (Family: 6, Stepping: 8)
FIXME:Hardenabling SSE and SSE2 without detection
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing rtsp://
Resolving for AF_INET6...
Couldn't resolve name for AF_INET6:
Resolving for AF_INET...
Connecting to server[]: 554...
Cache size set to 640 KBytes
Cache fill: 12.50% (81920 bytes)   Stream EOF detected
Cache fill: 13.44% (88064 bytes)   
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Clip info:
 name: A_Prairie_Home_Companion
 author: Minnesota Public Radio
 copyright: Minnesota Public Radio,2003
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 1 ch, s16le, 20.7 kbit/5.86% (ratio: 2583->44100)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
[AO PCM] File: rope.wav (WAVE)
PCM: Samplerate: 22050Hz Channels: Mono Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 22050Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  33.4 (33.4) of 7201.0 ( 2:00:01.0)  0.2% 0% 

Exiting... (End of file)
And in fact the file, rope.wav, was created. However, it converted only a little 33-second snip of the show segment (which is around a half-hour, I think) that I was trying to convert, and I'm not even sure what it created was from the right segment of the show. as you can see, at the end of the rtsp link, there's a timecode reference,
I believe that's the part that's messing up. Anyone have any words of wisdom for me? Thanks in advance.

[ Reply to This | # ]