[MPlayer-users] Playing Streaming (rtsp) media behind a http proxy

Hari Krishna man.stupendous at gmail.com
Tue Jun 6 09:51:19 CEST 2006


Hi,

Yesterday I downloaded and compiled mplayer with live555.com libraries to
handle the real media ( both streaming and on-disk media ) as per
instructions on : http://www.live555.com/mplayer/ . The compilation went on
successfully.

However when i try to play a streaming file via rtsp , mplayer times out.
The reason is that my m/c in behind a proxy ( http proxy :
http://<address>:3128 ) and while though for those links which are
accessible thru http ( http://.../test.mp3 ), mplayer uses the proxy to play
the file, for rtsp://.../test.rm it does not go via the http proxy. I have
tried the RealPlayer 10 on Windows ( on vmware ), it has support for using
the http proxy for playing rtsp streams ( i was able to play the stream
using RealPlayer using this setting). Is there any way to make mplayer to
use the http proxy to play rtsp streams ?

mplayer plays this file correctly (coz it is http url):
------------------------------
----------------------------------------------------------------------------------------------------------------------
$ mplayer http://pdl.warnerbros.com/wbol/us/whv/med/matrix/collection/ultimate_matrix_collection_sizzle_tlr_100.rm


MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Playing http://pdl.warnerbros.com/wbol/us/whv/med/matrix/collection/ultimate_matrix_collection_sizzle_tlr_100.rm
.
Resolving *proxy* for AF_INET6...
Couldn't resolve name for AF_INET6: *proxy*
Connecting to server *proxy*[*proxy*]:3128 ...
Cache size set to 320 KBytes
Connected to server: pdl.warnerbros.com
Cache fill: 17.50% (57344 bytes)    REAL file format detected.
----------------------------------------------------------------------------------------------------------------------------------------------------

but for the rtsp stream just hangs after some time ( while RealPlayer plays
it ) :

----------------------------------------------------------------------------------------------------------------------------------------------------
$ mplayer rtsp://real.nasa-global.speedera.net/real.nasa-global/ascan_2004/hq_050604_spacedays.rm

MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Playing rtsp://real.nasa-global.speedera.net/real.nasa-global/ascan_2004/hq_050604_spacedays.rm
.
Resolving real.nasa-global.speedera.net for AF_INET6...
Couldn't resolve name for AF_INET6: real.nasa-global.speedera.net
Resolving real.nasa-global.speedera.net for AF_INET...
Connecting to server real.nasa-global.speedera.net[80.15.238.133]:554 ...
Connection timeout
Resolving real.nasa-global.speedera.net for AF_INET6...
Couldn't resolve name for AF_INET6: real.nasa-global.speedera.net
Resolving real.nasa-global.speedera.net for AF_INET...
Connecting to server real.nasa-global.speedera.net[80.15.238.133]:7070 ...
Connection timeout
Not a Realmedia rtsp url. Trying standard rtsp protocol.
Connected to server: real.nasa-global.speedera.net
Stream not seekable!
----------------------------------------------------------------------------------------------------------------------------------------------------

Sorry for the really long mail . Any pointers would be greatly appreciated.
I just don't want to start off vmware and windows every time i want to view
a streaming clip.

Thanks.



More information about the MPlayer-users mailing list