Please provide complete information as applicable to your setup.
• Hardware Platform (DGPU) • DeepStream Version - 6.2 • JetPack Version (valid for Jetson only) • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) - 535 • Issue Type( questions, new requirements, bugs) - Questions • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
[Note: I am using NV Docker container]
I am trying to run deepstream gst pipeline using v4l camera.
Some point to note that I am able to successfully do the below things
Able to run “deepstream-app -c source1_usb_dec_infer_resnet_int8.txt”
Able to check the device by v4l2-ctl -d /dev/video0 --list-formats-ext. Below is the output
Type: Video Capture
I am getting error as below “WARNING: erroneous pipeline: could not link v4l2src0 to nvvideoconvert0, nvvideoconvert0 can’t handle caps video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)30/1”
But it is still giving the same error
WARNING: erroneous pipeline: could not link v4l2src0 to nvvideoconvert0, neither element can handle caps video/x-raw, format=(string)YUYV, width=(int)640, height=(int)480, framerate=(fraction)30/1
BTW, Earlier I had set it to YUY2 (even though my format is YUYV) based on one of the comment from NVIDIA member on this post.
However, even if I give YUYV, it still throws same error
Command used this time :
gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw,format=YUYV,width=640,height=480,framerate=30/1’ ! nvvideoconvert ! ‘video/x-raw(memory:NVMM),format=NV12’ ! m.sink_0 nvstreammux name=m batch-size=1 width=1280 height=720 ! fakesink
When I run “deepstream-app -c source1_usb_dec_infer_resnet_int8.txt”, the video runs smoothly without any lag.
However, when I try the below gst pipeline, the video lags a lot and not smooth and I also get message like “WARNING: from element /GstPipeline:pipeline0/GstEglGlesSink:eglglessink0: A lot of buffers are being dropped.”