[FFmpeg-trac] #8455(avcodec:open): libaom-av1 damages brightness range by switching yuvj420p to yuv420p

FFmpeg trac at avcodec.org
Sat Aug 28 05:37:11 EEST 2021


#8455: libaom-av1 damages brightness range by switching yuvj420p to yuv420p
-------------------------------------+-----------------------------------
             Reporter:  john123      |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  libaom       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Comment (by Balling):

 Okay, your file is full range it has 255 Y, which is not allowed in
 limited range (only 1-254 are allowed). That is good!

 Next: ffmpeg.exe -i small-33.mp4 -vf
 scale=out_color_matrix=bt601:out_range=pc,format=yuv420p -c:v libaom-av1
 -color_primaries bt470bg -colorspace smpte170m -color_trc smpte170m
 -color_range pc out.mp4

 produces perfect file with 255 same place and NO changes in mpv when you
 alt-tab on my reference display. I will attach. Even --gamut-warning is
 almost the same (but then again, mpv is bad with that option in full
 range). Please use normal player.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8455#comment:20>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list