We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我看了很多iOS播放h264文件的demo,基本上都是播放的速度很快,我希望是类似播放器的正常速度,一秒播放一帧,请问我需要修改哪里呢?谢谢。
The text was updated successfully, but these errors were encountered:
目前demo中的做法是从h264文件中读到数据就直接丢给解码器解码显示,从取数据到显示整个过程的时间并没有控制,即没有对帧率等进行控制,如果要对播放速度进行严格控制,就要对播放的整个过程的时间进行相应控制(整个过程的时间接近h264帧率,播放速度就会正常,不然要么快播,要么慢播,最简单的方法就是用一个timer来定时完成取数据解码显示整个过程)。希望对你有帮助!
Sorry, something went wrong.
No branches or pull requests
我看了很多iOS播放h264文件的demo,基本上都是播放的速度很快,我希望是类似播放器的正常速度,一秒播放一帧,请问我需要修改哪里呢?谢谢。
The text was updated successfully, but these errors were encountered: