MPMoviePlayerController playing movies in reverse (backwards) is not smooth in iPhone App

后端 未结 2 1628
故里飘歌
故里飘歌 2021-01-03 13:37

I am developing an iPhone application where I need to reverse a video playback. I am currently using XCode 4.2. I am trying to play a movie in reverse with the MPMoviePlayer

2条回答
  •  执笔经年
    2021-01-03 13:38

    Try this with AVPlayer

     avPlayer.rate=-1.0f;
    

    This will set the rate to -ve,hence playing the video in reverse smoothly. :)

提交回复
热议问题