Gst pipeline using rtspsrc and nvv4l2decoder doesn't work in deepstream-6.1.1 anymore

Hi,

During the migration from deepstream-5.1 to 6.1.1, we encountered problem with our Gst pipeline. It used to work in the 5.1 environment. Now, it says Stream format not found, dropping the frame.

$ gst-launch-1.0 rtspsrc location=rtsp://<ip>:8554/stream0 ! application/x-rtp,media=video ! parsebin ! nvv4l2decoder ! fakesink

libEGL warning: DRI3: failed to query the version
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE 
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<ip>:8554/stream0
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
...


parsebin-nvv4l2decoder.dot (39.0 KB)

Replacing parsebin ! nvv4l2decoder with decodebin solves the problem.

$ gst-launch-1.0 rtspsrc location=rtsp://<ip>:8554/stream0 ! application/x-rtp,media=video ! decodebin ! fakesink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<ip>:8554/stream0
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
libEGL warning: DRI3: failed to query the version
Opening in BLOCKING MODE 
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261


decodebin.dot (39.2 KB)

It seems that nvv4l2decoder cannot recognize the input format anymore. Another difference can be found in the above images after rtph264depay0, the output format seems to be different. Maybe parsebin isn’t working as expected. But we don’t know what has changed in the deepstream update and how should we fix it using the current components.

Stream information coming from ffprobe:

$ ffprobe -rtsp_transport tcp rtsp://<ip>:8554/stream0
...
Input #0, rtsp, from 'rtsp://<ip>:8554/stream0':
  Metadata:
    title           : Stream
  Duration: N/A, start: -0.784313, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
  Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp

Thanks and regards.

I use your pipeline with my rtsp source:gst-launch-1.0 rtspsrc location=rtsp://<ip>:8554/stream0 ! application/x-rtp,media=video ! parsebin ! nvv4l2decoder ! fakesink. It works well. So could you open more log with GST_DEBUG=3 and attach your log? Thanks

Hi @yuweiw ,

Thanks for your reply. You can find the new logs below with GST_DEBUG=3 for decodebin, parsebin, and using rtph264depay directly.

Use parsebin → Error

$ GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://<ip>:8554/stream0 ! application/x-rtp,media=video ! parsebin ! nvv4l2decoder ! fakesink
libEGL warning: DRI3: failed to query the version
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE 
0:00:01.415769951 1412703 0xaaaaea9268c0 WARN                    v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:01.415861829 1412703 0xaaaaea9268c0 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaaaea924e40 Failed to determine interlace mode
0:00:01.415939177 1412703 0xaaaaea9268c0 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaaaea924e40 Failed to determine interlace mode
0:00:01.416018638 1412703 0xaaaaea9268c0 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaaaea924e40 Failed to determine interlace mode
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<ip>:8554/stream0
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:01.469691059 1412703 0xaaaaea930d20 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:01.469809018 1412703 0xaaaaea930d20 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:05.529433677 1412703 0xaaaaea931300 FIXME               basesink gstbasesink.c:3246:gst_base_sink_default_event:<fakesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
0:00:05.538394831 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:00.386326230 < 0:00:00.472057518)
0:00:05.538649086 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:00.425254620 < 0:00:00.472057518)
0:00:05.539225951 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:00.536822156 < 0:00:00.582685959)
0:00:05.540717908 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:00.829897650 < 0:00:00.917423297)
0:00:05.540943009 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:00.867924659 < 0:00:00.917423297)
0:00:05.541400508 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:00.984200009 < 0:00:01.027978136)
0:00:05.542701446 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.325404599 < 0:00:01.416798917)
0:00:05.542914002 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.279867841 < 0:00:01.416798917)
0:00:05.543191874 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.360966510 < 0:00:01.416798917)
0:00:05.543445009 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.442569195 < 0:00:01.484747986)
0:00:05.543825095 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.525686728 < 0:00:01.567464941)
0:00:05.544125208 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.609076150 < 0:00:01.650782328)
0:00:05.544912805 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.815370498 < 0:00:01.898792720)
0:00:05.545101008 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.773670498 < 0:00:01.898792720)
0:00:05.556138121 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:01.857081609 < 0:00:01.898792720)
0:00:05.969759631 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:02.315870498 < 0:00:02.399292720)
0:00:06.010191037 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:02.274170498 < 0:00:02.399292720)
0:00:06.050739506 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:02.357581609 < 0:00:02.399292720)
0:00:06.475016603 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:02.816316244 < 0:00:02.899765484)
0:00:06.516902813 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:02.774589442 < 0:00:02.899765484)
0:00:06.560949563 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:02.857973965 < 0:00:02.899765484)
0:00:06.970923439 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:03.316508401 < 0:00:03.399955158)
0:00:07.010781149 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:03.274784062 < 0:00:03.399955158)
0:00:07.052200964 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:03.358171029 < 0:00:03.399955158)
0:00:07.476330692 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:03.775028846 < 0:00:03.858462238)
0:00:07.526668235 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:03.816706743 < 0:00:03.858462238)
0:00:07.564317210 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740c97e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.666097862 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740bc000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.666543967 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740cf5a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.678485420 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740bc7e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.719117830 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740bcc60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.769954569 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740bc240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.810188364 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740d5120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.850702879 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740c9240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.891079307 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740c96c0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.930879349 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740d5360 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.971229599 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740cf000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:07.971366151 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:04.316974977 < 0:00:04.400417433)
0:00:08.011767379 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740c9900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
0:00:08.011931389 1412703 0xaaaaea931300 WARN            videodecoder gstvideodecoder.c:2761:gst_video_decoder_prepare_finish_frame:<nvv4l2decoder0> decreasing timestamp (0:00:04.275254905 < 0:00:04.400417433)
0:00:08.052257893 1412703 0xaaaaea931300 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff740cf480 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
Stream format not found, dropping the frame
...

