• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (3): 108-112.

• 论文 • 上一篇    下一篇

一种支持B/S模式的网络摄像机的实现

李岗,糜元根   

  1. (南京工业大学电子与信息工程学院,江苏 南京 211816)
  • 收稿日期:2011-03-01 修回日期:2011-05-24 出版日期:2012-03-26 发布日期:2012-03-25

Realization of a Web Camera Supporting the  B/S Pattern

LI Gang,MI Yuangen   

  1. (School of Electronics and Information Engineering,
    Nanjing University of Technology,Nanjing 211816,China)
  • Received:2011-03-01 Revised:2011-05-24 Online:2012-03-26 Published:2012-03-25

摘要:

本文介绍了一种基于S3C2440处理器和mjpgstreamer软件的支持B/S(浏览器/服务器)模式网络摄像机的实现方法,S3C2440作为网络摄像机的主处理芯片,配以USB接口的摄像头和DM9000网络芯片组成基本硬件结构,完成视频拍摄和网络传输功能;使用uboot和Linux作为软件架构中的bootloader和嵌入式操作系统,重点分析了mjpgstreamer视频流处理软件的编译、功能和移植方法,最终实现了使用浏览器对网络远端摄像头采集的视频图像实时浏览的功能。

关键词: 网络摄像机, mjpgstreamer, S3C2440, 嵌入式系统, Linux, 通用系统引导加载程序

Abstract:

This paper introduces the realization of a web camera supporting the  B/S(Browser/Server) pattern based on S3C2440 CPU and the mjpgstreamer software. The basic hardware structure consists of the S3C2440 which is the main processor of the network camera, the camera with USB interfaces and the DM9000 net chip, which is used to take and transmit pictures. The uboot and Linux are used as the bootloader and the embedded operation system respectively in the software system. The mjpgstreamer is the software to manage picture stream, which focuses more on the method of compiling, function and porting. In the end, the function by which the  realtime video pictures taken by distant network cameras can be watched through a browser is realized.

Key words: web camera;mjpgstreamer;S3C2440;embedded system;Linux;uboot