[MPlayer-users] Trying to use -rtsp-stream-over-tcp

Steve utnsteve at gmail.com
Mon Sep 12 18:11:50 CEST 2011


Hi All,

Found a better way to make it work.  Used the magical "-rtsp-port" to always
stream to a specific UDP Port that I can then leave open through firewall.

Firewall Ports Needed to Open:
- UDP Port 30000 (use option "-rtsp-port 30000" to force MPlayer to always
use this port)
- UDP Port 15947 (no idea why)

This was for a Panasonic IP Camera RTSP Stream through a firewall, in case
anyone is in the same boat.
Example:
mplayer rtsp://192.168.1.200/nphMpeg4/nil-640x480 -user user -passwd
password -cache 8192 -fps 30 -rtsp-port 30000

Cheers,
Steve

On Mon, Sep 12, 2011 at 8:31 PM, Steve <utnsteve at gmail.com> wrote:

> Hi All,
>
> I'm doing some tests to be able to stream RTSP through my firewall.
>
> Right now, my firewall is Off.
>
> The typical command works "mplayer rtsp://
> 192.168.1.200/nphMpeg4/nil-640x480 -user user -passwd password -cache 8192
> -fps 30"
>
> But, if I try to add the option "-rtsp -stream-over-tcp" to the above, the
> stream does not play and I get  this:
>
> =================================================
> MPlayer dev-SVN-r33996-4.5-openSUSE Linux 11.4 (i686)-Packman (C)
> 2000-2011 MPlayer Team
>
> Playing rtsp://192.168.1.200/nphMpeg4/nil-640x480.
> Resolving 192.168.1.200 for AF_INET6...
>
> Couldn't resolve name for AF_INET6: 192.168.1.200
> Connecting to server 192.168.1.200[192.168.1.200]: 554...
>
> librtsp: server responds: 'RTSP/1.0 400 Bad Request'
> STREAM_LIVE555, URL: rtsp://192.168.1.200/nphMpeg4/nil-640x480
> This stream is non-cacheable
>
> Stream not seekable!
>  file format detected.
> Initiated "video/MP4V-ES" RTP subsession on port 33238
>
> Exiting... (End of file)
> ========================================
>
> I don't quite understand, since the firewall is Off, why would streaming
> over tcp option not work?
> All ports opened... What could be causing this?
>
> Any suggestions?
>
> Cheers,
> Steve
>


More information about the MPlayer-users mailing list