How to playback rtmp stream with parameters like "swfUrl"

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
shit386
New Cone
New Cone
Posts: 6
Joined: 24 Jun 2013 12:23

How to playback rtmp stream with parameters like "swfUrl"

Postby shit386 » 08 Oct 2013 20:22

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 08 Oct 2013 23:35

Use :avio-options to have it per item.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shit386
New Cone
New Cone
Posts: 6
Joined: 24 Jun 2013 12:23

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

Postby shit386 » 09 Oct 2013 13:36

Use :avio-options will cause Runtime error!

ricgonaga
New Cone
New Cone
Posts: 1
Joined: 12 Nov 2014 22:29

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

Postby ricgonaga » 12 Nov 2014 22:42

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 :-)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 87 guests