[FFmpeg-user] FFmpeg and RTMPGW connection

Dan Turner danturner81 at hotmail.com
Wed Jan 23 20:54:25 CET 2013








Hi Chaps,


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.

Does anyone know why ffmpeg won't connect, but VLC and mplayer will? This relates also to Vitamio, which I am trying to use on Android and know is basically a port of ffmpeg.


Thanks for any help



Dan



 		 	   		   		 	   		  


More information about the ffmpeg-user mailing list