Jetson AGX Orin device receive uvc streaming and decode display failed

Hi,I use follow command to receive uvc stream,but failed

DISPLAY=:1 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-h264,width=2560,height=720,framerate=30/1 ! h264parse ! avdec_h264 ! videoconvert ! video/x-raw ! xvimagesink sync=0

error as follow:

I have confirm in windows use potplay,it have stream

Hi,
Seems like software decoder is absent in your environment. Please try hardware decoder:

DISPLAY=:1 gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-h264,width=2560,height=720,framerate=30/1 ! h264parse ! nvv4l2decoder ! nvegltransform ! nveglglessink sync=0

front usb camera device report the error as log.txt
log.txt (16.4 KB)

rear nvidia device as the follow:

Hi,
It looks like hardware decoder cannot decode the stream. Please check if the camera supports other formats such as YUV422.

support yuv420

What command is used to display YUV?

Hi,
Please refer to
Using gst-launch-1.0 pipeline to Receiving (on target) : Network Source + video decode + video render - #14 by DaneLLL

The guidance is in FAQ.

Please run the command and share the prints for reference:

$ v4l2-ctl -d /dev/video0 --list-formats-ext

image

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.