1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-28 15:19:38 +03:00
Files
ffmpeg/doc
James Almer ca821e458a fftools/ffmpeg: support reinitializing the encoder
With this, an encoding process can change certain values that until now were
settable during init only.
A graceful reconfiguration will be attempted first, which depends on the
capabilities of the underlying encoder. If that fails, a full encoder restart
is performed instead.

The reconfiguration parameters are passed as a list of target timestamp and
key=value pairs to be applied at that point during encoding. Future
improvements may also include targetting encoded frame number, and extending
the command feature to also support passing encoder runtime arguments and not
just filter runtime change arguments.

Example:

ffmpeg -i INPUT -reinit_opts:v:0 "pts=100000|crf=18,pts=200000|video_size=1280x720:crf=20" -crf 30 -c:v:0 libx264 OUTPUT

Signed-off-by: James Almer <jamrial@gmail.com>
2026-08-13 11:04:44 -03:00
..
…
2023-03-01 21:59:10 +01:00
2026-03-20 22:01:43 +01:00
2026-01-18 03:33:04 +00:00
…
2026-05-22 08:20:13 -05:00
2026-07-13 16:13:47 +00:00
…
2024-03-18 17:59:19 +01:00
…
2026-07-13 18:57:37 +09:00
…
…
2025-08-03 13:48:47 +02:00
2021-06-18 18:58:25 +02:00