Use decodebin → OK

$ GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://<ip>:8554/stream0 ! application/x-rtp,media=video ! decodebin ! nvv4l2decoder ! fakesink
libEGL warning: DRI3: failed to query the version
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE 
0:00:01.320768116 1442286 0xaaaaeabf3cf0 WARN                    v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:01.320863481 1442286 0xaaaaeabf3cf0 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaaaeabed470 Failed to determine interlace mode
0:00:01.320953662 1442286 0xaaaaeabf3cf0 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaaaeabed470 Failed to determine interlace mode
0:00:01.321026563 1442286 0xaaaaeabf3cf0 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaaaeabed470 Failed to determine interlace mode
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<ip>:8554/stream0
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:01.359761002 1442286 0xaaaaeabf8120 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:01.359896690 1442286 0xaaaaeabf8120 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested
0:00:01.360658685 1442286 0xaaaaeabf8120 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc1> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:01.360758562 1442286 0xaaaaeabf8120 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc1> have udp buffer of 212992 bytes while 524288 were requested
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:03.460652268 1442286 0xaaaaeabf8120 WARN         rtpjitterbuffer rtpjitterbuffer.c:764:rtp_jitter_buffer_calculate_pts: backward timestamps at server, schedule resync
Opening in BLOCKING MODE 
0:00:05.658995148 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:<nvv4l2decoder1:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:05.659165429 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xffff58048e70 Failed to determine interlace mode
0:00:05.659281244 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xffff58048e70 Failed to determine interlace mode
0:00:05.659372513 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xffff58048e70 Failed to determine interlace mode
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
0:00:05.828660425 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xaaaaeaa84900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.928925726 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:<nvv4l2decoder1:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:05.929047621 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xffff58048e70 Failed to determine interlace mode
0:00:05.929168588 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xffff58048e70 Failed to determine interlace mode
0:00:05.929239152 1442286 0xaaaaeabf8700 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xffff58048e70 Failed to determine interlace mode
0:00:05.930277610 1442286 0xaaaaeabf8700 WARN                 default grammar.y:506:gst_parse_no_more_pads:<decodebin0> warning: Delayed linking failed.
0:00:05.930325261 1442286 0xaaaaeabf8700 WARN                 default grammar.y:506:gst_parse_no_more_pads:<decodebin0> warning: failed delayed linking some pad of GstDecodeBin named decodebin0 to some pad of nvv4l2decoder named nvv4l2decoder0
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Delayed linking failed.
Additional debug info:
./grammar.y(506): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
failed delayed linking some pad of GstDecodeBin named decodebin0 to some pad of nvv4l2decoder named nvv4l2decoder0
0:00:05.930974706 1442286 0xaaaaeabf8700 WARN            v4l2videodec gstv4l2videodec.c:1847:gst_v4l2_video_dec_decide_allocation:<nvv4l2decoder1> Duration invalid, not setting latency
0:00:05.931750749 1442286 0xaaaaeabf8700 WARN          v4l2bufferpool gstv4l2bufferpool.c:1082:gst_v4l2_buffer_pool_start:<nvv4l2decoder1:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.932457221 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff580f0000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.932717396 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64076000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.933164589 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64081360 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.933359128 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640817e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.933511713 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64076c60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.933694891 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64081b40 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.933923992 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64081ea0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.934247146 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64087900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.934932561 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff6408f6c0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.935568212 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff6408fea0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.938316527 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640975a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.938692293 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64097d80 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.939124285 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff6409b5a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.939772482 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640a37e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.940049073 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64076c60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.940300319 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640aa000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.940507659 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff64087240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.940952548 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640b1240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.941202034 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640b16c0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.941407102 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640b17e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.941641003 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640b7240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.941992767 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff580f0000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.942297968 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640bc120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.942609025 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640bc6c0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.943217796 1442286 0xaaaaeabf8700 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder1:pool:sink> Buffer 0xffff640c2a20 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
...

