Cycles-X Branch - "MFPlat.DLL was not found" #90200

Closed
opened 2021-07-26 20:04:47 +02:00 by TaylorS · 17 comments

System Information
Operating system: Windows 11 Pro N (I had the same issue on my windows 10 pro device)
Graphics card: NVIDIA GeForce RTX 2070 Super

Blender Version
Broken: Blender 3.0 - July 26, 05:07:26 - cycles-x - 14a3ceae0a47
Worked: (Not known exactly, but a recent patch a few days back was working)

Short description of error
Blender does not open, simply outputs an error message saying "The code execution cannot proceed because MFPlat.DLL was not found"
Capture.PNG

Exact steps for others to reproduce the error
Based on the default startup
(Download the most recent Cycles X branch and try to run it, specifically the version mentioned)

**System Information** Operating system: **Windows 11 Pro N** ***(I had the same issue on my windows 10 pro device)*** Graphics card: **NVIDIA GeForce RTX 2070 Super** **Blender Version** Broken: **Blender 3.0 - July 26, 05:07:26 - cycles-x - 14a3ceae0a47** Worked: **(Not known exactly, but a recent patch a few days back was working)** **Short description of error** Blender does not open, simply outputs an error message saying "**The code execution cannot proceed because MFPlat.DLL was not found**" ![Capture.PNG](https://archive.blender.org/developer/F10239038/Capture.PNG) **Exact steps for others to reproduce the error** Based on the default startup **(Download the most recent Cycles X branch and try to run it, specifically the version mentioned)**
Author

Added subscriber: @MisterSirCode-4

Added subscriber: @MisterSirCode-4

Added subscribers: @LazyDodo, @deadpin

Added subscribers: @LazyDodo, @deadpin

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

The "N" SKU of windows does not contain that binary (by design since the SKU is meant to not include various media-related items) unless you install the "Media feature pack"[1].

@LazyDodo Might you know where that dependency is being pulled in from/what might use it? It's difficult to say what might be triggering its load.

The "N" SKU of windows does not contain that binary (by design since the SKU is meant to not include various media-related items) unless you install the "Media feature pack"[1]. @LazyDodo Might you know where that dependency is being pulled in from/what might use it? It's difficult to say what might be triggering its load. - [x] KB article [KB3145500 ](https://support.microsoft.com/en-us/help/3145500/media-feature-pack-list-for-windows-n-editions)
Member

ffmpeg is pulling it in ever since the version bump in 95690dd362 i'd have to look into if we can get rid of it and if we do what we would lose.

ffmpeg is pulling it in ever since the version bump in 95690dd362 i'd have to look into if we can get rid of it and if we do what we would lose.
Member

It's somewhat strange @MisterSirCode-4 reports this changed in the last few days, by my math this should have been failing since the end of may?

It's somewhat strange @MisterSirCode-4 reports this changed in the last few days, by my math this should have been failing since the end of may?
Author

In #90200#1197328, @LazyDodo wrote:
It's somewhat strange @MisterSirCode-4 reports this changed in the last few days, by my math this should have been failing since the end of may?

Ive been using Cycles X branch for months, updating it about once each week.
Last weeks latest patch straight off the experimental branch page was working on Windows 10 and 11 on both of my devices.
Ive honestly got no clue.
Though, you say its related to FFmpeg, so would this possibly be fixed by reinstalling it?

the only thing that I can think of, is that I recently cleared some caches and old programs, ffmpeg may have been located within one of the old library folders, in which case I couldve deleted it (Though I'm skeptical I coincidentally deleted it on both devices... that'd be extremely unlucky)

Im not 100% sure where the default install directory is, so Ill sift through my PATH and see if I still have ffmpeg

Edit: ffmpeg sure as heck wasnt in my PATH, I reinstalled it, verified it was active in command prompt, and then restarted my PC. Tried re-running blender 3.0 and it still has the same error. Meanwhile 2.93 from steam works fine.

> In #90200#1197328, @LazyDodo wrote: > It's somewhat strange @MisterSirCode-4 reports this changed in the last few days, by my math this should have been failing since the end of may? Ive been using Cycles X branch for months, updating it about once each week. Last weeks latest patch straight off the experimental branch page was working on Windows 10 and 11 on both of my devices. Ive honestly got no clue. Though, you say its related to FFmpeg, so would this possibly be fixed by reinstalling it? the only thing that I can think of, is that I recently cleared some caches and old programs, ffmpeg may have been located within one of the old library folders, in which case I couldve deleted it (Though I'm skeptical I coincidentally deleted it on both devices... that'd be extremely unlucky) Im not 100% sure where the default install directory is, so Ill sift through my PATH and see if I still have ffmpeg **Edit: ffmpeg sure as heck wasnt in my PATH, I reinstalled it, verified it was active in command prompt, and then restarted my PC. Tried re-running blender 3.0 and it still has the same error. Meanwhile 2.93 from steam works fine.**

No, blender includes ffmpeg itself. Perhaps you had the media pack installed before and removed it?

You can try an archived build of cycles-x from a few weeks ago to confirm: https://builder.blender.org/download/experimental/archive/ (pick a cycles-x build with a date that you think should work and try that?)

Beyond that, installed the Media pack should allow you to get back in business if you are blocked.

No, blender includes ffmpeg itself. Perhaps you had the media pack installed before and removed it? You can try an archived build of cycles-x from a few weeks ago to confirm: https://builder.blender.org/download/experimental/archive/ (pick a cycles-x build with a date that you think should work and try that?) Beyond that, installed the Media pack should allow you to get back in business if you are blocked.
Author

In #90200#1197334, @deadpin wrote:
No, blender includes ffmpeg itself. Perhaps you had the media pack installed before and removed it?

You can try an archived build of cycles-x from a few weeks ago to confirm: https://builder.blender.org/download/experimental/archive/ (pick a cycles-x build with a date that you think should work and try that?)

Beyond that, installed the Media pack should allow you to get back in business if you are blocked.

I tried a few recent patches and they had the same error.

I guess its a local issue then.

I pasted a mfplat.dll into the main directory of the most recent patch and it works perfectly. (I tried installing the media pack but it only supports up to windows 10 as of right now, so I cant use the official one, but I found the dll relatively easily)

> In #90200#1197334, @deadpin wrote: > No, blender includes ffmpeg itself. Perhaps you had the media pack installed before and removed it? > > You can try an archived build of cycles-x from a few weeks ago to confirm: https://builder.blender.org/download/experimental/archive/ (pick a cycles-x build with a date that you think should work and try that?) > > Beyond that, installed the Media pack should allow you to get back in business if you are blocked. I tried a few recent patches and they had the same error. I guess its a local issue then. I pasted a mfplat.dll into the main directory of the most recent patch and it works perfectly. (I tried installing the media pack but it only supports up to windows 10 as of right now, so I cant use the official one, but I found the dll relatively easily)
Ray molenkamp self-assigned this 2021-07-26 21:37:13 +02:00
Member

took a quick peek, doesn't seem like we need that dependency, i should be able to rebuild ffmpeg without it, give it a few days, i'll post here when a new build is available you can test.

took a quick peek, doesn't seem like we need that dependency, i should be able to rebuild ffmpeg without it, give it a few days, i'll post here when a new build is available you can test.
Member

actually that was less work than expected, can you remove the mfplat.dll you added, and replace the ffmpeg dlls with the ones in the zip file attached below.

ffmpeg_44_no_mediafoundation.zip

does that work for you?

actually that was less work than expected, can you remove the `mfplat.dll` you added, and replace the ffmpeg dlls with the ones in the zip file attached below. [ffmpeg_44_no_mediafoundation.zip](https://archive.blender.org/developer/F10239296/ffmpeg_44_no_mediafoundation.zip) does that work for you?
Author

In #90200#1197398, @LazyDodo wrote:
actually that was less work than expected, can you remove the mfplat.dll you added, and replace the ffmpeg dlls with the ones in the zip file attached below.

ffmpeg_44_no_mediafoundation.zip

does that work for you?

thankyou, Ill try that out.

also it turns out Windows 11 can get the Media Feature Pack... its an optional feature.

Im still not sure why this is happening on my windows 10 device aswell, Ill try out that ffmpeg build with it and see what happens

Also, regarding the dependency to blender, can this be fixed within blender itself to not require MFPlat.dll? Or does it actually need it... I only ask because all my 2.93 and older builds are all still working on both devices.

its only cycles X branch that doesnt appear to work.

image.png

> In #90200#1197398, @LazyDodo wrote: > actually that was less work than expected, can you remove the `mfplat.dll` you added, and replace the ffmpeg dlls with the ones in the zip file attached below. > > [ffmpeg_44_no_mediafoundation.zip](https://archive.blender.org/developer/F10239296/ffmpeg_44_no_mediafoundation.zip) > > does that work for you? thankyou, Ill try that out. also it turns out Windows 11 *can* get the Media Feature Pack... its an optional feature. Im still not sure why this is happening on my windows 10 device aswell, Ill try out that ffmpeg build with it and see what happens **Also, regarding the dependency to blender, can this be fixed within blender itself to not require MFPlat.dll? Or does it actually need it... I only ask because all my 2.93 and older builds are all still working on both devices.** **its only cycles X branch that doesnt appear to work.** ![image.png](https://archive.blender.org/developer/F10239727/image.png)
Member

Also, regarding the dependency to blender, can this be fixed within blender itself to not require MFPlat.dll?

Yes, and i'm asking you to test it.

> Also, regarding the dependency to blender, can this be fixed within blender itself to not require MFPlat.dll? Yes, and i'm asking you to test it.

This issue was referenced by cae18abef4

This issue was referenced by cae18abef47d6aeacf54ccf8f05c5cece11afd91
Member

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Member

should be fixed starting with the next daily builds.

should be fixed starting with the next daily builds.
Author

Glad to hear it was fixed.

The push fixed it on my windows 10 device as well, and I also downloaded the update on my windows 11 pro n device, it is working without the DLL or media pack

Glad to hear it was fixed. The push fixed it on my windows 10 device as well, and I also downloaded the update on my windows 11 pro n device, it is working without the DLL or media pack
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#90200
No description provided.