论文部分内容阅读
文中讨论了MPEG 2传输码流中的时间信息 (传输层中的节目参考时钟 ,PES层中的显示时间标签和节码时间标签 )在音视频同步中的作用。对理想解码器中的音频、视频同步原理作出了分析。指出了实际解码器实现视音频同步的困难之处并提出了解决办法。对实际解码中出现的视音频失同步的情况 ,通过对解码器的控制达到重复帧和丢帧的效果 ,从而重新实现了音、视频的同步。
In this paper, we discuss the role of time information (program reference clock in transmission layer, display time stamp in PES layer and time code label of joint code) in audio and video synchronization in MPEG 2 transport stream. The principle of audio and video synchronization in the ideal decoder is analyzed. Pointed out the actual decoder to achieve video and audio synchronization difficulties and proposed solutions. In the case of loss of synchronization of video and audio in the actual decoding, the control of the decoder achieves the effect of repeating frames and frame dropping, thereby realizing the synchronization of audio and video.