Video device did not suggest any buffer size

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 450.80.02
• 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)

hi , i have a video file, which i need to deal with ds, but the nvv4l2decoder can not decode corrent, my pipeline like this :

gst-launch-1.0 -v nvstreammux name=mux width=1920 height=1080 batch-size=1 ! nvstreamdemux name=demux urisourcebin uri=https://xxx.mp4 ! qtdemux name=qtdemux qtdemux.video_0 ! ‘video/x-h264, stream-format=(string)avc, alignment=(string)au’ ! h264parse name=h264parseI ! ‘video/x-h264,stream-format=(string)byte-stream’ ! nvv4l2decoder cudadec-memtype=2 num-extra-surfaces=4 ! ‘video/x-raw(memory:NVMM),format=NV12’ ! mux.sink_0 demux.src_0 ! nvvideoconvert ! nvv4l2h264enc ! h264parse ! filesink location=aaa.mp4

output:
Setting pipeline to PAUSED …
Pipeline is PREROLLING …
/GstPipeline:pipeline0/GstURISourceBin:urisourcebin0: source = “(GstSoupHTTPSrc)\ source”
Got context from element ‘source’: gst.soup.session=context, session=(SoupSession)NULL, force=(boolean)false;
/GstPipeline:pipeline0/GstURISourceBin:urisourcebin0/GstTypeFindElement:typefindelement0.GstPad:src: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstURISourceBin:urisourcebin0/GstQueue2:queue2-0.GstPad:sink: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstURISourceBin:urisourcebin0/GstQueue2:queue2-0.GstPad:src: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstURISourceBin:urisourcebin0.GstGhostPad:src_0: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstQTDemux:qtdemux.GstPad:sink: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstURISourceBin:urisourcebin0.GstGhostPad:src_0.GstProxyPad:proxypad0: caps = video/quicktime, variant=(string)iso
/GstPipeline:pipeline0/GstCapsFilter:capsfilter3: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au
/GstPipeline:pipeline0/GstCapsFilter:capsfilter3.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1, profile=(string)main, codec_data=(buffer)014d000affe1000a674d000a965402802d8801000468ee3c80, width=(int)1280, height=(int)720, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstH264Parse:h264parseI.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1, profile=(string)main, codec_data=(buffer)014d000affe1000a674d000a965402802d8801000468ee3c80, width=(int)1280, height=(int)720, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter3.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)1, profile=(string)main, codec_data=(buffer)014d000affe1000a674d000a965402802d8801000468ee3c80, width=(int)1280, height=(int)720, framerate=(fraction)10/1, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstH264Parse:h264parseI.GstPad:src: caps = video/x-h264, parsed=(boolean)true, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)720, framerate=(fraction)10/1
/GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709, framerate=(fraction)0/1
ERROR: from element /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0: Video device did not suggest any buffer size.
Additional debug info:
gstv4l2object.c(4781): gst_v4l2_object_decide_allocation (): /GstPipeline:pipeline0/nvv4l2decoder:nvv4l2decoder0
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …

and some extra info about the video i used from ffmpeg:
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘T_005.mp4’:
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2022-03-21T07:43:37.000000Z
Duration: 00:00:30.04, start: 0.000000, bitrate: 1896 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 1834 kb/s, 10 fps, 10 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2022-03-21T06:57:32.000000Z
Stream #0:1(und): Audio: pcm_alaw (alaw / 0x77616C61), 8000 Hz, mono, s16, 64 kb/s (default)
Metadata:
creation_time : 2022-03-21T06:57:32.000000Z

I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks

Please upload the video file for analysis.

Have you tried the following pipeline?

gst-launch-1.0 -v uridecodebin uri=https://xxx.mp4 ! fakesink