Jetson camera Gstreamer error

Hi everyone, i dont know how to fix it even after searching for a while, and i don’t know why this Jetson act like this before is working perfecly but now i get this error messages:

[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (1757) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error.
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (515) startPipeline OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have

Here are the source code

net = jetson_inference.detectNet(
    model=model_path, 
    labels=labels_path,
    input_blob='input_0',
    output_cvg='scores',
    output_bbox='boxes', 
    threshold=threshold
    )

camera = cv.VideoCapture(0)
camera.set(3, 640)
camera.set(4, 480)

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Hi @TrickyCV, does your cv.VideoCapture() program work on it’s own? Not sure this is related to jetson-inference. What does ls /dev/video* show for you?

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