Search Issue Tracker
Fixed in 2022.1.X
Votes
1
Found in
2021.2
2021.2.0a1
2021.2.0b17
2022.1
Issue ID
1374819
Regression
Yes
[Video] "WindowsVideoMedia error unhandled Color Standard" warning when importing various video formats
Reproduction steps:
1. Open attached "VideoURP.zip" project
2. In Project window, navigate to and select "Assets/Video/mov.mov"
3. Right-Click -> Reimport the video Asset
4. Observe Console window
Expected result: No warnings
Actual result: "WindowsVideoMedia error unhandled Color Standard: 0 falling back to default this may result in rendering issues" warnings
Reproducible with: 2021.2.0a1, 2021.2.0b17, 2022.1.0a13
Not reproducible with: 2019.4.32f1, 2020.3.21f1, 2021.1.27f1
Reproduces with formats: .m4v, .avi, .mov, .mp4, .wmv
Does not reproduce with formats: .webm
-
wahntin
Jul 21, 2022 10:15
Re-encoding works, btw, but you should also define the profile:
-profile:v baseline -
wahntin
Jul 21, 2022 09:56
Same with Unity 2021.3.6f1
-
prozard_kvx
May 27, 2022 09:23
This issue also occurs in 2021.3.21f.
Please fix it!! -
Eleocraft
Apr 16, 2022 16:05
I am getting exactly this issue, no idea how to fix it. the video i am using is an mp4 exported from after effects. Idk what you mean with "color standard" of a video as i never heard of it and google doesn't seem to give any results. could you please specify what you mean by "you should check how to add the color standard in the file while editing or recording"? Thx
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 2022.1):
Fixed in 2022.2.0a1
Every file had an unknown color standard. To remove the warning, you should check how to add the color standard in the file while editing or recording. You can use FFmpeg to add it, but you have to reencode your file, lowering the quality. Use and customize this command for your need.
ffmpeg -i input.mp4 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range pc -vcodec libx264 output.mp4
We reduced redundant warnings, so you should see only one per file.