Needs RTMP support

Feature requests for VLC.
Videogamer555
Blank Cone
Blank Cone
Posts: 66
Joined: 07 Feb 2012 01:14

Needs RTMP support

Postby Videogamer555 » 07 Feb 2012 01:26

Hopefully for both input and output, but for now it should be at least input. I found some RTMP streams and I'd like to be able to save via this simple process that currently works for all other stream types:
CTRL+R to get the save and convert menu, select network tab for the source type and put in the URL RTMP://someaddress and then on the output method I'll dump raw input as the output method and then save as test.flv as the file name.

Then just press the save/convert button and it will dump the raw stream into an FLV file.


This works currently for NON-RTMP stream protocols (MMS, MMSH, HTTP, RTSP, etc) but VLC doesn't support RTMP. Why not? It really should be added.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Needs RTMP support

Postby VLC_help » 07 Feb 2012 16:27


Videogamer555
Blank Cone
Blank Cone
Posts: 66
Joined: 07 Feb 2012 01:14

Re: Needs RTMP support

Postby Videogamer555 » 08 Feb 2012 08:28

That looks like it needs 2 things:
1 Linux
2 A compiler, (Meaning the binaries aren't compiled and downloadable yet).

I have neither linux nor any compiler nor skills at compiling C code.


I have Windows. How do I get a precompiled binary of VLC 2.1 for Windows?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Needs RTMP support

Postby Sébastien Escudier » 08 Feb 2012 08:33


Videogamer555
Blank Cone
Blank Cone
Posts: 66
Joined: 07 Feb 2012 01:14

Re: Needs RTMP support

Postby Videogamer555 » 13 Feb 2012 23:14

When is the official stable release of VLC 2.x going to be?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Needs RTMP support

Postby Sébastien Escudier » 14 Feb 2012 08:40

soon

Grez
New Cone
New Cone
Posts: 1
Joined: 31 Mar 2012 19:49

Re: Needs RTMP support

Postby Grez » 31 Mar 2012 19:56

It seems that the latest build does not include RTMP-support. At least if I try using it on Win64 build of VLC 2.1.0-git-20120331-0403, it just says can't open source. Has the RTMP support been dropped, or is it just an user error?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Needs RTMP support

Postby VLC_help » 01 Apr 2012 10:55

Tools -> Messages (set Verbosity to 2) might reveal more.

pepemanolo
New Cone
New Cone
Posts: 2
Joined: 13 Apr 2012 20:13

Re: Needs RTMP support

Postby pepemanolo » 13 Apr 2012 22:49

Any recent news Regarding 2.1 release which would support RTMP output.

I am not familiar how your releases are performed, but my concern is if the VLC GUI would also provide support for the RTMP output once VLC engine does.

Thanks in advance

luky37
New Cone
New Cone
Posts: 8
Joined: 03 Aug 2011 18:19

Re: Needs RTMP support

Postby luky37 » 12 Nov 2012 01:28

So the VLC nightlies are reading RTMP stream correctly, with

Code: Select all

vlc rtmp://<rtmp-url>

I'm currently looking into RTMP output ... I tried things like

Code: Select all

vlc input_stream --sout "#standard{access=rtmp,dst=10.0.0.3/}"
and

Code: Select all

vlc input_stream --sout "#standard{access=rtmp,mux=flv,dst=10.0.0.3/}"
but it doesn't seem to work.

Instead, there doesn't seem to be a suitable mux module, or at least I can't find it.

Code: Select all

main debug: using sout chain=`standard{access=rtmp,dst=10.0.0.3/}' main debug: stream=`standard' main debug: looking for sout stream module matching "standard": 20 candidates main debug: set config option: sout-standard-access to rtmp main debug: set config option: sout-standard-dst to 10.0.0.3/ stream_out_standard error: no mux specified or found by extension
Any heads up on this would be appreciated.

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: Needs RTMP support

Postby Jean-Baptiste Kempf » 12 Nov 2012 11:55

What happens in the second case?
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.

luky37
New Cone
New Cone
Posts: 8
Joined: 03 Aug 2011 18:19

Re: Needs RTMP support

Postby luky37 » 12 Nov 2012 18:51

The second case ("#standard{access=rtmp,mux=flv,dst=10.0.0.3/}"), leads to:

Code: Select all

qt4 debug: Using a general info windows avcodec error: Failed to open rtmp://10.0.0.3/ main debug: no sout access modules matched stream_out_standard error: no suitable sout access module for `rtmp/flv://rtmp://10.0.0.3/' main debug: no sout stream modules matched main debug: destroying chain... (name=(null)) main debug: destroying chain done main error: stream chain failed for `standard{access=rtmp,mux=flv,dst=rtmp://10.0.0.3/}' main error: cannot start stream output instance, aborting main debug: finished input main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input
Release is 2.1.0-git-20121111-0002 btw.

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: Needs RTMP support

Postby Jean-Baptiste Kempf » 12 Nov 2012 23:50

Try access=avio
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.

luky37
New Cone
New Cone
Posts: 8
Joined: 03 Aug 2011 18:19

Re: Needs RTMP support

Postby luky37 » 13 Nov 2012 01:43

"#standard{access=avio,mux=flv,dst=10.0.0.3/}"

Code: Select all

main debug: using sout chain=`standard{access=avio,mux=flv,dst=10.0.0.3/}' main debug: stream=`standard' main debug: looking for sout stream module matching "standard": 20 candidates main debug: set config option: sout-standard-access to avio main debug: set config option: sout-standard-mux to flv main debug: set config option: sout-standard-dst to 10.0.0.3/ main debug: looking for sout access module matching "avio": 8 candidates avcodec error: Failed to open 10.0.0.3/ main debug: no sout access modules matched stream_out_standard error: no suitable sout access module for `avio/flv://10.0.0.3/' main debug: no sout stream modules matched main debug: destroying chain... (name=(null)) main debug: destroying chain done main error: stream chain failed for `standard{access=avio,mux=flv,dst=10.0.0.3/}' main error: cannot start stream output instance, aborting main debug: finished input main debug: dead input

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: Needs RTMP support

Postby Jean-Baptiste Kempf » 13 Nov 2012 10:39

We need to play with avio options
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.

luky37
New Cone
New Cone
Posts: 8
Joined: 03 Aug 2011 18:19

Re: Needs RTMP support

Postby luky37 » 13 Nov 2012 23:52

I tried standard{access=avio,mux=flv,dst=10.0.0.3/}, still nothing:

Code: Select all

main debug: using sout chain=`standard{access=avio,mux=flv,dst=10.0.0.3/}' main debug: stream=`standard' main debug: looking for sout stream module matching "standard": 20 candidates main debug: set config option: sout-standard-access to avio main debug: set config option: sout-standard-mux to flv main debug: set config option: sout-standard-dst to 10.0.0.3/ main debug: looking for sout access module matching "avio": 8 candidates avcodec error: Failed to open 10.0.0.3/ main debug: no sout access modules matched stream_out_standard error: no suitable sout access module for `avio/flv://10.0.0.3/' main debug: no sout stream modules matched main debug: destroying chain... (name=(null)) main debug: destroying chain done main error: stream chain failed for `standard{access=avio,mux=flv,dst=10.0.0.3/}' main error: cannot start stream output instance, aborting main debug: finished input main debug: dead input
I'm not sure what else I can try...

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: Needs RTMP support

Postby Jean-Baptiste Kempf » 14 Nov 2012 00:39

--sout-avio-options, but this is hard to do.
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.

luky37
New Cone
New Cone
Posts: 8
Joined: 03 Aug 2011 18:19

Re: Needs RTMP support

Postby luky37 » 14 Nov 2012 01:27

I was looking in the vlc-devel archive for hints on how to do this.

What I found is:
  • there was a patch posted back in October 2011, for output RTMP streams via "#standard{access=avio,mux=ffmpeg{mux=flv},dst=rtmp:/hostname/path}", but it doesn't seem like this has been accepted [1]
  • In June this year, you removed the "RTMP access module" (use libavformat avio instead) [2], which was commented on vlc-devel [3]:
    This breaks the RTMP access output module, which uses these files.
Now I really don't understand the details here (what module is called by what exact CLI arguments and what module/lib replaces older code) ... but could this commit have anything to do with this problem?

Anyway, I also tested with vlc-2.1.0-git-20120625-1650, and it does not work either (but that result may not be accurate since I don't know what to specify as argument).

It does seem RTMP output is simply not implemented yet (other than the patch in October 2011 there was not much talk about RTMP output on vlc-devel).



[1] http://mailman.videolan.org/pipermail/v ... 81858.html
[2] http://git.videolan.org/gitweb.cgi/vlc. ... c3c7c859cd
[3] http://mailman.videolan.org/pipermail/v ... 89057.html

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: Needs RTMP support

Postby Jean-Baptiste Kempf » 14 Nov 2012 08:23

It does seem RTMP output is simply not implemented yet (other than the patch in October 2011 there was not much talk about RTMP output on vlc-devel).
AVIO output is implemented, and it supports RTMP. Passing options might be quite difficult though, as I told you.
It might involve reading the code of both VLC avio and libavformat.
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.

luky37
New Cone
New Cone
Posts: 8
Joined: 03 Aug 2011 18:19

Re: Needs RTMP support

Postby luky37 » 14 Nov 2012 08:31

Ok, I see what I can do, thanks.

lucidbar
New Cone
New Cone
Posts: 1
Joined: 26 Sep 2013 01:10

Re: Needs RTMP support

Postby lucidbar » 26 Sep 2013 01:30

were you ever successful in getting this RTMP stream to play in VLC?

i am trying to play an RTMP stream using VLC 2.1.x but i am unsure of how to include/format the playpath and swfURL in to the link fed to VLC.

the stream plays fine in rtmpdump as below but i want to stream it directly in VLC without rtmpdump.

rtmpdump -r "rtmp://141.8.244.56/base" -s "http://141.8.244.56/player/player.swf live=1" -p "http://sportsembed.com/embed.php?v=aj2& ... mikusa1111" -y "skynews.stream" -T "%X786(nPK@#." --live -o "C:\SkySportsNews.flv"

Videogamer555
Blank Cone
Blank Cone
Posts: 66
Joined: 07 Feb 2012 01:14

Re: Needs RTMP support

Postby Videogamer555 » 26 Sep 2013 11:32

Any recent news Regarding 2.1 release which would support RTMP output.

I am not familiar how your releases are performed, but my concern is if the VLC GUI would also provide support for the RTMP output once VLC engine does.

Thanks in advance
Your claim is that 2.1 will have RTMP support. RTMP 2.1.0 is finally released. It doesn't seem to support RTMP though. What happened? Did Adobe demand you stop supporting their protocol under threat of a lawsuit or something? So you had to remove it?

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: Needs RTMP support

Postby Jean-Baptiste Kempf » 27 Sep 2013 01:36

Of course, it does support it. The options are different names though...
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.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 11 guests