membraneframework / membrane_core

The core of the Membrane Framework, advanced multimedia processing framework
https://membrane.stream
Apache License 2.0
1.26k stars 36 forks source link

[vpx_plugin] Allow requesting keyframes #840

Closed Noarkhh closed 1 month ago

Noarkhh commented 1 month ago

We can utilize a functionality provided by libvpx to force an encoder to create a keyframe. We'll do this with upstream events, allowing events down the pipeline to demand keyframes.

Noarkhh commented 1 month ago

Another thing that would be quick and easy is adding metadata to buffers informing whether a given frame is a keyframe or not

mat-hek commented 1 month ago

We can use https://hexdocs.pm/membrane_core/Membrane.KeyframeRequestEvent.html for that purpose