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: 
pbnj
Roku Guru

anyone out there got VLC --sout settings that work?

yeah. like most of us, I am not extremely experienced with this, but I have been fighting vlc all weekend and no luck. Please note, I am not whining or asking roku for support, but looking to see if someone else has already solved this.

And before you say anything, yes, this is too on a windows machine.

Here are the two options that I have tried and failed.
(actually have tried many more, but didn't record them all, these seemed the most likely to work). I have tried both of these with both the streams and the flatfile with a working httpd that supports byte-range. Additionallly, both produce streams/file that are readable by other players.

Attempt1: asf/WMA. Seems to try to read the file, Hangs with no debuging info. I think it fails because vlc is not very wmv9 happy.
--sout #duplicate{dst=display,dst='transcode{vcodec=WMV2,fps=6,acodec=wma2,channels=2,width=720,height=480,vb=1024,ab=128,qp=4}:duplicate{dst=standard{access=file,mux=asf,dst=C:\\vids\\file%Y%m%d%H%M%S.wmv},dst=standard{access=http,mux=asf,dst=:2700/live.asf}'

Attempt 2 (below) for mp4 file, tries to load the file (can see that in httpd logs) but almost immediately pukes.


--sout #duplicate{dst=display,dst='transcode{venc=x264,vcodec=m4a,fps=6,acodec=m4a,channels=2,width=720,height=480,vb=1024,ab=128,qp=4}:duplicate{dst=standard{access=file,mux=mp4,dst=C:\\vids\\file%Y%m%d%H%M%S.mp4},dst=standard{access=http,mux=mp4,dst=:2701/live.mp4}'

This one I can annotate and also say that
mux=ts fails, ps shouldn't even be tried
vcodec=avcodec fails
fps=24 fails

I am not quite sure about acodec options (seems not well doc'd in vlc pages).

anyway, I'd love to hear if anyone else has gotten an --sout success.

Thnks.
0 Kudos
2 REPLIES 2
bege
Visitor

Re: anyone out there got VLC --sout settings that work?

I tried so many different things in VLC today and I couldn't get a single one to work. Did you have any luck figuring this one out? I was trying to real-time encode mpeg2 to any playable format and never got VLC to give me a suitable stream.
0 Kudos
ben1234
Visitor

Re: anyone out there got VLC --sout settings that work?

I was also trying to get this to work. Using VLC and Vista, tried all kinds of combinations of settings in vlc using the video player sample project. No luck at all.
Also noticed that when converting a wmv to mp4 using vlc and accessing the file directly, it would not play. some encoding issue perhaps? I am not sure that i did the conversion properly either as i am very new to this also.
0 Kudos