[FFmpeg-devel] [PATCH 0/9] avisynth: add user options
Stephen Hutchinson
qyot27 at gmail.com
Mon Aug 29 03:02:35 EEST 2022
The introduction of reading _SARNum/Den values spurred
the idea of making sure that users can turn the frameprop
value reading ability on and off.
Resizing is a much more common activity in AviSynth scripts
than the kind of broad color work that would potentially
severely impact the usage of the color-related frameprops.
Since the source filter sets the SAR values, but then it
would be quite possible for a user to manipulate the resolution
without updating the prop values for _SARNum and _SARDen, it
would become extremely easy to get it wrong.
So reading _SARNum/_SARDen is *possible*, but requires
user opt-in with the -read_frameprop_sar boolean option.
And that then lead to fleshing out the others into their
own options, and a mass frameprop on/off setting.
Stephen Hutchinson (9):
avformat/avisynth: read _SARNum/_SARDen from frame properties
avformat/avisynth: add read_frameprop_sar option
avformat/avisynth: add read_frameprops option
avformat/avisynth: add read_frameprop_field_order option
avformat/avisynth: add read_frameprop_range option
avformat/avisynth: add read_frameprop_primaries option
avformat/avisynth: add read_frameprop_transfer option
avformat/avisynth: add read_frameprop_matrix option
avformat/avisynth: add read_frameprop_chroma_location option
libavformat/avisynth.c | 462 +++++++++++++++++++++++------------------
1 file changed, 259 insertions(+), 203 deletions(-)
--
2.34.1
More information about the ffmpeg-devel
mailing list