Udp multicast streams on android makes problems

I have a problem with mpeg-ts streams via udp multicast on Android.

The stream has the URI udp://234.5.6.8:30125

When I play the same video via http, everything runs smoothly.
With UDP I get a very jerky video

I have tried the whole thing with playbin, playbin3 and my own pipeline.
I also tried the examples 3 and 4 from the gst-docs.
The same everywhere.

I also tried to set various buffers very high.

E.g. “buffer-size” from udpsrc to 10000000
“std-compliance” from avdec_h264 to 0
“max-size-buffers” from multiqueue to 100
and “use-buffering” to true

Since it works with http, I think that something is different and leads to the decoding errors.

It’s only a problem on android though. It’s not a problem on my macOS.

0:01:12.926470140 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:05.104500301 deadline:0:01:05.104500301 earliest_time:0:01:05.203160525
0:01:12.953861524 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:05.137866525 deadline:0:01:05.137866525 earliest_time:0:01:05.203160525
0:01:12.966938601 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:05.171233300 deadline:0:01:05.171233300 earliest_time:0:01:05.203160525
0:01:12.991591255 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:05.187921819 deadline:0:01:05.187921819 earliest_time:0:01:05.203160525
0:01:13.796540601 0xb4000076ac891a40 ../gst/videoparsers/gsth264parse.c:2310:gst_h264_parse_update_src_caps:<h264parse0> PAR 1/1
0:01:13.796781832 0xb4000076ac891a40 ../libs/gst/base/gstbaseparse.c:4113:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.016683333, 0:00:00.016683333
0:01:13.831573332 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:13.831696178 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:13.831757947 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:13.831845447 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:13.832093716 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:13.832122370 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:13.832154639 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:13.832209485 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:13.845026832 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:05.988719985 deadline:0:01:05.988719985 earliest_time:0:01:06.218747334
0:01:13.869377524 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.005397763 deadline:0:01:06.005397763 earliest_time:0:01:06.218747334
0:01:13.888905408 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.022086615 deadline:0:01:06.022086615 earliest_time:0:01:06.218747334
0:01:13.907913178 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.038764578 deadline:0:01:06.038764578 earliest_time:0:01:06.218747334
0:01:13.920042485 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.072130951 deadline:0:01:06.072130951 earliest_time:0:01:06.218747334
0:01:13.943149178 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.105497618 deadline:0:01:06.105497618 earliest_time:0:01:06.218747334
0:01:13.961732985 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.138864249 deadline:0:01:06.138864249 earliest_time:0:01:06.218747334
0:01:13.978141447 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.172231059 deadline:0:01:06.172231059 earliest_time:0:01:06.218747334
0:01:13.989305370 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.205597444 deadline:0:01:06.205597444 earliest_time:0:01:06.218747334
0:01:14.015838793 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.255652965 deadline:0:01:06.255652965 earliest_time:0:01:06.295188973
0:01:14.042545178 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.272330743 deadline:0:01:06.272330743 earliest_time:0:01:06.295188973
0:01:14.064437716 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:06.289019632 deadline:0:01:06.289019632 earliest_time:0:01:06.295188973
0:01:15.224512754 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:15.224609254 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:15.224663292 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:15.224746023 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:15.225038907 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:15.225082254 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:15.225121600 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:15.225185061 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:15.238673946 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.256711552 deadline:0:01:07.256711552 earliest_time:0:01:07.736640573
0:01:15.263583715 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.273390943 deadline:0:01:07.273390943 earliest_time:0:01:07.736640573
0:01:15.266451907 0xb4000076ac8ec700 ../gst-libs/gst/audio/gstaudiodecoder.c:2539:gst_audio_decoder_sink_eventfunc:<a52dec0> upstream stream tags: taglist, language-code=(string)en, audio-codec=(string)"AC-3\ \(ATSC\ A/52\)", minimum-bitrate=(uint)192000, maximum-bitrate=(uint)384000, bitrate=(uint)327131;
0:01:15.298076561 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.290076593 deadline:0:01:07.290076593 earliest_time:0:01:07.736640573
0:01:15.323574830 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.323446499 deadline:0:01:07.323446499 earliest_time:0:01:07.736640573
0:01:15.347410446 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.356803290 deadline:0:01:07.356803290 earliest_time:0:01:07.736640573
0:01:15.365328292 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.390186913 deadline:0:01:07.390186913 earliest_time:0:01:07.736640573
0:01:15.415390215 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.423552425 deadline:0:01:07.423552425 earliest_time:0:01:07.736640573
0:01:15.449508215 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.456921392 deadline:0:01:07.456921392 earliest_time:0:01:07.736640573
0:01:15.475655869 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.490281432 deadline:0:01:07.490281432 earliest_time:0:01:07.736640573
0:01:15.501362561 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.506966973 deadline:0:01:07.506966973 earliest_time:0:01:07.736640573
0:01:15.514869600 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.540345554 deadline:0:01:07.540345554 earliest_time:0:01:07.736640573
0:01:15.546242523 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.573712221 deadline:0:01:07.573712221 earliest_time:0:01:07.736640573
0:01:15.573439946 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.607079920 deadline:0:01:07.607079920 earliest_time:0:01:07.736640573
0:01:15.617964330 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.640441342 deadline:0:01:07.640441342 earliest_time:0:01:07.736640573
0:01:15.649642599 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:07.690506187 deadline:0:01:07.690506187 earliest_time:0:01:07.736640573
0:01:15.909559176 0xb4000076ac891a40 ../gst/videoparsers/gsth264parse.c:2310:gst_h264_parse_update_src_caps:<h264parse0> PAR 1/1
0:01:15.909838638 0xb4000076ac891a40 ../libs/gst/base/gstbaseparse.c:4113:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.016683333, 0:00:00.016683333
0:01:16.259895753 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:16.260007022 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:16.260057637 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:16.260148445 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:16.260413984 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:16.260444061 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:16.260475484 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:16.260524137 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:16.287039637 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.257769133 deadline:0:01:08.257769133 earliest_time:0:01:08.806338143
0:01:16.313146214 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.274446911 deadline:0:01:08.274446911 earliest_time:0:01:08.806338143
0:01:16.342263753 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.291131144 deadline:0:01:08.291131144 earliest_time:0:01:08.806338143
0:01:16.365292599 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.324505447 deadline:0:01:08.324505447 earliest_time:0:01:08.806338143
0:01:16.389036099 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.357869133 deadline:0:01:08.357869133 earliest_time:0:01:08.806338143
0:01:16.404347214 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.391242375 deadline:0:01:08.391242375 earliest_time:0:01:08.806338143
0:01:16.430654676 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.424609042 deadline:0:01:08.424609042 earliest_time:0:01:08.806338143
0:01:16.452986099 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.457977106 deadline:0:01:08.457977106 earliest_time:0:01:08.806338143
0:01:16.474428407 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.491339511 deadline:0:01:08.491339511 earliest_time:0:01:08.806338143
0:01:16.485903291 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.524713839 deadline:0:01:08.524713839 earliest_time:0:01:08.806338143
0:01:16.512739945 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.558079836 deadline:0:01:08.558079836 earliest_time:0:01:08.806338143
0:01:16.537554253 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.591447835 deadline:0:01:08.591447835 earliest_time:0:01:08.806338143
0:01:16.558561945 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.624810440 deadline:0:01:08.624810440 earliest_time:0:01:08.806338143
0:01:16.581855060 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.658183127 deadline:0:01:08.658183127 earliest_time:0:01:08.806338143
0:01:16.608564906 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.691549794 deadline:0:01:08.691549794 earliest_time:0:01:08.806338143
0:01:16.634587060 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.724917103 deadline:0:01:08.724917103 earliest_time:0:01:08.806338143
0:01:16.650939714 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.758281168 deadline:0:01:08.758281168 earliest_time:0:01:08.806338143
0:01:16.675770791 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:08.791652954 deadline:0:01:08.791652954 earliest_time:0:01:08.806338143
0:01:17.178997483 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:17.179094868 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:17.179145598 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:17.179266137 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:17.179579637 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:17.179606445 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:17.179635983 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:17.179682098 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:17.214939791 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.258798782 deadline:0:01:09.258798782 earliest_time:0:01:09.643640338
0:01:17.241705098 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.275477077 deadline:0:01:09.275477077 earliest_time:0:01:09.643640338
0:01:17.276001406 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.292163872 deadline:0:01:09.292163872 earliest_time:0:01:09.643640338
0:01:17.303379521 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.325533655 deadline:0:01:09.325533655 earliest_time:0:01:09.643640338
0:01:17.330783675 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.358899299 deadline:0:01:09.358899299 earliest_time:0:01:09.643640338
0:01:17.346984483 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.392268984 deadline:0:01:09.392268984 earliest_time:0:01:09.643640338
0:01:17.386995137 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.425634160 deadline:0:01:09.425634160 earliest_time:0:01:09.643640338
0:01:17.422548675 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.459004249 deadline:0:01:09.459004249 earliest_time:0:01:09.643640338
0:01:17.449949367 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.492369473 deadline:0:01:09.492369473 earliest_time:0:01:09.643640338
0:01:17.478580637 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.509049167 deadline:0:01:09.509049167 earliest_time:0:01:09.643640338
0:01:17.488063560 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.542425249 deadline:0:01:09.542425249 earliest_time:0:01:09.643640338
0:01:17.521732790 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.575784812 deadline:0:01:09.575784812 earliest_time:0:01:09.643640338
0:01:17.549076790 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.609167791 deadline:0:01:09.609167791 earliest_time:0:01:09.643640338
0:01:17.560910213 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:09.642527579 deadline:0:01:09.642527579 earliest_time:0:01:09.643640338
0:01:17.831199790 0xb4000076ac891a40 ../gst/videoparsers/gsth264parse.c:2310:gst_h264_parse_update_src_caps:<h264parse0> PAR 1/1
0:01:17.831572136 0xb4000076ac891a40 ../libs/gst/base/gstbaseparse.c:4113:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.016683333, 0:00:00.016683333
0:01:18.340487636 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:18.340609751 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:18.340662982 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:18.340749598 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:18.340998290 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: A lot of buffers are being dropped.
0:01:18.341040098 0xb4000076ac8ef6a0 ../libs/gst/base/gstbasesink.c:3149:gst_base_sink_is_too_late:<sink> warning: There may be a timestamping problem, or this computer is too slow.
0:01:18.341077482 0xb4000076ac8ef6a0 ../gst/gstelement.c:2282:gst_element_message_full_with_details:<sink> posting message: A lot of buffers are being dropped.
0:01:18.341133905 0xb4000076ac8ef6a0 ../gst/gstelement.c:2309:gst_element_message_full_with_details:<sink> posted warning message: A lot of buffers are being dropped.
0:01:18.355797213 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.259980644 deadline:0:01:10.259980644 earliest_time:0:01:10.965293890
0:01:18.372021174 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.276658422 deadline:0:01:10.276658422 earliest_time:0:01:10.965293890
0:01:18.388368328 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.293345445 deadline:0:01:10.293345445 earliest_time:0:01:10.965293890
0:01:18.403719021 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.310019209 deadline:0:01:10.310019209 earliest_time:0:01:10.965293890
0:01:18.419603367 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.343384381 deadline:0:01:10.343384381 earliest_time:0:01:10.965293890
0:01:18.438124174 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.376752869 deadline:0:01:10.376752869 earliest_time:0:01:10.965293890
0:01:18.455615559 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.410115908 deadline:0:01:10.410115908 earliest_time:0:01:10.965293890
0:01:18.466464213 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.443489889 deadline:0:01:10.443489889 earliest_time:0:01:10.965293890
0:01:18.484210790 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.476840421 deadline:0:01:10.476840421 earliest_time:0:01:10.965293890
0:01:18.507147405 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.510207088 deadline:0:01:10.510207088 earliest_time:0:01:10.965293890
0:01:18.529605136 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.543572032 deadline:0:01:10.543572032 earliest_time:0:01:10.965293890
0:01:18.544600944 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.576947449 deadline:0:01:10.576947449 earliest_time:0:01:10.965293890
0:01:18.563292790 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.610292078 deadline:0:01:10.610292078 earliest_time:0:01:10.965293890
0:01:18.581143636 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.643660359 deadline:0:01:10.643660359 earliest_time:0:01:10.965293890
0:01:18.602007482 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.677020644 deadline:0:01:10.677020644 earliest_time:0:01:10.965293890
0:01:18.622874443 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.710403658 deadline:0:01:10.710403658 earliest_time:0:01:10.965293890
0:01:18.629513443 0xb4000076ac8ec700 ../gst-libs/gst/audio/gstaudiodecoder.c:2539:gst_audio_decoder_sink_eventfunc:<a52dec0> upstream stream tags: taglist, language-code=(string)en, audio-codec=(string)"AC-3\ \(ATSC\ A/52\)", minimum-bitrate=(uint)192000, maximum-bitrate=(uint)384000, bitrate=(uint)320716;
0:01:18.639757020 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.743741814 deadline:0:01:10.743741814 earliest_time:0:01:10.965293890
0:01:18.656262097 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.777111449 deadline:0:01:10.777111449 earliest_time:0:01:10.965293890
0:01:18.676013982 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.810469354 deadline:0:01:10.810469354 earliest_time:0:01:10.965293890
0:01:18.693948174 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.843850863 deadline:0:01:10.843850863 earliest_time:0:01:10.965293890
0:01:18.706916059 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.877194337 deadline:0:01:10.877194337 earliest_time:0:01:10.965293890
0:01:18.721339866 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.910562368 deadline:0:01:10.910562368 earliest_time:0:01:10.965293890
0:01:18.738188790 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:10.943923644 deadline:0:01:10.943923644 earliest_time:0:01:10.965293890
0:01:19.004552136 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:11.244209681 deadline:0:01:11.244209681 earliest_time:0:01:11.285969280
0:01:19.016866712 0xb4000076ac8ecc60 ../gst-libs/gst/video/gstvideodecoder.c:3665:gst_video_decoder_clip_and_push_buf:<avdec_h264-0> Dropping frame due to QoS. start:0:01:11.277565808 deadline:0:01:11.277565808 earliest_time:0:01:11.285969280
0:01:19.783330366 0xb4000076ac891a40 ../gst/videoparsers/gsth264parse.c:2310:gst_h264_parse_update_src_caps:<h264parse0> PAR 1/1
0:01:19.783455327 0xb4000076ac891a40 ../libs/gst/base/gstbaseparse.c:4113:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.016683333, 0:00:00.016683333
0:01:21.024833788 0xb4000076ac891a40 ../gst/videoparsers/gsth264parse.c:2310:gst_h264_parse_update_src_caps:<h264parse0> PAR 1/1
0:01:21.025564711 0xb4000076ac891a40 ../libs/gst/base/gstbaseparse.c:4113:gst_base_parse_set_latency:<h264parse0> min/max latency 0:00:00.016683333, 0:00:00.016683333
0:01:21.734031980 0xb4000076ac891a40 ../gst/videoparsers/gsth264parse.c:2310:gst_h264_parse_update_src_caps:<h264parse0> PAR 1/1

I found out that urisourcebin does not append queue2 to the end.
This is a difference between http and udp.
I added a queue2 after urisourcebin, but it does not work as expected.

I can’t find any parameters that work really well.
Audio is now smooth but video is still jerky.

    GstElement *decodebinqueue = gst_element_factory_make("queue2", "decodebinqueue");

    g_object_set(decodebinqueue, "use-buffering", true, NULL);
    g_object_set(decodebinqueue, "high-watermark", 0.99, NULL);
    g_object_set(decodebinqueue, "max-size-buffers", 2000, NULL);

does anyone have an idea?