Question

I am using MPMoviePlayerViewController with local file. Dragging time slider when playback status is playing works fine, but dragging it when playback status is paused make it jumps few seconds back from the time I dragged to.

Any property to set up?

Thanks

Was it helpful?

Solution

Nope, that's because of how movies are encoded. Frames in a movie are encoded as the difference between the previous frame, so that only patches are saved in the movie. Every now and then, a keyframe its inserted in the movie: a keyframe is a frame that's fully encoded.

You see it jumping back because it's going to the nearest previous keyframe.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top