Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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,311
    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,311
    If I decode using Vp8 it works. No H264 though...
     
  3. DominiqueLrx

    DominiqueLrx

    Unity Technologies

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