[FFmpeg-trac] #8544(ffmpeg:new): LUTRGB inaccurate, affects other colors

FFmpeg trac at avcodec.org
Sun Mar 1 05:22:41 EET 2020


#8544: LUTRGB inaccurate, affects other colors
-------------------------------------+----------------------------------
             Reporter:  chris319     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------

Comment (by pdr0):

 What is "White.mp4" ?  What are the YUV values ?

 You're converting to YUV inbetween, possibly incorrectly, that's not
 lutrgb's fault


 You should be measuring the direct RGB output of lutrgb filter (eg. with a
 bmp), against direct input of a known RGB values e.g. 255,255,255.

 lutrgb , the filter itself, works correctly

 ffmpeg -i 255,255,255.bmp -vf lutrgb='r=clip(val,47,194)' out.bmp

 Result
 RGB 194,255,255

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8544#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list