문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top