摘要
在视频监控系统中,音视频的同步传输是一个非常关键的问题.由于音视频数据量大小的差异以及网络状况的不同,使得在其采集、传输、编解码的过程中,存在失同步的可能.针对这些缺陷,提出一种利用时间戳将采集时间存在相关性的音频和视频数据存入一个固定的同步数据结构中,并在采集、编码、传输、接收、解码以及播放过程中始终加以同步控制.最后将FFMPEG移植到Android平台对该算法进行实验,结果表明,该同步算法具有较稳定的同步效果,能够很好地满足应用场景下的音视频同步需求,同时对Android平台的音视频处理提出了新方法,具有很好的工程实践意义.
In video-monitor system,the synchronous transmission of audio and video is a key issue.The audio and video being out of synchronization was caused by the difference among the size of audio data and video data in the procedure of capturing,transmitting and encoding.To solve these problems,a solution is proposed which defines a data structure to store the time-related frames of audio and video data and control the synchronization of audio and video data through all the procedure.At last,the FFMPEG project is ported to Android device to do the experiment.It turns out that the algorithm proposed in this research has a good effect of synchronization.It can meet the need of synchronization in the specified scenes.At the same time,the new method of audio and video processing of Android platform is proposed,which is of great significance in engineering practice.
作者
曾碧
张宇
Zeng Bi;Zhang Yu(School of Computers, Guangdong University of Technology, Guangzhou 510006, China)
出处
《广东工业大学学报》
CAS
2017年第4期58-64,共7页
Journal of Guangdong University of Technology
基金
国家基金广东省联合基金重点项目(U1201251)
广东省产学研合作专项资助项目(2014B090904080)