On 1/27/2025 9:48 AM, Andreas Rheinhardt wrote:
James Almer:
With this, callers can signal supported encoders to reinitialize using certain
parameters, which should allow for more graceful (but potentially more limited
in scope) reinitialization than closing and reopening the encoder, or even
simply on-the-fly changes of trivial values that would not require any kind
or flushing or reinitialization by the encoder.

Signed-off-by: James Almer <jamr...@gmail.com>
---

I don't really see the big improvement over closing+reopening the encoder.

libx264 and libaom for example provides x264_encoder_reconfig() and aom_codec_enc_config_set() respectively, which lets you change some parameters on the fly, which although limited in scope (Neither will accept dimension changes, even if within the "max" set during init) is much more efficient compression-wise than closing+reopening the encoder.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to