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

FFmpeg trac at avcodec.org
Sun Mar 1 05:40:48 EET 2020


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

 * status:  new => closed
 * resolution:   => invalid


Comment:

 {{{

 ffmpeg -i YUV255,128,128_unflagged.mp4 -vf
 scale=in_range=full:in_color_matrix=bt709,format=rgb24,lutrgb='r=clip
 (val,47,194)',scale=out_color_matrix=bt709:out_range=full,format=rgb24
 -frames:v 1 out2.bmp
 }}}


 Attached a full "white" YUV 255,128,128 test file

 full range 709 conversion to RGB,  lutrgb clip [47,194] , output a bmp

 result
 RGB 194,255,255

 full range YUV=>RGB conversion works correctly,  and -vf lutrgb works
 correctly

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


More information about the FFmpeg-trac mailing list