[MPlayer-users] realaudio LIVE stream capture (RTSP or PNM)

nicolas.baly at epfl.ch nicolas.baly at epfl.ch
Tue Oct 18 19:51:01 CEST 2005


Hi!

I recently posted for "RTSP/MMS live stream capture".
My question is now more precise: it concerns only realaudio LIVE (radio) stream
capture (through PNM or RTSP protocol).

Using this command: mplayer -identify -fps 0 -ao null -vo null <RTSP/PNM URL>
I can get information about streams and play them virtually:
A:  10.0 (09.9)  0.9% 19%  (radio: audio stream)

This works for RTSP real media LIVE streams:
rtsp://livestreams.omroep.nl/live/vpro/vpro3voor12radiocentral.rm
rtsp://livestreams.omroep.nl/broadcast/rnw1.rm
rtsp://82.94.242.21:554/broadcast/radio.rm

but not for PNM real media LIVE streams:
pnm://82.148.204.181/encoder/live.rm
which returns 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)

Now, when I try to capture any of these LIVE streams, using:
mplayer -v -dumpstream -dumpfile stream <RTSP/PNM URL>
and interrupting (ctrl-c) the capture after 1 minute,
I get the radio LIVE stream (.rm) without sound!
The file is about 1MB, but length is null (0:00)!!

My questions:
How can I capture these streams?
Is there a way to modify the length?
What can I do with the PNM error message?
Is there a better way to interrupt capture?

Nico

ps. I do have all codecs and these URLs are radio LIVE streams (no metafiles).




More information about the MPlayer-users mailing list