[MPlayer-users] Re: RTSP/PNM realaudio LIVE stream capture

Bryan Alton balton at eircom.net
Wed Oct 19 21:10:12 CEST 2005


nicolas.baly at epfl.ch wrote:

>> What do you use to play the captured file back ? Mplayer or RealPlayer ?
>>
>> Captured RTSP live stream will not play back through Realplayer because
>> of the timestamp in the stream packets does not start at zero. They
>> usually playback through Mplayer.
>>
>> From: Bryan Alton <balton at eircom.net>
>>
> 
> That's exactly what I've noticed, thank you to confirm it!!
> 
>> > rtsp://livestreams.omroep.nl/live/vpro/vpro3voor12radiocentral.rm
>> > rtsp://livestreams.omroep.nl/broadcast/rnw1.rm
>> > rtsp://82.94.242.21:554/broadcast/radio.rm
>>
>> All these work ok here. I capture using mplayer -dumpstream -dumpfile xxx
>> and play then using mplayer. I have dev-CVS-051015-22:00-3.3.3.
>> realplayer 10 can't play it, but who cares...
>>
>> From: Tom?? Janou?ek <tomi at nomi.cz>
>>
> 
> Ok, but is there still a way to make them play on RealPlayer?

In tracking down a problem with Mplayer I wrote a small utility to process
the timestamps in a MPlayer rm file and make it playable on RealPlayer - but
it still required some bit fondling of the RMF header with a hex editor as
Mplayer doesn't do a good job (e.g. duration is zero).  If you up to it
I'll provide some help.

Otherwise I'd advise recording in a different format such as WAV - or pipe
output through LAME for MP3
> 
> By the way, I still can't capture this realaudio PNM LIVE stream:
> pnm://82.148.204.181/encoder/live.rm
> 
> I get this error message:
> 
> Playing pnm://82.148.204.181/encoder/live.rm.
> Connecting to server 82.148.204.181[82.148.204.181]:7070 ...
> PNM:// fd=3
> Cache size set to 64 KBytes
> Connected to server: 82.148.204.181
> Cache fill:  0.00% (0 bytes)
> input_pnm: got message from server while reading stream:
> You need to obtain a new player to play this clip. Please point your web
> browser to http://www.real.com and download the latest RealPlayer from
> RealNetworks. Once you have installed it you should try this clip again.
> Cache fill:  0.00% (0 bytes)
> Exiting... (End of file)
When going through Mplayer I think I came across a note saying PNM
development was effectively stopped when they started using the genuine
RealAudio libraries.  What is the origin of this URL - perhaps there is
another way to tackle it.

> 
> Thanks!
> 
> Nico





More information about the MPlayer-users mailing list