针对大型监控系统中实现多路视频数据合成单路的传输问题,提出了一种基于FPGA的多路视频合成及传输的设计方案。根据以太网协议,将不同视频流作相应的封装,缓存在各路对应的包FIFO中,通过采用轮询机制读取包FIFO中的视频数据帧,暂存在总的包FIFO中,并通过千兆以太网发送,实现多路视频数据流合成单路传输。实验结果表明,该设计方案可实现视频数据快速准确的传输,极大地提高了传输效率和可靠性。
In view of the transmission problem of multi-channel video data synthesis in large-scale monitoring system, a kind of multi-channel video synthesis and transmission method based on FPGA is proposed to achieve multi-channel video data synthesized in single channel.Different video streams are encapsulated correspondingly according to Ethernet protocol.The encapsulated data is cached in the package FIFO of corresponding channel.A polling mechanism is used to control the reading of the data in packet FIFO.The data is temporarily stored in the total package FIFO and sent through the Gigabit Ethernet.Accordingly synthesis of multi-channel video data stream is achieved.Experiment results show that this design scheme can achieve rapid and accurate transmission of video data. It also greatly improves the transmission efficiency and reliability.