HI, all:
I have a problem about tx2 camera.
I write a camera driver, and the v4l2-ctrl is ok. I can get picture through command v4l2-ctrl. But gstreamer is error.
nvidia@tegra-ubuntu:~/Desktop$ v4l2-ctl --set-fmt-video=width=1280,height=727 --stream-mmap --stream-count=100 -d /dev/video0 --stream-to=ar0140.raw
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 29.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 29.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 29.00 fps
<<<<<<<<<<<<
nvidia@tegra-ubuntu:~/Desktop$
nvidia@tegra-ubuntu:~/Desktop$ gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)727, framerate=(fraction)30/1' ! xvimagesink -v
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.092332800 5451 0x5568a0 DEBUG v4l2src gstv4l2src.c:300:gst_v4l2src_negotiate:<v4l2src0> caps of src: video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspe1
0:00:00.092473728 5451 0x5568a0 DEBUG v4l2src gstv4l2src.c:308:gst_v4l2src_negotiate:<v4l2src0> caps of peer: video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)727, framerate1
0:00:00.092502720 5451 0x5568a0 DEBUG v4l2src gstv4l2src.c:316:gst_v4l2src_negotiate:<v4l2src0> intersect: EMPTY
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(2939): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000329184
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Thanks.