Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
compctech
Visitor

Stream from VLC Player

I am trying to stream from VLC Player (Capture Device) to the Roku box. It there any thing that I need to set on the VLC HTTP streaming to have It pickup on the player. I may using the customerplayer in the SDK to test it out and keep receiving "9,-3: An unexpected problem (but not server timeout or HTTP error) has been detected."

Thanks
Sam L.
0 Kudos
8 REPLIES 8
kbenson
Visitor

Re: Stream from VLC Player

What format is VLC outputting in? The Roku supports a specific set of formats. Look at section 3.1 of the Developer Guide document in the SDK. It lists the supported formats. I believe there have been reports in the forums that some other combinations can work based on what the hardware actually supports, but I haven't done anything with that and am unsure whether it is theoretical but requires changes from Roku or if you can get it to work.
-- GandK Labs
Check out Reversi! in the channel store!
0 Kudos
compctech
Visitor

Re: Stream from VLC Player

I am streaming with the profile "Video - H.264 + AAC (MP4)".

Here is the generated stream output string using the VLC GUI:

:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:http{dst=:8080/test.mp4} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
0 Kudos
dradon
Visitor

Re: Stream from VLC Player

I don't think the Roku box supports VLC's http streaming - you'll have to use HLS via the new livehttp VLC module. I think you'll have to install a nightly build to get it.

The last time I messed with it my params looked like this:
--sout '#transcode{vcodec=x264,venc=x264,width=624,height=352,fps=23.97,acodec=aac,ab=128,channels=2,samplerate=48000,threads=3}:standard{access=livehttp{seglen=10,delsegs=true,numsegs=10,index=/var/www/mystream.m3u8,index-url=http://machinename/mystream-########.ts},mux=ts,dst=/var/www/mystream-########.ts}}'
0 Kudos
compctech
Visitor

Re: Stream from VLC Player

OK, With the code you listed, do I need to recompile VLC or can I just use somthing else like apache?

Also where can I find the nightly builds. I am now willing to try it in windows just to see if it works.(Currently using Gentoo) I just got the update to 1.1.2. Will it be in there?
0 Kudos
compctech
Visitor

Re: Stream from VLC Player

OK just realized that it is calling the livehttp module. Anyone know where I can get a nightly build (Linux or Windows)?
When I do get the nightly build install do I need a web server or will VLC use the built-in one?

Sam L.
0 Kudos
compctech
Visitor

Re: Stream from VLC Player

Got it semi-working. It will stream if it is in the first 10 segments of the stream. After that if I try to connect is will give me a blank screen with audio. Any one know what may be causing this?
0 Kudos
renojim
Community Streaming Expert

Re: Stream from VLC Player

Are you using the built-in vlc server? If so, what command line are you using? I've only used vlc in combination with another server.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
compctech
Visitor

Re: Stream from VLC Player

I have only got it working with apache.
0 Kudos