[FFmpeg-devel] [PATCH 1/2] ffmpeg: add disable_all_auto_conversion_filters option.
Mark Thompson
sw at jkqxz.net
Sun Aug 16 00:40:39 EEST 2020
On 15/08/2020 16:03, Nicolas George wrote:
> Mark Thompson (12020-08-14):
>> The relation to the existing -autorotate and -autoscale options is
>> confusing - those aren't disabled by this (because they are applied
>> differently), but it sounds like they would be.
>
> I updated the doc to:
>
> Disable automatically inserting format conversion filters in all filter
> graphs, including those defined by @option{-vf}, @option{-af},
> @option{-filter_complex} and @option{-lavfi}. If filter format negotiation
> requires a conversion, the initialization of the filters will fail.
> Conversions can still be performed by inserting the relevant conversion
> filter (scale, aresample) in the graph.
>
>> I'm not sure how to make this better. Maybe it should be called "-autoconvert" to match and then override the others?
>
> I disagree: auto rotation and auto scaling are options for normal users,
> to control the output. This is for very advanced users, only for
> technical use by somebody who knows the inner workings of lavfi. They
> should not be merged, and also this is why I chose a very long and
> explicit name.
Thank you for the clarification; I'm happy with that answer.
>> The help strings here looks suspiciously similar to the -filter_complex ones...
>
> Oops. Locally changed to:
>
> "disable all automatic conversion filters" },
Sounds good to me with those changes.
Thanks,
- Mark
More information about the ffmpeg-devel
mailing list