Forum Discussion

manoflinux's avatar
manoflinux
Visitor
15 years ago

streaming from vlc to a roku

I have vlc setup to stream and transcode to h.264 for video and mp4 for audio at 720x480
I have it set to stream on port 80.
so on the roku I took the simple video player app and made this change.
urls = ["http://192.168.1.10"]
qualities = ["SD"]
StreamFormat = "mp4"
title = "a stream test"
srt = "file://pkg:/source/craigventer.srt"
did the make and uploaded it to the roku.
when I try to play it on the roku I get the title text for a split second then it says receiving and then immediately goes back to the sample screen.
I also tried it on HD and it didnt work.
What am I missing?

8 Replies

  • btw I started out on port 8080 but I thought maybe the roku didnt like the port number so I made it 80 so I didnt have to specify in the url.
  • it looks like you're telling it to get an mp4 file but you haven't given a full path with the name of a file to retrieve i.e. 192.168.2.10/test.mp4
  • not a file, a stream. I am streaming a file through vlc. I can stream with just the url using vlc as the client. so I know its working, I just need to know what to adjust the settings on the stream to.
  • I would also like to able to stream live content, because to vlc it doesnt matter, the same settings I use to stream a live stream I can use to stream a file and vice versa. I just need to know what the roku is expecting on the other end.
  • you have to stream using http live streaming do a search of the forum for more info
  • as I said, your code is telling the Roku to look for an mp4 file.. You'd either have to use an mp4 file and specify it in the path, or as was said above the only live streaming is via an HLS stream and, for example, point the Roku to a .m3u8 playlist location
  • think I figured it out. you have get a copy of vlc that can handle live http or hls streaming. then I should be able to setup a hls stream and stream it to the roku.