How to force keyframes using Python GST bindings

Moiz moiz at
Fri Nov 6 01:25:43 UTC 2020

Hello, I am building my gstreamer pipeline to encode h264, and send rtp
packets over udp.

Ideally I can request a keyframe when packets are lost, I am not exactly
sure how I would do this.

I am thinking I can setup a small http server to listen for packets lost,
and am wondering if there is any gst function I can run to force a keyframe.

I have come across this article

However, I am not sure as this forcing keyframe action can be implemented
using the python gst bindings.

Is this possible, if so how can I go about it?

Sent from:

More information about the gstreamer-devel mailing list