Restarted stream contains legacy frames

Timtchenko, Michael Michael.Timtchenko at agcocorp.com
Fri Sep 4 10:18:42 UTC 2020


Hi gstreamers,

i'm facing a little problem regarding the stopping/resuming of my camera stream with gstreamer. When I restart the stream by a transition from GST_STATE_PLAYING (1) -> GST_STATE_PAUSING (2) ->GST_STATE_ PLAYING (3), the stream contains the last frames from (1).

Is there a proper way to clear the pipeline? I don't want to see any old frames when I restart my stream.

I've also tried to send flushing events, but without success. I did this by sending the events gst_event_new_flush_start() and gst_event_new_flush_stop().

My pipeline looks like this:

udpsrc port=55555 caps=\"application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96\"
! rtph264depay
! avdec_h264
! decodebin
! videoconvert
! glupload
! appsink

Advice is welcome.

BR
Michael


Bitte beachten / Please note!

*******************************************************************************

AGCO GmbH
Sitz der AGCO GmbH: Johann-Georg-Fendt-Str.4, 87616 Marktoberdorf, Germany
Registergericht Amtsgericht Kempten HRB 10327
Gesch?ftsf?hrer: Christoph Groeblinghoff, Ingrid Bussjaeger-Martin, Dr. Heribert Reiter, Ekkehart Glaeser
Vorsitzender des Aufsichtsrates: Torsten Dehner

*******************************************************************************

Diese E-Mail ist nur f?r den Empf?nger bestimmt, an den es gerichtet ist und kann vertrauliches
bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht
oder Meinungs?u?erung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder
Meinung von AGCO dar. Sind Sie nicht der Empf?nger, so haben Sie diese E-Mail irrt?mlich
erhalten und jegliche Verwendung, Ver?ffentlichung, Weiterleitung, Abschrift oder jeglicher
Druck dieser E-Mail ist strengstens untersagt. Weder AGCO noch der Absender ?bernehmen die
Haftung f?r Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren angeh?ngte
Dateien (sofern vorhanden) auf Viren zu ?berpr?fen.

*******************************************************************************

This email is intended solely for the use of the individual to whom it is addressed and may contain
confidential and/or privileged material. Any views or opinions presented are solely those of the
author and do not necessarily represent those of AGCO. If you are not the intended recipient, be
advised that you have received this email in error and that any use, dissemination, forwarding,
printing or copying of this email is strictly prohibited. Neither AGCO nor the sender accepts any
responsibility for viruses and it is your responsibility to scan and virus check the email and its
attachment(s) (if any).

*******************************************************************************

This email is intended solely for the use of the individual to whom it is addressed and may contain confidential and/or privileged material. Any views or opinions presented are solely those of the author and do not necessarily represent those of AGCO. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited. Neither AGCO nor the sender accepts any responsibility for viruses and it is your responsibility to scan and virus check the e-mail and its attachment(s) (if any).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200904/ec3b79c5/attachment-0001.htm>


More information about the gstreamer-devel mailing list