I'm trying to use rtmpsrv to get the rtmpdump command to view live video at firstrowsports.eu using mplayer instead of the browser. It seems that rtmpsrv is having problems detecting the proper command. Here is my workflow and the error that results. Any suggestions?
Code:
$ sudo iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT
$ sudo rtmpsrv
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
rtmpdump -r "rtmp://stream.castamp.com:1935/amp" -a "amp" -f "LNX 11,2,202,233" -W "http://bitcast-r.v1.sjc1.bitgravity.com/malar/Players/player.swf" -p "http://castamp.com/embed.php?c=osihtodep25ch2&vwidth=640&vheight=440&domain=www.firstrowsports.eu" -y "osihtodep25ch2" -o osihtodep25ch2.flv
Closing connection... done!
$ sudo iptables -t nat -D OUTPUT -p tcp --dport 1935 -j REDIRECT
$ rtmpdump -r "rtmp://stream.castamp.com:1935/amp" -a "amp" -f "LNX 11,2,202,233" -W "http://bitcast-r.v1.sjc1.bitgravity.com/malar/Players/player.swf" -p "http://castamp.com/embed.php?c=osihtodep25ch2&vwidth=640&vheight=440&domain=www.firstrowsports.eu" -y "osihtodep25ch2" -v | mplayer -
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
MPlayer SVN-r34731-4.5.2 (C) 2000-2012 MPlayer Team
Playing -.
Reading from stdin...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
libavformat version 54.1.100 (internal)
Exiting... (End of file)