Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abemishler
Level 7

Videos Cut Short by 2-5 seconds

The Roku player is cutting my videos at the end by an estimated 2-5 seconds (on average). Has anyone else dealt with this problem and fixed it?

My videos are in mp4 format, and are post-processed through "mp4box -isma" to place the "moov atom" at the front of the files which allows them to stream.

My Roku HD player is up-to-date with the 2.8 b1158

Thanks,
Abe
0 Kudos
9 REPLIES 9\
TheEndless
Level 10

Re: Videos Cut Short by 2-5 seconds

I don't have a fix, but I can confirm that the same happens to all of the videos in my Onion News Network channel.
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
RokuMarkn
Level 8

Re: Videos Cut Short by 2-5 seconds

Is it possible that the audio track is ending before the video, or vice versa? The player will stop playing when either of the tracks ends.

--Mark
0 Kudos
TheEndless
Level 10

Re: Videos Cut Short by 2-5 seconds

"RokuMarkn" wrote:
Is it possible that the audio track is ending before the video, or vice versa? The player will stop playing when either of the tracks ends.

--Mark

In the Onion videos, it's usually cut off mid-word, and they play to completion in other players, so I'd say probably not.
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
RokuKevin
Level 9

Re: Videos Cut Short by 2-5 seconds

Can you point us to a publicly accessible url that exhibits this behavior?

Thanks

--Kevin
0 Kudos
TheEndless
Level 10

Re: Videos Cut Short by 2-5 seconds

"RokuKevin" wrote:
Can you point us to a publicly accessible url that exhibits this behavior?

Thanks

--Kevin

Here are three from The Onion. They're not quite as dramatic as 2-5 seconds, but the end is clearly cut short...
http://videos.theonion.com/onion_video/ ... ta-flv.mp4
http://videos.theonion.com/onion_video/ ... ir-flv.mp4
http://videos.theonion.com/onion_video/ ... ti-flv.mp4
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
em_lazardo
Level 7

Re: Videos Cut Short by 2-5 seconds

Don't subscribe to the onion private channel, but the three samples appear cut short in an ordinary flash browser playback.

Cheers,

The Apple rent a geek friend bit was so close to real...
0 Kudos
TheEndless
Level 10

Re: Videos Cut Short by 2-5 seconds

"em.lazardo" wrote:
Don't subscribe to the onion private channel, but the three samples appear cut short in an ordinary flash browser playback.
Cheers,
The Apple rent a geek friend bit was so close to real...

Wow.. you're absolutely right. I'm not sure how I missed that. Sorry about that, Kevin!
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
buenafe
Level 7

Re: Videos Cut Short by 2-5 seconds

I'm playing catch up with Roku development. Recently, I downloaded some of my YouTube flv files, then converted them to mp4 format using various settings in handbrake GUI and handbrakeCLI. I was able to convert most of them with no problems, but I found a few video files which are cut short by a few seconds (as mentioned in this thread).

When I play the files on the PC, I don't see this problem.

Has anybody found a way to solve this problem. I tried to convert files to AVI then to MP4/M4V. This didn't help either.
----------------------------------------------------------------------------------
current: two roku XDS 2xs, dtvpal, boxeebox, kylo.tv,
radar: wdlxtv.com
0 Kudos
RokuKevin
Level 9

Re: Videos Cut Short by 2-5 seconds

If your audio and video are not the same length, the Roku will stop playback when the first track ends. The workaround would be to make the audio and video tracks the same length (insert white noise are black slate as appropriate to the end of the short track).

--Kevin
0 Kudos