Another way of getting information is using the mediainfo command-line tool. I understand these are big files so sharing one of them here may not be feasible (though we can take a look if you can share a URL). It would also be good to have more detailed information about the movie file you're trying to play. See this link for example for an explanation of how this can be done with the ffmpeg command-line tool: If it's inactive, it's because for some reason the hardware-accelerated decoder is not kicking in and what you get is instead the software decoding (which is capped at 4K).Īnother thing I'd explore is removing the Timecode track from the movie you're playing in case it's interfering with our decoding logic. If the graph is indeed active, it's because the Intel decoder is doing its job. If this does play, then you can visit the Windows task manager and, while playback is ongoing, look at the Performance tab, in the GPU subtab, and there should be a graph showing activity for hardware-accelerated video decoding. So trying 4K or even 2K would be a good start. Here's a very useful website to translate these obscure error codes: įirst thing to try would be to play HEVC content that is not at the limit of what the device can do. The error code that we're reporting (0x80004004) is telling you that the codec has aborted (WINCODEC_ERR_ABORTED). There clearly is something that is upsetting Microsoft Media Foundation in the HEVC clip that is being played. My suspicion is that while the new codec is installed, the Microsoft Media Foundation Library that does video playback in Unity is not using it. I've tried upgrading to the latest Unity LTS version, restarting Unity, rebooting the PC, and even uninstalling and re-installing the HEVC codec and then rebooting the PC again. I've tried installing the software at the link above after paying the 99 cents, and while the built-in Media Player app in Windows 11 seems to be able to playback the video better, I'm still experiencing the same error when trying to play the video back within our Unity app. Install HEVC Video Extensions to enable HEVC format support on compatible devices. Resolution exceeds the Microsoft Media Foundation HEVCĭecoder limit of 4096 x 2304 on Windows 10 and above. WindowsVideoMedia error 0x80004004 while reading filename.movĬontext: IMFSourceReader::WaitForSample in StepAllStreams
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |