when I run the sample deepstream-test1-usbcam from deepstream_python_apps, it met an error such as:
Error: gst-stream-error-quark: Internal data stream error. (1): gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:usb-cam-source:
streaming stopped, reason not-negotiated (-4)
I have no solution from your advice, and when I run the command " gst-launch-1.0", it displays as follow:
tesco-yu@tescoyu-desktop:/$ gst-launch-1.0 videotestsrc ! nvvidconv ! nvegltransform ! nveglglessink
nvbuf_utils: Could not get EGL display connection
Setting pipeline to PAUSED …
Using winsys: x11
ERROR: Pipeline doesn’t want to pause.
Setting pipeline to NULL …
Freeing pipeline …
Hi,
Please provide the information: • Hardware Platform (Jetson / GPU) • DeepStream Version • JetPack Version (valid for Jetson only) • TensorRT Version • Issue Type( questions, new requirements, bugs)
This error print is not expected:
nvbuf_utils: Could not get EGL display connection
Suggest you run other samples and check if it is still printed. If yes, it is better to re-flash the system image.
Thanks for your response,my information as follow: • Hardware Platform (Jetson / GPU):jetson xaiver nx • DeepStream Version:deepstream-5.1 • JetPack Version (valid for Jetson only):4.5 • TensorRT Version:7.1 • Issue Type( questions, new requirements, bugs):
I was able to run the pipeline with inference on a mjpg stream with the following pipeline:
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! ‘image/jpeg,width=1920,height=1080,framerate=30/1’ ! jpegparse ! jpegdec ! videoconvert ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=NV12’ ! mux.sink_0 nvstreammux live-source=1 name=mux batch-size=1 width=1920 height=1080 ! nvinfer config-file-path=/opt/nvidia/deepstream/deepstream-5.1/sources/deepstream_python_apps/apps/deepstream-test1-usbcam/dstest1_pgie_config.txt batch-size=1 ! nvmultistreamtiler rows=1 columns=1 width=1920 height=1080 ! nvvideoconvert ! nvegltransform ! nveglglessink
But how can I write it to the “deepstream-test1-usbcam.py”.