Drive develops reading notes. 0.06 preliminary knowledge of embedded Linux video development
Because the graduation design chooses the embedded Linux video development related project, then looked for the related material, below is the preliminary knowledge
UVC:
UVC, all known as: USB Video class or USB Video device class. is the protocol standard defined by Microsoft and several other device vendors for USB video capture devices, and is now one of the USB org standards.
UVC Linux Driver:
The UVC Linux driver needs to be selected when compiling the kernel
Configuring the Kernel
Device Drivers---> <*> multimedia Support---> <*> Video for Linux [1 (DEPRECATED) [*] Video capture Adapters---> [*] V4L USB devices---> <*> USB Video Class (U VC) [*] UVC input Events device Support [*] GSPCA based Webcams--->
(using the selection of the UVC core board, as long as the UVC-compliant USB camera inserted into the board, it can be recognized, the/dev directory to automatically create video* files)
How do you know if the camera in your hand meets the UVC standard? :
Using the LSUSB command, see the link in detail
http://blog.csdn.net/jason6765599/article/details/19907263
That brand of camera meets the requirements? :
Simple way, a treasure inside search "arm9+ camera"
After inserting the camera, it appears: "UVCVIDEO:UVC non compliance-get_def (PROBE) not supported. Enabling Workaroun ":
Your webcam is not suitable for the UVC camera. Although the device files are available, your webcam does not work properly.
On the Internet to see the fuzzy solution: 1. First uninstall the UVC camera driver. 2. Load the driver for your own camera.
(As far as I know, if this uninstall driver refers to the whole UVC Linux Driver, if you compile into the kernel, the method of unloading only recompile the kernel)
If you insert a prompt that does not appear non compliance , and you have created a new video* file in the/dev directory:
Then you can program it with this file.
Programming Api--v4l2:
Video 4 Linux 2; You can use this API to complete the programming of videos
The
Drive develops reading notes. 0.06 embedded Linux video development preparation knowledge