Unity: Microsoft Media Foundation initialization failed
I have imported H264.mp4 videos in the Unity Assets folder. Every time I select a video I get this error:
Initializing Microsoft Media Foundation failed. It seems that the Microsoft Media Foundation is not installed on this machine or a newer version of Microsoft Media Foundation is required. To install the necessary libraries please install the Media Feature Pack from https://www.microsoft.com/en-us/search/result.aspx?q=Media+Feature+Pack for your version of Windows.
I installed Media Foundation as well as Media Feature Pack and restarted windows, but I still get this error. Please help me.
source to share
I faced the same problem in the past with installing Windows 10 N.
The link found on the Unity search link didn't help me:
https://www.microsoft.com/en-us/download/details.aspx?id=48231 (won't work)
And then I manually searched Google and found another link to a 64-bit installer (it was a completely different installer) that did the job.
https://www.microsoft.com/en-us/software-download/mediafeaturepack (Worked for me)
One noticeable difference between what didn't work and what was done is the one that worked asked me to restart my computer. After rebooting, I imported the video with no problem.
source to share