基于FFMPEG解码的音视频同步实现  被引量:7

Synchronization playing of audio and video based on FFMPEG

在线阅读下载全文

作  者:刘丽霞[1] 边金松[1] 张琍[1] 穆森[1] 

机构地区:[1]中国航天科工集团第二研究院706所,北京100854

出  处:《计算机工程与设计》2013年第6期2087-2092,共6页Computer Engineering and Design

摘  要:为实现音视频同步播放,针对音视频数据同时被采集,但编码和存储独立的情况,提出了将音频播放时钟作为同步时钟,采用时间戳技术实现历史音视频同步播放。该方法使用FFMPEG对历史音视频文件分别进行解码,将解码后计算得到的音频播放时钟作为同步时钟,控制视频播放速度同步到音频播放时钟上,保证了音视频数据流畅播放,同步无滞后,无延迟。通过实验设计,验证了提出的基于音频播放时钟的时间戳同步方法是有效的。To synchronize the playback of audio and video, based on the situation that the audto and video are acquired at the same time, but independent of being encoded or stored, a new method of timestamp is proposed. It is that audio playback clock is used as synchronous clock and FFMPEG is used to decode the audio and video data separately. Then the audio playback clock which is computed by the decoded timestamp is used as synchronous clock. Video playback speed is controlled by audio playback clock. The method can guarantee the audio and video to play smoothly, without lag and delay. Finally the experimental results prove the timestamp synchronization method proposed is effective.

关 键 词:音频 视频 同步 时间戳 显示时间戳(PTS) 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象