I have everything working except when it selects a video it hangs on retrieving..
The debug consol only says
Button Pressed
Button Pressed
Is this that my video format is invalid? If so what format should I use? I use Pinnacle and Sony Vega as my video editors and can create almost any format..
Wait a minute. in an earlier message I was told to setup IIS smooth streaming, IIS smooth streaming only uses ISX files which it translates to asx files to launch players.. I just spent 3 days learning a new server and now your telling me that IIS smooth streaming is not compatible.. Is there an official document or tech support area where you can get straight forward direct correct answers? Because I’m not investing any more money and server resources to roku if not. I just wasted three 12 hour days at 150/hour labor charges.
IIS Smooth Streaming is supported, but you have to tell the player that it’s a smooth stream. I’m not clear on how ISX playlists relate to Smooth Streaming, but you’ll need an ISM Manifest to work with the Roku, and you’ll need to set the StreamFormat to “ism”. Here’s a blog post with a ton of sample streams you can use to test your code, and see what format is expected: http://zoomicon.wordpress.com/2012/09/2 … ideo-urls/
Now I’m completly lost. if it works and there is a working example I can relate to that. but I have no idea what a ism stream format is, there doesn’t appear to be anything about ism format on technet.. is there a sample application? some kind of server guide or anything on here?
Basically right now all I want to do is get one file to stream to roku. then I can reverse engineer it and figure out how it all works.
“mitchstein” wrote:
Is it that I have to create a smooth streaming playlist or a smooth streaming presentation?
Looks like you might need a presentation. This blog post walks you through creating a stream: http://www.iis.net/learn/media/on-deman … -streaming
I’m almost thinking the problem is my roku player..
I tried this..
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
1
61
2 Director of the Light house Rec Center John Discusses the programs available at the light house and how loco wrestling will be valued.
58
SD
Director of the Light house Rec Center John Discusses the programs available at the light house and how loco wrestling will be valued.
[http://www.tvbydemand.com/1.wmv](http://www.tvbydemand.com/1.wmv)
the player just sits there saying retrieving, the degugger shows “button pressed”
I tried the exact same thing with a .mp4 a .m4v a .avi and a .mpg.. exact same results yet if I put the path into my browser it opens windows media player and plays the files.. the 1.wmv even plays on my android phone..
WMV is only supported on the legacy (firmware 3.x) devices. It’s not supported on the current generation. AVI and MPG aren’t supported on any generation. You need to stick with MP4 encoded as described in the encoding guide (http://sdkdocs.roku.com/display/sdkdoc/Encoding+Guide).
encoder 4 has been discontinued and the free version doesnt encode h.264… sux to be me I guess.. Anyway I downloaded and installed ffmpeg, I created the preset file and saved it in the bin directory (because I can’t figure where else it might need to go.. I ran the .bat file and used the commandline from the documentation and got back "
I am so in over my head now… I have no idea what all this means.. I haven’t used a DOS prompt since 1989 when I started running windows NT 4.0 servers.. Anyway the most confusing part is ‘ΓÇôab’ huh? whats that mean? is there any gui based application that will run on a 32 bit version of server 2008 enterprise or a 64 bit windows 7 enterprise OS that is easier and might have roku step by steps? Anyway I know I am so close to getting this to work, yet so far away.. aaarrghh
Lol, I miss the good old windows 2003 days with windows media server, we had one codec, one format and everyone saw it.. lol
“mitchstein” wrote:
I am so in over my head now… I have no idea what all this means.. I haven’t used a DOS prompt since 1989 when I started running windows NT 4.0 servers.. Anyway the most confusing part is ‘ΓÇôab’ huh? whats that mean? is there any gui based application that will run on a 32 bit version of server 2008 enterprise or a 64 bit windows 7 enterprise OS that is easier and might have roku step by steps? Anyway I know I am so close to getting this to work, yet so far away.. aaarrghh
Try Handbrake, and use its built-in AppleTV 3 preset. Doesn’t get much more straightforward than that for manual conversion. You can even add a bunch of videos to its queue and leave it to do its thing…
Handbrake worked perfectly! Now serving 4 videos successfully and tidying up the xml and creating custom images for everything… I should be ready to publish soon!!
Ok all seems well with the mp4 files using handbrake, except one issue, if someone has a slow internet connection thier Roku device keeps buffering one of my users claims they have Fios but buffers every 30 seconds, running a “speedtest” on thier computer found that thier connection speed would be 80MBS for like 5-10 seconds then drop to like 1MBS and jump up and down..
So I realized I’m compiling my MP4 files at 1.6MPS therefore he buffers alot.. So I starting think IIS Smooth streaming…
Ok I’ve downloaded installed learned (somewhat) Squeezeit (after fighting with microsoft that I wasn’t spending the cash to upgrade to windows server 2013 64bit since my 2008 r2 is only 2 years old in order to buy another software package 'Blend" for Visual Studio 2013 (which only runs on win8/2013 64bit). And that because the discontinued support for Expressions Encoder.. Anyway enough of the Microsoft is becoming Apple rant..
I created the IIS smooth stream the Squeezeit made all the required files, .ism ismc and appropriate .ismv files and even created an .html file that loads a basic silverlight player (nice)… I made and asx file that points to an isx file that was created by IIS smoothstreaming playlists when I imported the asx file..
when I http://www.tvbydemand.com:80/asx/1170.asx I get in windows media player that it cannot find the server…
When I http://www.tvbydemand.com/1170.isx I get it encountered and error downloading the file
when I go to the roku it shows the loading bar moves up two or three spots then returns to the menu screen..
.MP4 work perfectly, I’m at a loss of what to do or what the problem is if anyone has any ideas I’d really like to get it to work through the smooth streaming…
I believe the smooth streaming will also allow it to play through to android phones.. I got it working fine with mp4 on windows phones and iphones simply by compiling a smaller resolution and lower bitrate.. Again though on some plans (especially 3g) it buffers alot so smooth streaming would fix that as well…
You should be pointing the Roku to http://www.tvbydemand.com/1170.ism/manifest (or whatever your ism is named). You’ll also need to specify the StreamFormat as “ism”. The Roku defaults to “mp4” which is why that works without a StreamFormat specified.
Alternatively, you could provide multiple MP4 bitrates, and the Roku will select the one most appropriate for the current network conditions. It will rebuffer when it switches, but it will only ever switch down, so that shouldn’t happen after the first rebuffer.
“mitchstein” wrote:
it can back with windows media player encountered an error while downloading the file
I don’t think Windows Media Player supports smooth streaming.
Hmm, probably why squeezeit produces an html file using silverlight.. So far with everything I can find being taken into account I’m going to have to create different video files for, roku, android, computers/tablets and other then android phones in order to deliver to the majority of the masses..
So tonight I plan to learn how to detect which device is requesting what. and script out automatically delivering the correct url for each device. Tommorrow I will setup a Virtual machine on my server to try out this soreson bittorrent (incase of a virus etc etc) and see if I can do it with that. If not then it’s off to learn ffmpeg commandline and recompiling with good codecs, the current version has the h.264 codec but not the aac audio codec.. Then I just have to script out a page to upload the videos, transcode them, put them in the proper dirs and create the database entries… Will be a fun week ahead of me.. lol..
“mitchstein” wrote:
Hmm, probably why squeezeit produces an html file using silverlight.. So far with everything I can find being taken into account I’m going to have to create different video files for, roku, android, computers/tablets and other then android phones in order to deliver to the majority of the masses..
So tonight I plan to learn how to detect which device is requesting what. and script out automatically delivering the correct url for each device. Tommorrow I will setup a Virtual machine on my server to try out this soreson bittorrent (incase of a virus etc etc) and see if I can do it with that. If not then it’s off to learn ffmpeg commandline and recompiling with good codecs, the current version has the h.264 codec but not the aac audio codec.. Then I just have to script out a page to upload the videos, transcode them, put them in the proper dirs and create the database entries… Will be a fun week ahead of me.. lol..
Have you looked into HLS instead? Roku, Android, and iOS all support HLS, and there are several web players (e.g., jwplayer) that support if for embedding in websites. Sorenson should also have an HLS option.