0

我使用AVPlayer创建了视频播放器。视频播放得非常好。现在我正在尝试以超慢动作模式播放视频。所以我将frameRate值更改为 0.0001。但似乎 AVPlayer 无法以非常慢的模式播放。请任何专家建议我或任何其他选择。

这是播放按钮点击功能。

- (void)playButtonPressed:(id)sender {
 [video1ControlView.player prepareToPlayVideo]; }


-(void)prepareToPlayVideo
{
if(self.outputFileInternal != nil)
{
    AVPlayer *currentPlayer  = [self player];
    currentPlayer.rate = self.frameRate; // here frameRate = 1 means, video play in normal play. if i will pass 0.25 then video will play slow mode but i want to play in **SUPER SLOW MOTION MODE**
    _playerStatus = PlayerStatusPlaying;
}
}
4

0 回答 0