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: 
dupondt
Channel Surfer

Re: Stream your own media?

Matt,

here's what RokuTaylor stated in this thread:

"There is very little memory on the board. Just enough to buffer a few minutes of video if your bandwidth gets congested temporarily. Just enough flash memory for the software."

I don't think that you can compare the old HD1000 with the new DVP as the concepts and the designs are completely different. Furthermore for safety reasons the N1000's flash memory is divided into two partitions. The DRAM is only used for buffering.

Adding SMB/CIFS and/or LIBUPNP might thus be difficult if not impossible.

Greetings
dupondt
SoundBridge M1001 and M1000 • Clint L1 (retired) • DNT IP-dio (retired)
Google Chromecast • Amazon Fire TV • Amazon Echo and Echo Dot
0 Kudos
shshchch
Visitor

Re: Stream your own media?

well since i'm using freenas that has a webserver service, i'm assuming i can access the media on my drive if it's compatible/if i have a web address for it? how would i go about doing this? is there a way to do it in the firmware as is, or has someone developed a private app? are there any private apps other than the porn app right now?
0 Kudos
KennyJ
Roku Guru

Re: Stream your own media?

As long as you have a http url for the file, you can play it through the Roku (if it's in the correct format).
0 Kudos
shshchch
Visitor

Re: Stream your own media?

Yes, but how would I go about doing that?
0 Kudos
RokuKevin
Visitor

Re: Stream your own media?

Please see the simplevideoplayer example app for the minimum app required to stream video from a URL on the Roku box.

Please see the videoplayer example app for a more realistic channel that would organize your content into a feed that could be processed by an app on the Roku box.

With a little programming on your web server and some modifications to the videoplayer example app, you could organize your content in a direcory on your web server and auto-generate a feed for this content that your Roku channel understands.
0 Kudos
shshchch
Visitor

Re: Stream your own media?

wow i'm surprised i eventually figured it out. i'm now streaming a video from my nas just by putting in the ip of my nas and the video file. if only the file support wasn't so limited (most of my collection is vob/avi). well hopefully shared file access and/or greater file support will be added by roku/developer sometime soon (and some type of internet video/network tv show aggregator/hulu,clicker,channels.com,etc would be awesome). i would love to be able to stick to roku vs having to buy popbox/boxee.
0 Kudos
digiblur
Visitor

Re: Stream your own media?

"shshchch" wrote:
wow i'm surprised i eventually figured it out. i'm now streaming a video from my nas just by putting in the ip of my nas and the video file. if only the file support wasn't so limited (most of my collection is vob/avi). well hopefully shared file access and/or greater file support will be added by roku/developer sometime soon (and some type of internet video/network tv show aggregator/hulu,clicker,channels.com,etc would be awesome). i would love to be able to stick to roku vs having to buy popbox/boxee.


No doubt about that... if their video player would play all kinds of formats like VLC does...wow...there would be no stopping this thing. You'd think they could snag some of the codecs from VLC since it is open source and has a Linux version, but I'm not sure of the legalities of that.
0 Kudos
brunson
Visitor

Re: Stream your own media?

Does anyone have the correct parameters for ffmpeg or mencoder to transcode into an optimal Roku stream?
0 Kudos
julian85
Visitor

Re: Stream your own media?

It'd be really nice if someone wrote a tutorial for this.
0 Kudos
bryankaiser
Visitor

Re: Stream your own media?

Brunson,

Here's what I'm doing to make a stream that works on the Roku (and doesn't start rebuffering after an hour). I'm pulling from a single VOB file ripped from a DVD.

ffmpeg -i INPUT.vob -vn -acodec copy INPUT.ac3

BeSweet.exe -core( -input "INPUT.ac3" -output "INPUT.wav" -2ch ) -azid( -n1 -c normal -L -3db --maximize ) -profile( ~~~~~ Default Profile ~~~~~ )

del INPUT.ac3

ffmpeg -i INPUT.vob -i INPUT.wav -map 0:0 -map 1:0 -acodec aac -ab 160k -ac 2 -vcodec libx264 -vpre normal -crf 21 -threads 0 -s 720x480 -t 1:39:39 -aspect 4:3 -r 29.97 OUTPUT.mp4

del INPUT.wav


The rebuffering issue appears to be tied to something that happens during the transcoding of the ac3 stream into aac. The only thing that I've found that works reliably to overcome the rebuffering issue is to move the audio to an interim format (wav in this case).

The first step splits the ac3 stream from the VOB file into it's own file. The second step (using BeSweet) does a downmix from 5.1 to a stereo wav. I then use the original VOB file as the source for the video and the newly created wav as the source for the audio. I'm also doing cleanup along the way (deleting the ac3 and wav files when they're no longer needed). You'll need to adjust the size (-s), duration (-t), aspect ratio (-aspect) and framerate (-r) values to match those of your source video. I've been shaving a second or so off the end of the videos too. I thought this was necessary at one time, but I'm not sure it actually is. I haven't been willing to spend the encoding time to test and verify yet.

If anybody tries this, please post back and let me know if it works for you.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.