Use rtph264depay → OK

$ GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://<ip>:8554/stream0 ! rtph264depay ! nvv4l2decoder ! fakesink
libEGL warning: DRI3: failed to query the version
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE 
0:00:01.592302964 1475832 0xaaab029bf060 WARN                    v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:01.592431708 1475832 0xaaab029bf060 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaab02972a80 Failed to determine interlace mode
0:00:01.592509888 1475832 0xaaab029bf060 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaab02972a80 Failed to determine interlace mode
0:00:01.592612454 1475832 0xaaab029bf060 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaab02972a80 Failed to determine interlace mode
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<ip>:8554/stream0
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:01.637413939 1475832 0xaaab0298e400 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:01.637751430 1475832 0xaaab0298e400 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested
0:00:01.638779457 1475832 0xaaab0298e400 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc1> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:01.639014990 1475832 0xaaab0298e400 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc1> have udp buffer of 212992 bytes while 524288 were requested
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:05.681968691 1475832 0xffff78007580 FIXME               basesink gstbasesink.c:3246:gst_base_sink_default_event:<fakesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading vendor.tegra.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
0:00:05.690105985 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xaaab0280ed80 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.790397146 1475832 0xffff78007580 WARN                    v4l2 gstv4l2object.c:4481:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:05.790523233 1475832 0xffff78007580 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaab02972a80 Failed to determine interlace mode
0:00:05.790610630 1475832 0xffff78007580 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaab02972a80 Failed to determine interlace mode
0:00:05.790664041 1475832 0xffff78007580 WARN                    v4l2 gstv4l2object.c:2395:gst_v4l2_object_add_interlace_mode:0xaaab02972a80 Failed to determine interlace mode
0:00:05.791329135 1475832 0xffff78007580 WARN            v4l2videodec gstv4l2videodec.c:1847:gst_v4l2_video_dec_decide_allocation:<nvv4l2decoder0> Duration invalid, not setting latency
0:00:05.792017654 1475832 0xffff78007580 WARN          v4l2bufferpool gstv4l2bufferpool.c:1082:gst_v4l2_buffer_pool_start:<nvv4l2decoder0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:05.792717022 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840fca20 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.793008814 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84074900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.793242395 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84074240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.793503146 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84081900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.793662483 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84081360 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.793766393 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84081c60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.793876127 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840815a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.794108013 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8408e120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.794370779 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8408e240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.795372436 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8408ec60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.798114384 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8408e7e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.798396544 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84074120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.798536008 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84096c60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.798743444 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8409a5a0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.798879931 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8409a7e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.799233167 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff8409ab40 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.799615013 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840a8240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.799727819 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840a8900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.799838994 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840a8a20 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.799997339 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84089ea0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.801717852 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840b0b40 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.801870949 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff84074120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.802035310 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840b7360 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.802157141 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840b7120 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.802323007 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840bc240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.802492840 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840a16c0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.802779993 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840c3000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.802916416 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840c3a20 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.803125740 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840c3240 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.803291030 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840cb000 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.804663523 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840a8a20 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.804827533 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840b0c60 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.805214275 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840d0360 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.805325769 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840d0b40 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.805503795 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840d0900 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.805743073 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff6c0067e0 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.805851527 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff6c006d80 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass
0:00:05.805999919 1475832 0xffff78007580 WARN              bufferpool gstbufferpool.c:1235:default_reset_buffer:<nvv4l2decoder0:pool:sink> Buffer 0xffff840c3a20 without the memory tag has maxsize (0) that is smaller than the configured buffer pool size (4194304). The buffer will be not be reused. This is most likely a bug in this GstBufferPool subclass

We think the problem might come from parsebin. The rtph264depay inside produces bytestream instead of avc.

decodebin:

parsebin:

Yes, It cannot recognize the byte-stream stream-format.

Hi @yuweiw ,

Thanks for your reply. But I am not sure if I understand you correctly. Actually, nvv4l2decoder does need byte-stream for sink. The problem is that inside the parsebin, rtph264depay is producing stream with byte-stream format and alignment nal. It is probably due to the new version of the gst plugins on Ubuntu 20.04. Any ideas how we can change the stream format or fix it somehow?

Basically, we suggest you to use uridecodebin plugin as source.It is simpler to use and has better compatibility. Gstreamer version updates from 1.14 to 1.16. So the parsebin may have some changes.
But the pipeline runs well in my env. So it may also be related to your environment. Could you update the cuda, driver vertion to adapt the deepstream 6.1.1? You can refer the link below to
install the relevant version of the env.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#platform-and-os-compatibility
Your env?
Hardware Platform
DeepStream Version
TensorRT Version
NVIDIA GPU Driver Version (valid for GPU only)