[Live-devel] Cannot play an RTSP stream
Ross Finlayson
finlayson at live555.com
Fri Apr 27 12:42:21 PDT 2007
>I downloaded live55MediaServer from live555.com and ran it on my
>linux system. I downloaded live source code and built it according
>to steps given in
><http://www.live555.com/liveMedia/#config-unix>http://www.live555.com/liveMedia/#config-unix
>
>I downloaded Mplayer and built it.
>
>When i try to play an rtsp file, i get an error: Here is the complete log:
>
>[root at pclin518 bin]# ./mplayer rtsp://10.232.67.150:8554/dvb_sub.mpeg
>MPlayer 1.0rc1-4.1.0 (C) 2000-2006 MPlayer Team
>CPU: Intel(R) Xeon(R) CPU 5150 @ 2.66GHz (Family: 6,
>Model: 15, Step
>ping: 6)
>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://10.232.67.150:8554/dvb_sub.mpeg.
>Resolving 10.232.67.150 for AF_INET6...
>Couldn't resolve name for AF_INET6: 10.232.67.150
>Connecting to server 10.232.67.150[10.232.67.150]: 8554...
>connect error: Connection refused
>Resolving 10.232.67.150 for AF_INET6...
>Couldn't resolve name for AF_INET6: 10.232.67.150
>Connecting to server 10.232.67.150[10.232.67.150]: 8554...
>connect error: Connection refused
>File not found: '10.232.67.150:8554/dvb_sub.mpeg'
>Failed to open rtsp://10.232.67.150:8554/dvb_sub.mpeg.
>
>
>Exiting... (End of file)
>
>Am I doing something wrong?
First, for "live555MediaServer" to be able to stream your file, its
name cannot end with ".mpeg". If your file is a MPEG Program Stream
file, then it's name must end with ".mpg" (not ".mpeg"). However, if
(as seems likely from the name "dvb_sub") it is actually a MPEG
*Transport* Stream file, then you must rename it to "dvb_sub.ts",
before you will be able to stream it.
Second, the "connection refused" error means that either
- 10.232.67.150 is not the real IP address of the server
(that is running "live555MediaServer"). (Perhaps you have a NAT box
in the middle??), or
- You are not actually running "live555MediaServer" on your
server machine.
Also, I recommend using VLC as your media player client rather than MPlayer.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070427/690d0606/attachment.html
More information about the live-devel
mailing list