ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.

I use imx219 sensor,jetson TX1 and R28.2

I run the command have some errors.

gst-launch-1.0 -v v4l2src device=/dev/video0 num-buffers=1 ! "video/x-bayer, format=rggb, width=3280, height=2464" ! filesink location=test_3280x2464.bayer

errors.

nvidia@tegra-ubuntu:~$ gst-launch-1.0 -v v4l2src device=/dev/video0 num-buffers=1 ! "video/x-bayer, format=rggb, width=3280, height=2464" ! filesink location=test_3280x2464.bayer
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
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)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
nvidia@tegra-ubuntu:~$

hello sensor_test,

may i have more details about why you need v4l2src to access the camera sensor?
please use v4l2-ctl to dump raw files, and using nvcamerasrc for camera preview use-case.
thanks

Can you please tell me the command info.
How can use v4l2-ctl to dump raw files?
How can use nvcamerasrc for camera preview?

hello sensor_test,

please check the [Release 28.2 Development Guide] in the L4T documentation,
please refer to [Camera Development]-> [Camera Software Development Solution] for examples.
thanks