Roku Developer Program

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

Frame Accurate Seeking

Anyone know of a trick to enable Frame Accurate Seeking?
I cannot find any documentation that indicates Roku support but just checking to see if maybe (just maybe) it can be done.
Tyler Smith
0 Kudos
6 Replies
destruk
Level 10

Re: Frame Accurate Seeking

Seeking by number of seconds is supported.  As long as the frame you're going to is on a second boundary then that should be sufficient.  If you need to jump to any other frame of video then I think you would need the NDK and write a replacement video player.
0 Kudos
Tyler_Smith
Level 7

Re: Frame Accurate Seeking

When we seek to a specific time in the video (seconds) the player always jumps a few seconds before and begins playback.
Tyler Smith
0 Kudos
destruk
Level 10

Re: Frame Accurate Seeking

Is the framerate metadata set?  Does the issue appear if you are using HLS/ISM/Dash, or just MP4?
0 Kudos
tim_beynart
Level 7

Re: Frame Accurate Seeking

If you are using HLS then you will always start at a segment boundary AFAIK. 
0 Kudos
Tyler_Smith
Level 7

Re: Frame Accurate Seeking

We are using HLS
Tyler Smith
0 Kudos
tim_beynart
Level 7

Re: Frame Accurate Seeking

I am pretty sure HLS seeking will always start on a segment. It might be able to seek to an iframe within a segment, but I doubt it.  Maybe one of the Roku engineers can chime in here.
0 Kudos