How can I Turn on the usb uvc camera and sendout the stream through internet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I Turn on the usb uvc camera and sendout the stream through internet

1,505 Views
raymond1
Contributor I

I have an IMX6ULL EVM board, and this is my EVM kernel info

             ID="fsl-imx-xwayland"
             NAME="NXP i.MX Release Distro"
             VERSION="4.9.88-2.0.0 (rocko)"
             VERSION_ID="4.9.88-2.0.0"
             PRETTY_NAME="NXP i.MX Release Distro 4.9.88-2.0.0 (rocko)"

when I connect an usb uvc camera on the EVM board, and the system find the camera info

            new high-speed USB device number 5 using ci_hdrc
            uvcvideo: Found UVC 1.00 device USB Camera (0bda:3035)
            input: USB Camera as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1
             /usb2/2-1/2-1.3/2-1.3:1.0/input/input6

I have use "v4l2-ctl --list-devices" to find my devices 

             USB Camera (usb-ci_hdrc.1-1.3):
              /dev/video2 

1. How can I turn on the camera? and get the video data?

2. How to Send out the camera data through internet (http or udp protocol) ?   

0 Kudos
1 Reply

1,422 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rong

one can check below resources:

Webcam (Linux) 

USB Video Class Gadget Library | UVC Driver Linux | UVC Linux 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos