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: 
kelvis2000
Visitor

Video is fast on Web, slow on Roku? Url metadata below

Here is the Video which does not
stream on my Roku Channel,
It takes about 30 + seconds to load on my Roku Channel,
pretty fast on the web?
http://guitar.objects.cdn.dream.io/VIDEOS/CCRyderB.m4v

Here is Video Info from
MediaInfo app.


General
Complete name : /Users/kevinduggan/Desktop/CCRyderB.m4v
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 101 MiB
Duration : 9mn 54s
Overall bit rate mode : Variable
Overall bit rate : 1 427 Kbps
Encoded date : UTC 1904-01-01 00:00:00
Tagged date : UTC 1904-01-01 00:00:00
Writing application : HandBrake 0.10.1 2015030800
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 9mn 54s
Bit rate : 1 061 Kbps
Width : 630 pixels
Height : 452 pixels
Display aspect ratio : 1.394
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.124
Stream size : 75.2 MiB (74%)
Writing library : x264 core 142 r2479 dd79a61
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 1904-01-01 00:00:00
Tagged date : UTC 1904-01-01 00:00:00
Color primaries : BT.601 NTSC
Transfer characteristics : BT.709
Matrix coefficients : BT.601

Thanks
Kevin
0 Kudos
22 REPLIES 22
RokuMarkn
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

You say it "does not stream". Does that mean it fails to play at all, or just that it buffers for a long time before playing? What if you just use the simplevideoplayer example and put your URL in there? I did that and the video starts in about 2-4 seconds. If it still takes a long time for you it may be related to your local network conditions.

--Mark
0 Kudos
NewManLiving
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

Very Nice
Tried it on your server. Took an average of 7 seconds, 12 - 15 at times on my box
Uploaded it to my Amazon s3 took 4 seconds consistently.
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
NewManLiving
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

Just moved it into my cloudfront and takes a little less than 3 seconds on average, under ideal conditions
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
kelvis2000
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

Thanks the problem I am having is viewing or downloading the video through my Roku dev Channel.
Downloading from the web works great but a download from my Dev Channel is taking about half a minute
or more.
Here is the XML file for this video which is Coffee blues,
My channel is a instructional channel on Delta Blues.
I have about 30 videos which most are under 10 minutes long
with a file size of somewhere between 100 to 200 megabytes.
I am sure there is no clues in the
XML file below, would be fantastic if there was.
Thanks
Kevin

</item>
<item sdImg="http://guitar.objects.cdn.dream.io/images/SDvidCCRider214.png" hdImg="http://guitar.objects.cdn.dream.io/images/HDvidCCRider290.png">
<title>Mississippi John Hurt</title>
<contentType>Talk</contentType>
<contentId>1</contentId>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/CCRyderB.m4v</streamUrl>
</media>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>HD</streamQuality>
<streamUrl>http://guitar.objects.cdn.dream.io/VIDEOS/CCRyder.mp4</streamUrl>
</media>
<synopsis>CC Ryder.</synopsis>
<genres>Clip</genres>
</item>
0 Kudos
kelvis2000
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

"NewManLiving" wrote:
Very Nice
Tried it on your server. Took an average of 7 seconds, 12 - 15 at times on my box
Uploaded it to my Amazon s3 took 4 seconds consistently.


Thanks NewManLiving do you mean you downloaded the file then uploaded it to Amazons
cloud environment and it worked great, if thats the case maybe I should
switch to Amazons Cloud service?

Thanks for your help,
Kevin
0 Kudos
NewManLiving
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

Yes that's what I did Since I'm developing a 2d application I just inserted the original Url coming from your CDN and my cloud front CDN once I uploaded your video into my S3. I'm using roVideoPlayer and not roVideoScreen. But as far as I know there should not be a difference. I also left my current settings intact which defined a 128k bitrate. So like I said. From your CDN it took the longest and it was about the same from my browser. When I uploaded your video to my s3 bucket it took on average about 3 seconds. When I switched to my cloudfront which is associated with that bucket it was the fastest under 3 and frequently 2 seconds. I would try using Amazon s3 and cloudfront. There is a free tier which is very generous
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
kelvis2000
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

"NewManLiving" wrote:
Yes that's what I did Since I'm developing a 2d application I just inserted the original Url coming from your CDN and my cloud front CDN once I uploaded your video into my S3. I'm using roVideoPlayer and not roVideoScreen. But as far as I know there should not be a difference. I also left my current settings intact which defined a 128k bitrate. So like I said. From your CDN it took the longest and it was about the same from my browser. When I uploaded your video to my s3 bucket it took on average about 3 seconds. When I switched to my cloudfront which is associated with that bucket it was the fastest under 3 and frequently 2 seconds. I would try using Amazon s3 and cloudfront. There is a free tier which is very generous


Super Duper!
Thanks so much for your help,
I am in the process of learning the Amazon setup
presently.
Thanks

Kevin
0 Kudos
NewManLiving
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

I PM your message folder with the cloudfront directory. At least you can load it from mine to see if that is your problem before going through the trouble of setting up an s3 and then associating it with a cloudfront
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
kelvis2000
Visitor

Re: Video is fast on Web, slow on Roku? Url metadata below

I am really doing great here, Thanks for telling me. Now to locate.
Kevin
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.