Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top