为了解决闯红灯抓拍系统中的视频传输和监控问题,文中设计并实现了一个基于嵌入式DM6446和DirectShow的网络视频监控系统。服务端采集设备基于DM6446获取视频,经过H.264压缩编码、采用RTP对视频帧进行数据打包后经网络发送出去。客户端采用DirectShow技术,实现对RTP数据包的接收和视频帧重组,然后经过复分解滤波器、解码滤波器和渲染滤波器完成实时播放,同时在应用程序中开发源滤波器,简化开发流程和程序的调试,最终结合MFC实现视频监控软件。测试结果表明系统在带宽很低的网络情况下仍具有良好的监控效果和稳定性。
To solve the problem of video transmission and monitoring in the video capture for running the red light,design and realize a network video monitoring system based on embedded DM6446 and DirectShow. Server acquisition device obtains video based on DM6446 and sends the video information via network after compressing code using H. 264 and packaging the video frame by RTP. The client-side implements the receiving of the RTP packets and the reorganization of the video frame using the DirectShow technology,completing real-time playback after the double decomposition filter,decoding filter and rendering filter,developing the source filter in the application program at the same time,simplifying the development process and the program debugging. Finally combined MFC,realize video monitoring software. Test shows that system under the condition of low bandwidth network still has good monitoring effect and stability.