nvidia@tegra-ubuntu:~$ gst-launch-1.0 v4l2src device=/dev/video0 ! “video/x-raw, format=(string)UYVY, width=(int)2560, height=(int)800” ! nvvidconv ! “video/x-raw(memory:NVMM), format=(string)I420, width=(int)2560, height=(int)800” ! nvoverlaysink async=false sync=false
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.130311648
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
The same pipeline is working well in L4T 27.1-TX2, Is there any fix for this problem?
The yuv sensor driver is refer to ov5693, Is there anything wrong for my driver?
I use command as follows:
1.v4l2-ctl -d /dev/video0 --set-fmt-video=width=2560,height=800,pixelformat=UYVY --stream-mmap --stream-count=100 --stream-skip=0 --stream-to=test.uyvy
Hi cloundliu,
We have ‘UYVY’ USB camera/YUV sensor source. All can be run via v4l2-ctl/yavta, but when running with gstreamer v4l2src, we have to set it to ‘I420’. This happens on both r27.1 and r28.1.
So please try’I420’ in your case. And may other users can share experience about using gstreamer v4l2src.
I have try ‘width=(int)2560, height=(int)800’, but it is no effect.
I just want to know if I want to add a yuv sensor on TX2, what should I do for driver?
I have add it both for R27.1 and R28.1, It works well on R27.1 by using v4l2src.
Is there anything different between this???