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

Video Player

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..
http://www.TVByDemand.com
0 Kudos
24 REPLIES 24
mitchstein
Roku Guru

Re: Video Player

I compiled the video as an .mp4
720x480 1600bits/sec
plays on my computer and website
http://www.tvbydemand.com/video_select_ ... sp?id=1168

my xml entry is

<item sdImg="http://www.tvbydemand.com/roku/loco-sd.jpg" hdImg="http://www.tvbydemand.com/roku/loco-hd.jpg">
<title>Teddy Fine Entrance Video</title>
<contentID>58</contentID>
<contentQuality>SD</contentQuality>
<synopsis><p>Teddy Fines Entrance Video, produced by "unknown"</p></synopsis>
<streamURL>http://www.tvbydemand.com/isx/1168.isx</streamURL>
</item>
http://www.TVByDemand.com
0 Kudos
bandal
Visitor

Re: Video Player

Point your streamUrl to the mp4 file as isx is not an extension supported.
0 Kudos
mitchstein
Roku Guru

Re: Video Player

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.
http://www.TVByDemand.com
0 Kudos
TheEndless
Channel Surfer

Re: Video Player

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/
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
mitchstein
Roku Guru

Re: Video Player

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.
http://www.TVByDemand.com
0 Kudos
mitchstein
Roku Guru

Re: Video Player

Is it that I have to create a smooth streaming playlist or a smooth streaming presentation?
http://www.TVByDemand.com
0 Kudos
TheEndless
Channel Surfer

Re: Video Player

"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
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
mitchstein
Roku Guru

Re: Video Player

I'm almost thinking the problem is my roku player..
I tried this..
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<!-- resultLength indicates the total number of results for this feed -->
<resultLength>1</resultLength>
<!-- endIndix indicates the number of results for this *paged* section of the feed -->
<endIndex>61</endIndex>

<item sdImg="http://www.tvbydemand.com/roku/loco-sd.jpg" hdImg="http://www.tvbydemand.com/roku/loco-hd.jpg">
<title>2 Director of the Light house Rec Center John Discusses the programs available at the light house and how loco wrestling will be valued.</title>
<contentID>58</contentID>
<contentQuality>SD</contentQuality>
<synopsis>Director of the Light house Rec Center John Discusses the programs available at the light house and how loco wrestling will be valued.</synopsis>
<streamURL>http://www.tvbydemand.com/1.wmv</streamURL>
</item>

</feed>

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..
http://www.TVByDemand.com
0 Kudos
TheEndless
Channel Surfer

Re: Video Player

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).
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
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.