Nvv4l2camerasrc not working

I made a custom driver which is working with the following two pipelines

 gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! xvimagesink
v4l2-ctl --device /dev/video0 --stream-mmap --stream-to=frame.raw --stream-count=1 --set-ctrl bypass_mode=0

but when I try to work with the following pipeline I am not getting video

 gst-launch-1.0 nvv4l2camerasrc ! nvvidconv ! nvoverlaysink

the error I get is

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstNvV4l2CameraSrc:nvv4l2camerasrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstNvV4l2CameraSrc:nvv4l2camerasrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.089173590
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …

The dmesg log is
dmesg.log (3.5 KB)

Kindly someone help me figure out this issue.
Thanks in Advance.

Suppose nvv4l2camerasrc and v4l2src don’t support Bayer raw output.


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