#11182: yuvtestsrc and yuv444p->rgba->yuv444p conversion result in huge 
difference
-------------------------------------+-------------------------------------
             Reporter:  Andrew-R     |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  swscale
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  colorspace   |               Blocked By:
  color_primaries                    |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 "note that input file clearly says range PC in both cases"

 What? You forced it to be PC, also known as full range. If you want
 limited -vf scale=in_range=tv:out_range=pc, if you want limited output -vf
 scale=in_range=tv:out_range=tv

 If you want limited output but input is full range -vf
 scale=in_range=pc:out_range=tv


 Same for the other 4 parameters (chroma siting (also known as chroma
 position or latice), primaries (also known as gamut), color matrix (also
 known as colorspace), transfer (also known as gamma, EOTF)), each produces
 different pixels, and each can use a different dither, dufferent upscale
 algorithm, different scaling algorithm, transfer aware resizing and also
 accurate_rnd stuff!

 Just use zscale, I am begging you.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11182#comment:44>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to