且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法多路复用器音频和视频

更新时间:2021-11-16 22:29:30

它看起来像你使用系统提供的时间戳的视频,但对于声音的简单的计数器。除非莫名其妙的视频时间标记被用于种子音频每一帧,它只是没有如上图所示。

It looks like you're using system-provided time stamps for video, but a simple counter for audio. Unless somehow the video timestamp is being used to seed the audio every frame and it's just not shown above.

有关音频和视频同步播放,你需要有上预计将psented同时$ P $音频和视频帧相同的presentation时间戳。

For audio and video to play in sync, you need to have the same presentation time stamp on audio and video frames that are expected to be presented at the same time.

另请参阅本related问题。