UDP Multicast to HTTP Live Stream

This forum is about all development around libVLC.
Fhajad
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Oct 2012 18:45

UDP Multicast to HTTP Live Stream

Postby Fhajad » 16 Feb 2013 00:02

So I had success per the wiki with taking a local static file and streaming it out to HTTP Live Stream format. The command I used for this is:

Code: Select all

vlc -I dummy /home/cgross/testfile.mpg vlc://quit --sout='#transcode{width=720,height=440,fps=29.94,vcodec=h264,vb=256,venc=x264{aud,profile=baseline,level=30,keyint=30,ref=1},acodec=mp3,ab=96}:std{access=livehttp{seglen=10,delsegs=true,numsegs=5,index=/var/www/streaming/mystream.m3u8,index-url=http://208.88.248.38/streaming/mystream-########.ts},mux=ts{use-key-frames},dst=/var/www/streaming/mystream-########.ts}'
It appears to work fine. Once I take that same thing though and replace the /home/cgross/testfile.mpg with "udp://@239.192.3.45:2001" I get this: http://pastebin.com/index/5uYpn28C

Not sure what exactly is not allowing it to work with pulling, maybe my syntax is wrong?

Fhajad
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Oct 2012 18:45

Re: UDP Multicast to HTTP Live Stream

Postby Fhajad » 16 Feb 2013 01:40

It appears even if I just try to join the stream it's just sitting on "Starting pre-buffering" and wont ever stop when I just do:

Code: Select all

vlc -vvv udp://@239.192.3.45:2001
I know what I'm trying to do is possible, but it's just not playing nice.

Fhajad
Blank Cone
Blank Cone
Posts: 13
Joined: 27 Oct 2012 18:45

Re: UDP Multicast to HTTP Live Stream

Postby Fhajad » 17 Feb 2013 04:22

Friendly bump.

I think what I'm getting wrong possibly is the command line syntax for pulling in a udp stream but I don't know 100% if that's the case. The documentation for this example set is kinda missing.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests