Search Unity

  1. The 2021.2 beta is now available. To find out what's new, have a look at our 2021.2 beta blog post.
    Dismiss Notice
  2. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  3. 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,128
    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,128
    If I decode using Vp8 it works. No H264 though...
     
  3. DominiqueLrx

    DominiqueLrx

    Unity Technologies

    Joined:
    Dec 14, 2016
    Posts:
    229
    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.
unityunity