[FFmpeg-trac] #8455(avcodec:open): libaom-av1 damages brightness range by switching yuvj420p to yuv420p
FFmpeg
trac at avcodec.org
Sat Aug 28 00:24:37 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):
"yuvj420p(pc, smpte170m/bt470bg/bt2020-12)"
You cannot be serious right now. bt2020-12 transfer is just bt709. You do
not need it especially for 8 bit file!!! WTF. Why??
Next, smpte170m is SMPTE C primaries. Nobody uses this anymore. bt470bg
matrix... well, okay... at least it is what is used with SMPTE C. Not that
the matrix was derived from SMPTE C, it was derived from BT.470 System M,
so it is still wrong, but whatever.
Please provide in.mp4.
Also try this: ffmpeg.exe -i in.mp4 -vf
scale=out_color_matrix=bt470bg:out_range=pc,format=yuv420p -c:v libaom-av1
-color_primaries smpte170m -color_trc bt709 -colorspace bt470bg
-color_range pc out.mp4
And please. Use mpv player! Other players are so broken...
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8455#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list