http://www.linuxsir.org/main/node/221?q=node/221
The above post is about the camera (WebCam) in Linux using Spcaserv set up network Video Monitoring Server (V0.1B).
Here I will simply talk about Linux install Linux camera driver.
In the new Linux kernel there is a majority of USB camera drivers. So you can choose to
This article explains how to configure the Linux kernel to implement its support for USB cameras.
1, configure the kernel; Allow the following command to configure the Linux kernel
[HTML] view plain copy print? Make Menuconfig2, enable the camera support, the last step according to their own needs to choose the camera configuration.
Device Drivers--->
[*] Vide
I wrote two articles in front to illustrate the zc301 of the implementation of the specific see http://blog.csdn.net/hclydao/article/details/21235919The following by the way the general USB is also written on the front of the ZC301 get to the format is JPEG so do not have to do what processing can be used to display, but the standard UVC gets to the YUV422 format needs to be converted to RGB before it can be displayed here we in the previous two code
I. EnvironmentHost environment: ubuntu 10.10Target machine: FS2410 (S3C2410)Host tool chain: gcc-4.4.5Cross tool chain: arm-none-linux-gnueabi-gcc-4.3.2Camera: ZC301Ii. porting process1. Configure the kernel as the kernel supporting the ZC301 camera.Make menuconfigDevice Drivers --->[*] Enable Video For Linux API 1 (DEPRECATED) (NEW)[*] Video capture adapters (NEW) --->[*] V4L USB devices (NEW) --->[*] UVC input events device support (NEW)2. recompile
On the internet for a long time, the information on the internet is basically said to use a foreigner to write the library, but in fact the case of this library is not directly used (because of the permissions problem), not suitable for learning.Later, it was discovered that the library was re-encapsulated, and there are source code and Chinese tutorials:http://blog.csdn.net/andrexpert/article/details/78324181Https://github.com/jiangdongguo/AndroidUSBCameraAnother way of thinking is to use OPENC
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.