[postprocessor:ugoira] improve frame rate handling
By default FFmpeg assumes a 25 FPS input frame rate, leading to dropped frames if the source requires a higher frame rate than that. This commit adds a `framerate` option (default "auto"), which allows to automatically assign a (more or less) fitting frame rate based on delays between ugoira frames and avoids dropped frames.
This commit is contained in:
@@ -910,6 +910,19 @@ Default ``False``
|
||||
Description Enable Two-Pass encoding.
|
||||
=========== =====
|
||||
|
||||
ugoira.framerate
|
||||
----------------
|
||||
=========== =====
|
||||
Type ``string``
|
||||
Default ``"auto"``
|
||||
Description Controls the frame rate argument (``-r``) for FFmpeg
|
||||
|
||||
- ``"auto"``: Automatically assign a fitting frame rate
|
||||
based on delays between frames.
|
||||
- any other ``string``: Use this value as argument for ``-r``.
|
||||
- ``null`` or an empty ``string``: Don't set an explicit frame rate.
|
||||
=========== =====
|
||||
|
||||
ugoira.keep-files
|
||||
-----------------
|
||||
=========== =====
|
||||
|
||||
Reference in New Issue
Block a user