Skip to content

Incorrect display of HDR (10-bit and 12-bit) AV1 video's

VLC doesn't correctly display colors in AV1 HDR content (10 and 12 bit).

Left original VP9, right AV1: https://i.imgur.com/ZX5bUTJ.jpg

I downloaded a HDR 10-bit VP9 video from Youtube and encoded it to AV1 with FFmpeg with the following command line:

ffmpeg -i Morocco8K-orig-10b.webm -c:v libaom-av1 -t 32.03 -cpu-used 4 -crf 25 -b:v 0 -strict experimental -vf "format=yuv444p10le,scale=iw/2:ih/2" -colorspace bt2020nc -color_trc smpte2084 -color_primaries bt2020 Morocco8K-10b-444-l.webm

Full FFmpeg log: https://pastebin.com/raw/Pp5PDVKh

When I played it back in VLC the colors are skewed. Here are the files: https://we.tl/t-VtgwbjhnjG (only difference yuv420p10le vs yuv444p10le)

To verify the encode was not messing up the colors, I reuploaded to Youtube, which displays it correctly: https://www.youtube.com/watch?v=fp25e6q904g

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information