Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)–Jeston TX2 • DeepStream Version–Deepstream5.1 • JetPack Version (valid for Jetson only)–Jetpack4.5.1 • TensorRT Version–TensorRT7.1.3 • NVIDIA GPU Driver Version (valid for GPU only)
**• Issue Type( questions, new requirements, bugs)**questions • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)–want to make sure how the Deepstream can read the data from Multiple USB camera ,what’s the working logic and the steps is ?
we use the display connect to the TX2 then direction operation into the TX2 can success running the sample test .there is a new found is the same config ‘yuy2’ mode Very smooth, very stuck when running in mjpg mode, do you know the reason ?
aiu@aiu-desktop:~$ gst-launch-1.0 v4l2src device=/dev/video2 io-mode=2 ! image/jpeg,framerate=25/1,width=480,height=320 ! jpegparse ! nvv4l2decoder mjpeg=1 ! nvoverlaysink
Setting pipeline to PAUSED …
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
NvMMLiteOpen : Block : BlockType = 277
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 277
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-negotiated (-4)
Execution ended after 0:00:00.215651610
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
face this one error
Hi,
Before customizing deepstream-test1-usbcam, we suggest have a working gst-launch-1.0 command for MJPEG decoding, so that you can do customization based on the command. For launching USB cameras, please refer to Jetson Nano FAQ
[Q: I have a USB camera. How can I launch it on Jetson Nano?]
You would need to configure exact format/width/height/framerate of the v4l2 source(USB camera)