[FFmpeg-devel] [PATCH 1/2] ffmpeg: add disable_all_auto_conversion_filters option.

Nicolas George george at nsup.org
Sat Aug 15 18:03:09 EEST 2020


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.

> The help strings here looks suspiciously similar to the -filter_complex ones...

Oops. Locally changed to:

        "disable all automatic conversion filters" },

Thanks.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200815/3b929eda/attachment.sig>


More information about the ffmpeg-devel mailing list