Video decoding - WindowsVideoMedia error 0xc00d36b4

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.

If I decode using Vp8 it works. No H264 though...

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

2 Likes