Video is embedded in mp4 video, and the video is played normally, but the video will change color.

when you encounter MP4 embedding video tag, the video will be played normally, but the video will change color
code as follows:

<video id="video" loop="loop" controls="controls" preload="auto" poster="upload/mp4/videobg.jpg">
    <source src="upload/mp4/index.mp4" type="video/mp4" />
</video>

Video discoloration some computers can and some don"t. It feels like there should be a problem with the mp4 source file. This problem will not occur because other mp4 files have been replaced.
the effect is shown in figure

:

General
Complete name : C:UsersAdministratorDesktopindex.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 48.6 MiB
Duration : 2 min 48 s
Overall bit rate mode : Variable
Overall bit rate : 2 417 kb/s
Movie name :
Composer : Rain
Encoded date : UTC 2018-09-07 02:25:27
Tagged date : UTC 2018-09-07 02:25:27
Writing application : Lavf51.12.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=12
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2 min 48 s
Bit rate mode : Variable
Bit rate : 2 314 kb/s
Width : 856 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : RGB
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.225
Stream size : 46.5 MiB (96%)
Language : English
Encoded date : UTC 2018-09-07 02:25:27
Tagged date : UTC 2018-09-07 02:25:27
Color range : Limited
Matrix coefficients : RGB

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2 min 48 s
Bit rate mode : Variable
Bit rate : 98.0 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 spf)
Compression mode : Lossy
Stream size : 1.97 MiB (4%)
Language : English
Encoded date : UTC 2018-09-07 02:25:27
Tagged date : UTC 2018-09-07 02:25:27


image.png

.

visually you are 10bit H.264 decoding problem. Can you see if this is the code for your video?

you can also use mediainfo to analyze your video and post the text results.

EDIT:

I have found the problem. The reason lies in your coding parameters. The coded color space displayed by mediainfo has given the answer:

Color range                              : Limited

Color range displays Limited , indicating that BT.601 is used instead of BT.709 used by Full , which may cause color decoding errors in chrome decoders.

one solution is to re-encode, and after I tried to re-encode using x264 locally, the color worked fine.

in fact, the community already has such posts: https://bugs.chromium.org/p/c. (need to climb the wall)

someone also found that the BT.601 color space is incorrect in chrome colors.


this is the video result under mediainfo analysis

Menu