摘要
针对智能交通管理设备本身缺乏安全监管,传统视频监控延迟高、画质低、稳定性差的问题,提出一种基于FFmpeg的多线程编码视频流传输方案。通过FFmpeg调用h264_nvenc编码器,实现宏块行级的GPU多线程加速,降低编码延迟。使用Visual Studio 2019和QT15.5开发基于FFmpeg的音视频处理软件,对多路视频流进行封装、推流,并搭建Nginx流媒体服务器进行分发。通过实验表明,该系统整体的传输延迟低于1 s,且拥有良好的率失真特性,监控画面清晰、稳定性高,实现了对交通管理设备实时稳定的安全监控。
Aiming at problems of the lack of security supervision of intelligent traffic management equipment and the high delay,low quality and poor stability of traditional video supervision,a multi⁃thread coding video stream transmission scheme based on FFmpeg was proposed.The h264_nvenc encoder is used by FFmpeg to achieve GPU multi⁃threaded coding acceleration at the macroblock line level and reduce the coding delay.Visual Studio 2019 and QT15.5 are used to develop FFmpeg⁃based audio and video processing software,which encapsulates and pushes multi⁃channel video streams,and sets up Nginx streaming media server for distribution.The experimental results show that the overall transmission delay of the system is less than 1 s,and the system has good rate⁃distortion characteristics.The monitoring picture is clear,and the stability is high.The system realizes the real⁃time and stable security monitoring of the traffic management equipment.
作者
戚义盛
张正华
吴宇
苏权
苏波
赵天林
刘国澍
QI Yisheng;ZHANG Zhenghua;WU Yu;SU Quan;SU Bo;ZHAO Tianlin;LIU Guoshu(School of Information Engineering(School of Artificial Intelligence),Yangzhou University,Yangzhou 225000,China;Yangzhou Guomai Communication Development Co.,Ltd.,Yangzhou 225000,China)
出处
《电子设计工程》
2024年第6期185-190,共6页
Electronic Design Engineering
基金
2021年扬州市级计划-市校合作专项(YZ2021159)
2021年扬州市产业前瞻与共性关键技术-产业前瞻研发(YZ2021016)。