Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top