Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of making Video to display the contents of the camera in Linux system

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "Linux system production Video camera content display method", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "Linux system production Video camera content display method"!

Upgrade the kernel:

1. The kernel I use here is the linux-2.6.32.59 version. Download this kernel first.

two。 After downloading, copy it to Linux and decompress it, tar jxvf linux-2.6.32.59.tar

3. Enter the linux-2.6.32.59 directory and copy the configuration files of the current kernel to the current directory

Cp / boot/config-2.6.18-238.e15. /. Config because the kernel I am currently using is the linux-2.6.18 version

4. After configuring the driver make menuconfig required for the video to enter, find Device Drivers, press enter, find MultiMedia Support, press the space bar to select, then press the enter key to find Video For Linux, press the enter key to select, then press the space key to select Video capture adapters, press the enter key to enter to find V4L USB devices, press the space key to select, and then press the enter key to find USB ZC0301 [P] ImageProcessor and Control Chip support press the space key to select. And then find "M" GSPCA based webcams à first press the space key to select and then press enter to enter and select ZC3XX USB Camera Driver under the menu of the last item

5. After the above configuration, return to the top-level menu again, find General setup- à and press enter to find [] enable deprecated sysfs features which may confuse old usersp and press the Spacebar to select.

6. After 4 and 5 steps, the driver of the video has been configured to exit and save.

7. It will take about an hour to compile make.

8. Make modules_install again

9. Make install again

10. At this point, check to insert the camera into the USB to see if there is already a video0 in the device file. Use the ls / dev/ command to check.

11. If there is a description that the installation is successful

These are the steps for kernel upgrade

The following is to display the contents of the camera.

1 first install the http://www.libsdl.org/release/SDL-1.2.14.tar.gz library and download SDL here

two。 Decompress the tar zxvf SDL-1.2.15.tar

3. Enter the directory cd SDL-1.2.15 and then enter the test directory. Cd test is configured under the test directory. / configure

If you do make, there will be many compiled programs that can be run at random.

4. Find the servfox-R1_1_3 folder in the data folder I uploaded and change the name of Makefile.i386 to Makefile first after entering

5. Compile make

6. Find the spcaview-20061208 folder in the data folder I uploaded and make directly after entering it.

7. Then plug the camera into the USB interface and first run the servfox in the servfox-R1_1_3 folder.

. / servfox if there is an error, find the printed error statement in spcav4l.c and delete the error message until there is no error

Run again

. / servfox-g-w 127.0.0.1 7070-d / dev/video0

8. Run spcaview again. / spcaview-g-w 127.0.0.1 purl 7070

At this point, the video captured by the camera should be displayed on your virtual machine. Note that the project supports the network at this time.

Thank you for your reading. the above is the content of "the method of making Video to display the contents of the camera in Linux system". After the study of this article, I believe you have a deeper understanding of the method of making Video to display the contents of the camera in Linux system, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report