Home > OS >  Using usb on s3c2440 camera video files stored
Using usb on s3c2440 camera video files stored

Time:11-22

I bought tian-xiang guo tx2440 board, you need to use the usb camera to realize network video monitoring, taking pictures, the local video store
Have been implemented:
1. Use mjpg_streamer, can be input in the browser: http://192.168.1.19:8080/? Action=stream to view the usb camera video, can also run on Windows mjpg_streamer own client program to view video
2. Can through the command: mjpg_streamer -i "/lib/input_uvc. So - d/dev/video0" -o "/lib/output_file. So - f/ms/camera/PIC - 1000 d"
Implementation of 1 second photo a

Question:
1. The need to implement camera, through the command: mjpg_streamer -i "/lib/input_uvc. So - d/dev/video0" -o "/lib/output_file. So - f/ms/camera/PIC - 1000 d" can only achieve 1 s pictures once, but will not be able to watch video in remote at this time, and I need to take pictures only one ends after taking pictures, don't need continuous shooting
2. Need to implement video store

Check it on the website of the solution:
1. Can be directly realized by c program, transplantation jpeg library and x264 library to implement the storage of h. 264 video files, I tried, but because of his knowledge is limited, failed to achieve
2. Use mjpg_streamer will receive each frame of video storage for pictures, and then through the opencv image to a video file, this will not do

Extension:
What should you do if I want to achieve more cameras, such as tx2440 development board has four usb interface, whether can mount 4 usb camera, can use it at the same time

Puzzled for a long time, thank you for your answer

CodePudding user response:

Excuse me, would you please tell me how to solve, I also want to consider your code, engineering can send email 792476795 @qq.com
  • Related