I have a x264 mp4 that plays fine on every browser, but the color seems washed or something. It looks the same on every browser, but when played in vlc the colors are more accurate. Is this an html5 limitation or is there something I can do to correct this? Below is a picture of the same video side by side, one in chrome and one in vlc. The video was encoded from x265 to x264 using ffmpeg but i'm not sure if that is relevant. It's a 4k video too. Here is the command used to re-encode anyways:
ffmpeg -re -i "input.mkv" -crf 18 -preset medium -max_muxing_queue_size 4096 -colorspace bt2020nc -color_trc smpte2084 -color_primaries bt2020 -pix_fmt yuv420p -r 24 -map 0 -c:v:0 libx264 -c:a:0 mp3 "test.mp4"
Here are the videos side by side: https://prnt.sc/18dzwuz
and I am just using a simple html5 video tag:
<video src="/video/test.mp4" height="600" type="video/mp4" controls />