This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM62A: Problem with displaying video from USB camera as input to HDMI port as output, using Gstreamer.

Part Number: PROCESSOR-SDK-AM62A

Hi all,

I am trying to display a video captured using a USB camera - LI-IMX424-GW5400-FPDLINKIII

 using the HDMI output port.

I have managed to make it work using a standard Logitec webcam withthe following Gstreamer command:

gst-launch-1.0 v4l2src device="/dev/video2" ! video/x-raw, width=1024, height=576, framerate=15/1 ! kmssink driver-name=tidss

It work well, except that the default app is still running in the background (this is not the issue).

I Have tried different methods to run the USB camera (LI-IMX424-GW5400-FPDLINKIII ) on the AM62A,
But I cannot get it right.
First - when I try to get the supported format (v4l2-ctl --list-formats -d /dev/video2) I get an error, but the video format of the YUYV channel is currect.
When I run these commands on my personal computer it shows no error message so the camera is not the issue and I can view the video using qv4l2 app.
root@am62axx-evm:/opt/edgeai-gst-apps# v4l2-ctl --list-formats -d /dev/video2
[ 3991.305180] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 2: -32 (exp. 2).
[ 3991.313382] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 2: -32 (exp. 2).
[ 3991.322463] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 2: -32 (exp. 2).
[ 3991.330890] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 2: -32 (exp. 2).
[ 3991.339324] uvcvideo: Failed to query (GET_DEF) UVC control 7 on unit 2: -32 (exp. 2).
[ 3991.347592] uvcvideo: Failed to query (GET_DEF) UVC control 11 on unit 2: -32 (exp. 1).
[ 3991.356095] uvcvideo: Failed to query (GET_DEF) UVC control 9 on unit 2: -32 (exp. 2).
[ 3991.365018] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 2: -32 (exp. 1).
[ 3991.373226] uvcvideo: Failed to query (GET_CUR) UVC control 11 on unit 2: -32 (exp. 1).
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'YUYV' (YUYV 4:2:2)
The next step I've done is to run the following Gstreamer command:
gst-launch-1.0 v4l2src device="/dev/video2" ! video/x-raw, width=640, height=480 ! kmssink driver-name=tidss
 
But the default app is still the one that displays using HDMI.
I guess I need to idle the demo app and then run the gst line but I didn't mange to find any reference.