[FFmpeg-devel] [PATCH v2 07/10] avfilter/vf_scale: preserve YUV range by default

Michael Niedermayer michael at niedermayer.cc
Tue Oct 31 01:42:47 EET 2023


On Sat, Oct 28, 2023 at 04:41:14PM +0200, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> YUV->YUV conversions should preserve input range, if the output range is
> unspecified. Ensures full-range YUV input comes out as full-range YUV
> output by default, even through YUV->YUV pixel format conversions.
> ---
>  libavfilter/vf_scale.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

this seems to change the output of the following:
ffmpeg -i 4493/AVCI100.mov -vframes 3 -bitexact file.nut
did not investigate if this is a bug or bugfix

files are here: https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket524/

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231031/6ce69148/attachment.sig>


More information about the ffmpeg-devel mailing list