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: ThePhin on Feb 02, '05 10:49:47AM

Okay, I'm running Mac OS X 10.3.7. I have Real Player 10.0.0 (v325).

I went to the mplayer Sourceforge link you supplied, and followed the link labelled "Last Mencoder&Mplayer binary". I was offered multiple choices for a download, and took ffmpegxbinaries.sit. This yielded a folder, binaries_for_ffmpegX. Then I Unix cp'ed 'em:

<code>
[megumi:/usr/local/bin] donaldwa% cp /Users/donaldwakefield/Desktop/binaries_for_ffmpegX/m* .
[megumi:/usr/local/bin] donaldwa% ls -l mencoder mplayer
-rwxr-xr-x 1 donaldwa staff 4549296 2 Feb 07:32 mencoder
-rwxr-xr-x 1 donaldwa staff 4658648 2 Feb 07:32 mplayer
</code>

From my Desktop location:

<code>
[megumi:~/Desktop] donaldwa% mplayer -h
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030316-14:10-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)
</code>

(etc. ...)

As for the link to the Real Player codec support:

<code>
[megumi:/Library/Application Support/ffmpegx] donaldwa% ls -la
total 8
drwxr-xr-x 3 root admin 102 1 Feb 20:27 .
drwxrwxr-x 21 root admin 714 1 Feb 20:05 ..
lrwxr-xr-x 1 root admin 90 1 Feb 20:27 reallib -> /Applications/RealPlayer.app/Contents/Frameworks/HXClientKit.framework/HelixPlugins/Codecs
</code>

(and from my shell history:

64 20:27 sudo ln -f -s /Applications/RealPlayer.app/Contents/Frameworks/HXClientKit.framework/HelixPlugins/Codecs reallib
)

<code>
[megumi:/Library/Application Support/ffmpegx] donaldwa% cd reallib
[megumi:Application Support/ffmpegx/reallib] donaldwa% ls -la
total 16
drwxr-xr-x 15 donaldwa admin 510 1 Feb 20:23 .
drwxr-xr-x 6 donaldwa admin 204 1 Feb 20:23 ..
-rw-r--r-- 1 donaldwa admin 6148 1 Feb 20:23 .DS_Store
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 atrc.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 colorcvt.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 cook.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 drv1.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 drv2.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 drvc.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 raac.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 rv10.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 rv20.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 rv30.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 rv40.bundle
drwxr-xr-x 3 donaldwa admin 102 15 Dec 22:23 sipr.bundle
[megumi:Application Support/ffmpegx/reallib] donaldwa% pwd
/Applications/RealPlayer.app/Contents/Frameworks/HXClientKit.framework/HelixPlugins/Codecs
</code>

Finally, an attempt to convert the stream:

<code>
[megumi:~] donaldwa% cd Desktop
[megumi:~/Desktop] donaldwa% pwd
/Users/donaldwakefield/Desktop
[megumi:~/Desktop] donaldwa% ls -l
total 22448
-rw-r--r-- 1 donaldwa staff 102 31 Jan 08:53 214.ram
drwxr-xr-x 4 donaldwa staff 136 21 Jun 2003 binaries_for_ffmpegX
-rw-r--r-- 1 donaldwa staff 9208393 22 Jun 2003 ffmpegxbinaries.sit
[megumi:~/Desktop] donaldwa% mplayer -playlist 214.ram -ao pcm -aofile file.wav -vc dummy -vo null
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer dev-CVS-030316-14:10-3.1 (C) 2000-2003 Arpad Gereoffy (see DOCS)

AltiVec found
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /Users/donaldwakefield/.mplayer/config
Reading /Users/donaldwakefield/.mplayer/codecs.conf: can't open '/Users/donaldwakefield/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
font: can't open file: /Users/donaldwakefield/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using usleep() timing
Can't open input config file /Users/donaldwakefield/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config

Playing rtsp://a1646.v18541.c1854.g.vr.akamaistream.net/ondemand/7/1646/1854/1104576338/www.wbez.org/ta/214.rm
Connected to server: a1646.v18541.c1854.g.vr.akamaistream.net
Stream not seekable!
Failed to initiate "audio/X-PN-REALAUDIO" RTP subsession: RTP payload format unknown or not supported
No stream found.


Exiting... (End of file)
</code>

The stream is playable by RealPlayer (I checked right after the above run).

I'll try deleting the symbolic link and doing a Unix 'cp -R' of the bundles into a genuine /Library/Application Support/ffmpegx/reallib/ directory this evening.

Thanks for all the help.



[ Reply to This | # ]
Convert Real Audio files to MP3s
Authored by: bedouin on Feb 02, '05 01:30:14PM

You downloaded, possibly, the oldest binary. Get ffmpegXbinaries1115.zip.



[ Reply to This | # ]
Convert Real Audio files to MP3s
Authored by: ThePhin on Feb 02, '05 11:26:57PM

That did it. Thanks for your patience.



[ Reply to This | # ]
Convert Real Audio files to MP3s
Authored by: morey on Mar 15, '05 02:00:56AM

Hi

I ran into the same problems than ThePhin, plus this one:

[PowerMacG4:~/Desktop] morey% mplayer HowToStudyTheBible.rm -ao pcm -aofile HowToStudyTheBible.rm.wav -vc dummy -vo null
dyld: mplayer version mismatch for library: /usr/lib/libiconv.2.dylib (compatibility version of user: 5.0.0 greater than library's version: 3.0.0)
Trace/BPT trap

Thank you for your help



[ Reply to This | # ]
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://a754.v5559f.c5559.g.vr.akamaistream.net/ondemand/7/754/5559/v001/mpr.download.akamai.com/5559/phc/031101/031101_phc.rm?start=00:00:47:40.0&end=00:01:18:56.0.
STREAM_RTSP, URL: rtsp://a754.v5559f.c5559.g.vr.akamaistream.net/ondemand/7/754/5559/v001/mpr.download.akamai.com/5559/phc/031101/031101_phc.rm?start=00:00:47:40.0&end=00:01:18:56.0
Resolving a754.v5559f.c5559.g.vr.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a754.v5559f.c5559.g.vr.akamaistream.net
Resolving a754.v5559f.c5559.g.vr.akamaistream.net for AF_INET...
Connecting to server a754.v5559f.c5559.g.vr.akamaistream.net[209.170.95.71]: 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,
031101_phc.rm?start=00:00:47:40.0&end=00:01:18:56.0.
I believe that's the part that's messing up. Anyone have any words of wisdom for me? Thanks in advance.

[ Reply to This | # ]