Search Issue Tracker

Fixed in 2020.1.X

Votes

0

Found in

2019.1.0a10

Issue ID

1104432

Regression

No

[Video] WindowsVideoMedia error message incomplete when H.265 codec not installed

Video

-

WindowsVideoMedia error message incomplete when H.265 codec not installed

Steps to Repro:
1. Open attached or create a new project
2. Project > Select video
3. Enable Transcode and change codec to H265
4. Apply

Actual Result:
1. The error is incomplete

Actual Error:
"WindowsVideoMedia error 0xc00d5212 while reading F:/Unity Projects/Video Bug/library/metadata/a0/a09bce1dee3a97b4a8df7cb7b1f73723.resource"

2. The console is spammed with errors

Expected Result:
1. The error should contain all the relevant information for the end user

Expected Error:

WindowsVideoMedia error 0xc00d5212 while reading F:/Unity Projects/Video_bug_2/library/metadata/b3/b39bcb1015c8c8946b8bedc8e36ec8cf.resource
Context: Setting media type for first video stream
Error details: No suitable transform was found to encode or decode the content.
Track types:
Audio Track, type: %10%16
Video Track [1280 x 736], type: HEVC
Install HEVC Video Extensions to enable HEVC format support on compatible devices.
https://www.microsoft.com/en-ca/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq
https://www.microsoft.com/en-us/p/hevc-video-extensions/9nmzlz57r3t7

Environment:
Only on Windows

Occurring with:
2019.1.0a10

Note:
1. H265 Codec support is added in 2019.1.a10
2. Refer to the attached editor log

Comments (6)

  1. Novack

    Dec 06, 2022 12:45

    This had a regression in Unity 2022: Im getting the error without any details in Unity 2022.1.13f1

  2. reev4eg

    Dec 10, 2020 12:13

    Still happening only on Win7 in 2020.1.16:
    WindowsVideoMedia error 0xc00d36b4 while reading D:/Atom работа/Билд Трудоград/Trudograd_Win64_Data/StreamingAssets/Movie/AtomTeam.mp4

    Context: Setting media type for first video stream
    Error details: <Empty>
    Track types:
    Video Track [1920 x 1080], type: H264

    (Filename: C:\buildslave\unity\build\Modules/Video/Public/Media/WindowsMedia/WindowsVideoMedia.cpp Line: 3650)

  3. AnonUser84727

    Jul 03, 2019 18:44

    hey thanks for posting the resolution to this issue I ran into it happened to be on version 2018.3.4f1 but the error was so incomplete I couldn't resolve it without this extra info

    WindowsVideoMedia error 0xc00d5212 while reading C:/PATHTOVIDEO.mp4

    Context: Setting media type for first video stream
    Error details: No suitable transform was found to encode or decode the content.
    Track types:
    Audio Track, type:
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  4. Bscsproperties

    Apr 22, 2019 17:11

    Issue is not resolved! Still happening in Unity 2019.1.0f2

Add comment

Log in to post comment