AnsweredAssumed Answered

Does  mxc-vpu-test support USB camera (UVC)?

Question asked by William Ho on Jul 9, 2014
Latest reply on Jul 9, 2014 by igorpadykov

Dear all,

 

I am wondering if mxc-vpu-test supports USB web-cam (UVC).

My i.MX6Q  platform runs iMX6_jb4.3.1.0.0 BSP.

I tested a Logitech web-cam C615.

Here is the message from Linux dmesg:

 

[  ] usb 2-1.3.1: new high speed USB device number 7 using fsl-ehci

[  ] uvcvideo: Found UVC 1.00 device HD Webcam C615 (046d:082c)

[  ] input: HD Webcam C615 as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.3/2-1.3.1/2-1.3.1:1.2/input/input5

 

Then I got a new device node of Logitech web-cam:  /dev/video2

But I got error message on encoding/loopback with this device.

Here are error message:

 

#mxc-vpu-test -E ' -x 2 -w 640 -h 480 -f 2 -t 1 -c 180 -o webcam.mp4'

[INFO]    VPU test program built on Jun 30 2014 14:57:52

[INFO]    VPU firmware version: 2.3.10_r40778

[INFO]    VPU library version: 5.4.14

[INFO]    Format: STD_AVC

[INFO]    AVC

[INFO]    Output file "webcam.mp4" opened.

[INFO]    Capture/Encode fps will be 30

VIDIOC_DBG_G_CHIP_IDENT failed.

 

#mxc-vpu-test -L '-x 2 -w 720 -h 480 -f 2'

[INFO]    VPU test program built on Jun 30 2014 14:57:52

[INFO]    VPU firmware version: 2.3.10_r40778

[INFO]    VPU library version: 5.4.14

[INFO]    Format: STD_AVC

[INFO]    AVC

[INFO]    Capture/Encode fps will be 30

VIDIOC_DBG_G_CHIP_IDENT failed.

 

Is there anyone tested mxc-vpu-test OK with USB webcam?

Can you tell me which one webcam is well supported?

Outcomes