摘要
设计一种RTSP嵌入式视频监控系统。该系统基于服务器/客户端的模式,用户使用PC机通过以太网实时监控观测对象。系统基于DM3730ARM-Linux平台,通过V4L2接口从摄像头采集视频,通过第三方库libswscale将采集的视频数据转换为YUV420P格式,利用x264对视频数据进行编码;再将上述采集编码系统与Live555开源工程结合,在Live555中构建新的source类,该source类直接从摄像头取数据、编码并输出H264视频流,将此视频流通过RTSP协议传输到客户端,实现整个视频服务器的构建。测试结果表明客户端播放器能够流畅地播放视频数据,系统稳定可靠。
A RTSP embedded video monitoring system is designed.The system uses the Client/Server model and users can monitor obser-vation objects by using PC via Ethernet.On the basis of DM3730 ARM-Linux platform,videos are captured from camera through V4L2 interface.These data are converted to YUV420P format by third-party library libswscale and encoded by x264.Combining above acquisi-tion coding system with Live5 5 5 open source proj ect,new source class is constructed in Live5 5 5 .The source class gets data directly from the camera,encodes the data and outputs H264 video stream,then the video stream is transported to the client via RTSP protocol,so that the whole video server is achieved.Test results show that the client player can play video data smoothly,and the system is stable and re-liable.
出处
《单片机与嵌入式系统应用》
2014年第10期68-71,共4页
Microcontrollers & Embedded Systems