Frames are not output correctly

Bilel Bghiel bilel at scentronix.com
Mon Jun 6 16:05:54 UTC 2022


By this I mean an I frame every frame.
I've also set the rtspsrc to use only TCP, using wireshark to confirm it's
indeed running in TCP.
However, I'm still encoutering the same problems.

For some reason it doesn't the correct reference pictures, resulting in bad
output:

Switch cam to num: 1
Cam size: 40:02:50.569650293 20668 0x55c4705b7200 INFO
 GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad
input-selector:sink_1
0:02:50.569671657 20668 0x55c4705b7200 INFO               GST_EVENT
gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:02:50.569705456 20668 0x55c4705b7200 INFO               GST_EVENT
gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:02:50.569746676 20668 0x55c4705b7200 INFO              GST_STATES
gstelement.c:2806:gst_element_continue_state:<input-selector> completed
state change to PLAYING
0:02:50.606717707 20668 0x7f42e0043120 INFO                GST_PADS
gstpad.c:4357:gst_pad_peer_query:<tee:src_1> pad has no peer
0:02:50.606779007 20668 0x7f42e0043120 INFO               GST_EVENT
gstevent.c:972:gst_event_new_segment: creating segment event time segment
start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999,
rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000,
base=0:00:00.000000000, position 0:02:50.499016488, duration
99:99:99.999999999
0:02:50.606811074 20668 0x7f42e0043120 INFO            videodecoder
gstvideodecoder.c:1633:gst_video_decoder_sink_event_default:<avdec_h2643152164512>
upstream tags: taglist, video-codec=(string)"H.264\ \(Main\ Profile\)",
minimum-bitrate=(uint)46080, maximum-bitrate=(uint)14248800,
bitrate=(uint)228565;
0:02:50.606846375 20668 0x7f42e0043120 INFO                   libav :0::
Reinit context to 1920x1088, pix_fmt: yuv420p
0:02:50.610882467 20668 0x7f42e0043120 INFO               GST_EVENT
gstevent.c:972:gst_event_new_segment: creating segment event time segment
start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999,
rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000,
base=0:00:00.000000000, position 0:02:50.499016488, duration
99:99:99.999999999
0:02:50.610935461 20668 0x7f42e0043120 INFO            videoencoder
gstvideoencoder.c:1247:gst_video_encoder_sink_event_default:<avenc_flv3152164512>
upstream tags: taglist;
0:02:50.610966433 20668 0x7f42e0043120 INFO            videoencoder
gstvideoencoder.c:1247:gst_video_encoder_sink_event_default:<avenc_flv3152164512>
upstream tags: taglist;
0:02:50.660719021 20668 0x7f42e0043120 INFO               GST_EVENT
gstevent.c:972:gst_event_new_segment: creating segment event time segment
start=1000:00:00.000000000, offset=0:00:00.000000000,
stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00,
time=0:00:00.000000000, base=0:00:00.000000000, position
1000:02:50.499016488, duration 99:99:99.999999999
0:02:51.195522696 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:51.195617969 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 38
0:02:52.185197426 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:52.185286916 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 78
0:02:53.180445695 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:53.180474388 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 118
0:02:54.195073395 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:54.195112863 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 158
0:02:55.196797080 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:55.196821702 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 198
0:02:56.204712890 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:56.204737259 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 238
0:02:57.196938779 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:57.196969493 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 278
0:02:58.186681589 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:58.186711196 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 318
0:02:59.211421190 20668 0x7f42e0043120 ERROR                  libav :0::
reference picture missing during reorder
0:02:59.211467119 20668 0x7f42e0043120 ERROR                  libav :0::
Missing reference picture, default is 358
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220606/2413fc37/attachment.htm>


More information about the gstreamer-devel mailing list