基于MPEG-1/2视频的音频同步剪辑算法

MPEG-1/2 Based Video and Audio Synchronized Non-Linear Editing Algorithm

  • 摘要: 根据MPEG-1/2码流的特点,实现视音频同步编辑算法.通过对MPEG-1/2视音频码流的分析,利用两者的PTS值实现了基于MPEG-1/2码流PES层的非线性视音频同步编辑,并详述了剪辑算法.该算法无音频编解码操作,实时性好,不存在音频质量损失问题;对于少数次的剪辑同步效果很好.该算法实用性强,现已将该算法模块应用于非线性编辑系统中.

     

    Abstract: Non linear editing systems based on MPEG 1/2 tend to replace M JPEG based non linear editing systems. As a result of the structure of the stream, the audio stream editing is very difficult to adapt to the video stream synchronically. A kind of synchronism editing algorithm is provided. Based on an analysis of the construction of the MPEG 1/2 stream, and making use of the PTS parameters of the video, a synchronism editing algorithm is realized. Characters of the algorithm are effective, and there is no audio quality loss because it needs not to code or decode any audio frame, and so it is a fast algorithm. Editing for a limited number of times is even better because of the accumulation of the editing error.

     

/

返回文章
返回
Baidu
map