Hello ! Im using jetson nano dev kit. For AI application, i have integrated 2 usb cameras for face recognition. Suddenly it causes Segmentation Fault and it remains.
I have tried every possible solution either updating nvargus folder or cache files removal but none fixed my issue.
this is the details of two usb cameras and the gstream pipeline im using . Please validate it.
Also if it is wrong , is this the issue behind Segfault.
gst-launch-1.0 v4l2src device=/dev/video0
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 stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-linked (-1)
Execution ended after 0:00:01.328765919
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
Hi @aymen.baig,
Its good to check if the camera will let frames flow at all. Also check if maybe using a raw format works:
gst-launch-1.0 v4l2src device=/dev/video1 ! ‘video/x-raw,format=YUY2,width=1920,height=1080’ ! nvvideoconvert ! fakesink silent=false -v
One thing i would like to add is that I did not face seg fault every time. when my camera units tried multiple connect attempts then jetson nano throws segfault
This error seems to show that there is no /dev/video entry which would only happen if the camera is not actually connected. Also, is your use case to capture images or are you attempting to capture video?