Unity “WindowsVideoMedia error unhandled Color Standard“ warning when importing various video form

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

  1. 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.


    1. Open Unity, click the Video Clip and open its Import Settings.
    2. While in the Import Settings, you go change its Codec format from Auto into VP8.
    3. The "WindowsVideoMedia error unhandled Color Standard: 0 falling back to default this may result in rendering issues" warning is gone after that. Hope it works for everyone.

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值