Hardware characteristics:
• DeepStream 5.0.1
• JetPack Version 4.4.1
• TensorRT Version 7.1.3.0
• Jetson Nano
I tried to launch several deepstream python apps from (GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications ).
I could test deepstream-test1 sample and everything was okay. But cannot test this sample deepstream-test1-usbcam .
I got this, when enter the command python3 deepstream_test_1_usb.py /dev/video0 :
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)
Amycao
December 28, 2020, 5:19am
3
How about output of v4l2-ctl -d /dev/video0 --list-formats?
Thanks for response.
Here is the result of the command: v4l2-ctl -d /dev/video0 --list-formats
Amycao
December 31, 2020, 6:08am
5
Camera detected and seems good.
Can you run with deepstream-app -c samples/configs/deepstream-app/source1_usb_dec_infer_resnet_int8.txt?
Amycao
January 5, 2021, 8:02am
7
run from here, /opt/nvidia/deepstream/deepstream-5.0
It works! The stream started with about 20 FPS. But what about Python apps?
Amycao
January 5, 2021, 8:15am
9
I found the issue. It is necessary to set number of frames per second (FPS) in deepstream-test1-usb.py that is supported by the camera. It turned out that mine supports only 6 FPS for FHD resolution.
Thanks. We can close the issue.