[FFmpeg-devel] [PATCH] fftools/ffmpeg_filter: add -autoscale to disable/enable the default scale

Moritz Barsnick barsnick at gmx.net
Tue Feb 11 13:03:53 EET 2020


On Mon, Feb 10, 2020 at 17:27:03 +0800, Linjie Fu wrote:
> +    { "autoscale",        HAS_ARG | OPT_BOOL | OPT_SPEC |
> +                          OPT_EXPERT | OPT_OUTPUT,                               { .off = OFFSET(autoscale) },
> +        "automatically insert a scale filter at the end of the filter graph if a resolution"
> +        "change is detected. This ensures all frames are the same resolution as the first frame"
> +        "when they leave the filter chain (this option is enabled by default)."
> +        "If disabled, some encoders/muxers may not support this mode."},

Have you checked the output of "ffmpeg -h"? Your C strings merge
directly together, and are therefore missing spaces, e.g. in
"resolutionchange" and "as the first framewhen they leave",

Moritz


More information about the ffmpeg-devel mailing list