Nvidia Jetson平台 JP4.2.1版本GStreamer视频采集异常问题调试记录

1. 前言

Nvidia Jetson平台GStreamer in JP4.2.1不能采集

但是 v4l2-ctl和 ffmpeg能正常采集视频

2. 问题描述

最近从JP3.3转移到JP4.2.1,

在TX2系统中有一个带有自定义驱动程序的模拟视频捕获卡。

在3.3中没有捕获模拟视频的问题,

但在4.2.1中在启动GStreamer-时得到了这个错误。

gst-launch-1.0 v4l2src device="/dev/video100" ! 'video/x-raw, width=(int)704, height=(int)480, format=(string)UYVY' ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video100' has no supported format
Additional debug info:
gstv4l2object.c(3760): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Call to S_FMT failed for UYVY @ 704x480: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freein

猜你喜欢

转载自blog.csdn.net/jzwjzw19900922/article/details/126303523