Hi All, I am trying to use RTMPGW for a project and have a question regarding connection. When I connect to RTMPGW with an HTTP GET request using VLC or MPlayer like so: mplayer "http://localhost:8902/?r=rtmp://live.dtv.cubecdn.net:80/kdmobil/KanalD1&W=http://www.kanald.com.tr/Content/swf/Canliplayer6.swf?config=/Content/swf/Config.xml%26debug=false&p=http://www.kanald.com.tr" ...with RTMPGW set as so: rtmpgw --sport 8902 ...it works a treat, and RTMPGW's terminal output is: Streaming on http://0.0.0.0:8902 Connecting ... port: 80, app: kdmobil/KanalD1 388.507 KB / 48853.38 sec Lovely! However, when I try to do the same thing with ffmpeg/ffplay like this: ffplay -i "http://localhost:8902/?r=rtmp://live.dtv.cubecdn.net:80/kdmobil/KanalD1&W=http://www.kanald.com.tr/Content/swf/Canliplayer6.swf?config=/Content/swf/Config.xml%26debug=false&p=http://www.kanald.com.tr" I just get "HTTP error 416 Requested Range Not Satisfiable" from ffplay and "processTCPrequest, Range request not supported" from RTMPGW. Do you have any idea why ffmpeg won't connect, but VLC and mplayer will? Thanks for any help Dan
For what it's worth, I found the answer. If you set ffmpeg with a -seekable 0 setting, it'll work. Sent from my iPhone On 2 Feb 2013, at 13:49, "Dan Turner" <danturner81@hotmail.com> wrote:
Hi All,
I am trying to use RTMPGW for a project and have a question regarding connection. When I connect to RTMPGW with an HTTP GET request using VLC or MPlayer like so:
...with RTMPGW set as so:
rtmpgw --sport 8902
...it works a treat, and RTMPGW's terminal output is:
Streaming on http://0.0.0.0:8902 Connecting ... port: 80, app: kdmobil/KanalD1 388.507 KB / 48853.38 sec
Lovely! However, when I try to do the same thing with ffmpeg/ffplay like this:
I just get "HTTP error 416 Requested Range Not Satisfiable" from ffplay and "processTCPrequest, Range request not supported" from RTMPGW.
Do you have any idea why ffmpeg won't connect, but VLC and mplayer will?
Thanks for any help
Dan _______________________________________________ rtmpdump mailing list rtmpdump@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
_______________________________________________ rtmpdump mailing list rtmpdump@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
participants (1)
-
Dan Turner