var time:Float64 = CMTimeGetSeconds(player.currentItem!.currentTime())*24 time = currentPlayerFrame + Double(frameStep) let cm :CMTime = CMTimeMakeWithSeconds(time/24, preferredTimescale: 24) player.seek(to: cm,toleranceBefore: .zero, toleranceAfter: .zero) currentPlayerFrame += Double(frameStep)