cd deepstream_python_apps/apps/deepstream-test1-usbcam
python3 deepstream_test_1_usb.py /dev/video1
got:
Creating Pipeline
Creating Source
Creating Video Converter
Unable to create NvStreamMux
Unable to create pgie
Unable to create nvosd
Creating nv3dsink
Unable to create nv3dsink
Playing cam /dev/video0
Traceback (most recent call last):
File "/opt/nvidia/deepstream/deepstream-6.4/sources/deepstream_python_apps/apps/deepstream-test1-usbcam/deepstream_test_1_usb.py", line 280, in <module>
sys.exit(main(sys.argv))
File "/opt/nvidia/deepstream/deepstream-6.4/sources/deepstream_python_apps/apps/deepstream-test1-usbcam/deepstream_test_1_usb.py", line 213, in main
streammux.set_property('width', 1920)
AttributeError: 'NoneType' object has no attribute 'set_property'
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
If your device is a dGPU, the correct command should be the following.
There are some subtle differences between dGPU and Jetson,This will affect the operation of deepstream
docker run --gpus all -it --rm --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.4 deepstream:6.4-triton-multiarch