Page 1 of 1

How to playback rtmp stream with parameters like "swfUrl"

Posted: 08 Oct 2013 20:22
by shit386
version:VLC 2.1.0

First of all, thanks for adding RTMP support.
It would be great if we could set additional parameters (e.g. in the "Edit Options" field in the Open dialog) because some servers require them and refuse to serve the stream without them. In rtmpdump, those parameters are: token, pageUrl, swfUrl, swfsize, swfhash.

How to playback rtmp stream with param like "swfUrl" and "pageUrl" "live=1" ... ?

vlc rtmp://10.12.34.56/ --avio-options "{rtmp_swfurl=http://path/to/the.swf}" not working.

vlc rtmp://xxx.xxx.xxx/xxx&swfvfy=http://www.xxx.com/xxx.swf&live=1 not working.


how to make it work?

Re: How to playback rtmp stream with parameters like "swfUrl

Posted: 08 Oct 2013 23:35
by Jean-Baptiste Kempf
Use :avio-options to have it per item.

Re: How to playback rtmp stream with parameters like "swfUrl

Posted: 09 Oct 2013 13:36
by shit386
Use :avio-options will cause Runtime error!

Re: How to playback rtmp stream with parameters like "swfUrl

Posted: 12 Nov 2014 22:42
by ricgonaga
I have some streams which needs additional parameters to be reproduced. I have tested all of them with Simple TV and everything works fine. When i try to reproduce the same streams using vlc and :avio-options switch ... nothing happens, and a subsequent error message appears informing that vlc cannot reproduce the stream. I'd like to know also if vlc webplayer can reproduce rtmp streams like this one :

This is the standard url SimpleTV Format:
rtmp://$OPT:rtmp-raw=rtmp://109.200.202.124/live playpath=natgeo swfUrl=http://www.tv-msn.com/player5.swf pageUrl=http://www.tv-msn.com/natgeo.html


And this is what i have tried to use with vlc:
rtmp://109.200.202.124/live :avio-options "{rtmp_swfurl=http://www.tv-msn.com/player5.swf,rtmp_ ... _live=live}"


Please if anyone have a correct url schema post here :-)