Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Video decoding - WindowsVideoMedia error 0xc00d36b4

Discussion in '5.6 Beta' started by CDF, Feb 18, 2017.

  1. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,211
    This is probably really silly and I know its User error but...

    WindowsVideoMedia error 0xc00d36b4
    Context: IMFSinkWriter::SetInputMediaType
    Error details: The data specified for the media type is invalid, inconsistent, or not supported by this object.
    Track types:

    The error only affects 1 clip, it was encoded the same as my other clips. h264, mp4.

    I've got Quicktime installed, not sure what else I need?
    Weird thing is... I have 2 PC's, my work PC can decode this clip fine. So I'm missing something on my home PC. Just not sure what.
     
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,211
    If I decode using Vp8 it works. No H264 though...
     
  3. DominiqueLrx

    DominiqueLrx

    Unity Technologies

    Joined:
    Dec 14, 2016
    Posts:
    249
    Hi CDF,

    Unity's VP8 decoder on most platforms is a software implementation so it will work on a larger number of scenarios.

    H.264, on the other hand, is supported natively by Media Foundation on Windows. There are differences on what is supported on various Windows versions (resolution being one key factor, as explained in the Format Constraints section of this page: https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx

    But please, file a bug if you have doubts, we'll make sure we are doing everything correctly to have as many playable files as possible within the contraints of the underlying library we're using.

    Thanks for your feedback!

    Dominique
    A/V developer at Unity
     
    siyadeveloper and wcoastsands like this.