Winforms C# : Could not load file or assembly 'AForge.Video.FFMPEG.dll'
I made a screen recorder that relies on the AForge.Video.FFMPEG.dll.
After getting the package AForge.Video from the NuGet package manager I find it doesn't include the AForge.Video.FFMPEG.dll, just the AForge.Video.dll. I decided to manually add the FFMPEG.dll into my program folder and make a reference to it.
However now I get this error message:

I have tried following many solutions, but they don't seem to refer to my issue.
(Just because i know this will be the top suggestion, yes it is running in x86)
Thanks to anyone who can help!
c# aforge
add a comment |
I made a screen recorder that relies on the AForge.Video.FFMPEG.dll.
After getting the package AForge.Video from the NuGet package manager I find it doesn't include the AForge.Video.FFMPEG.dll, just the AForge.Video.dll. I decided to manually add the FFMPEG.dll into my program folder and make a reference to it.
However now I get this error message:

I have tried following many solutions, but they don't seem to refer to my issue.
(Just because i know this will be the top suggestion, yes it is running in x86)
Thanks to anyone who can help!
c# aforge
I would love to provide more information, I just don't know what. So if you need it to solve the issue i would gladly provide it.
– Simkoo
Nov 19 '18 at 8:33
Afaik you should now useAccord.VideoandAccord.Video.FFPMEG
– marsze
Nov 19 '18 at 8:36
add a comment |
I made a screen recorder that relies on the AForge.Video.FFMPEG.dll.
After getting the package AForge.Video from the NuGet package manager I find it doesn't include the AForge.Video.FFMPEG.dll, just the AForge.Video.dll. I decided to manually add the FFMPEG.dll into my program folder and make a reference to it.
However now I get this error message:

I have tried following many solutions, but they don't seem to refer to my issue.
(Just because i know this will be the top suggestion, yes it is running in x86)
Thanks to anyone who can help!
c# aforge
I made a screen recorder that relies on the AForge.Video.FFMPEG.dll.
After getting the package AForge.Video from the NuGet package manager I find it doesn't include the AForge.Video.FFMPEG.dll, just the AForge.Video.dll. I decided to manually add the FFMPEG.dll into my program folder and make a reference to it.
However now I get this error message:

I have tried following many solutions, but they don't seem to refer to my issue.
(Just because i know this will be the top suggestion, yes it is running in x86)
Thanks to anyone who can help!
c# aforge
c# aforge
edited Nov 19 '18 at 8:45
Martin Zikmund
24.7k63460
24.7k63460
asked Nov 19 '18 at 8:32
SimkooSimkoo
297
297
I would love to provide more information, I just don't know what. So if you need it to solve the issue i would gladly provide it.
– Simkoo
Nov 19 '18 at 8:33
Afaik you should now useAccord.VideoandAccord.Video.FFPMEG
– marsze
Nov 19 '18 at 8:36
add a comment |
I would love to provide more information, I just don't know what. So if you need it to solve the issue i would gladly provide it.
– Simkoo
Nov 19 '18 at 8:33
Afaik you should now useAccord.VideoandAccord.Video.FFPMEG
– marsze
Nov 19 '18 at 8:36
I would love to provide more information, I just don't know what. So if you need it to solve the issue i would gladly provide it.
– Simkoo
Nov 19 '18 at 8:33
I would love to provide more information, I just don't know what. So if you need it to solve the issue i would gladly provide it.
– Simkoo
Nov 19 '18 at 8:33
Afaik you should now use
Accord.Video and Accord.Video.FFPMEG– marsze
Nov 19 '18 at 8:36
Afaik you should now use
Accord.Video and Accord.Video.FFPMEG– marsze
Nov 19 '18 at 8:36
add a comment |
1 Answer
1
active
oldest
votes
AForge.NET is now basically deprecated and replaced by Accord.NET. As Wikipedia says about Accord.NET:
The project was originally created to extend the capabilities of the AForge.NET Framework, but has since incorporated AForge.NET inside itself. Newer releases have united both frameworks under the Accord.NET name.
So if you are looking for the FFMPEG capabilities, you should reference Accord.Video.FFMPEG package from NuGet.
Install-Package Accord.Video.FFMPEG -Version 3.8.0
If you for some reason have to keep using AForge, try to follow the steps in this SO answer to include the DLL properly in the project.
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370884%2fwinforms-c-sharp-could-not-load-file-or-assembly-aforge-video-ffmpeg-dll%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
AForge.NET is now basically deprecated and replaced by Accord.NET. As Wikipedia says about Accord.NET:
The project was originally created to extend the capabilities of the AForge.NET Framework, but has since incorporated AForge.NET inside itself. Newer releases have united both frameworks under the Accord.NET name.
So if you are looking for the FFMPEG capabilities, you should reference Accord.Video.FFMPEG package from NuGet.
Install-Package Accord.Video.FFMPEG -Version 3.8.0
If you for some reason have to keep using AForge, try to follow the steps in this SO answer to include the DLL properly in the project.
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
add a comment |
AForge.NET is now basically deprecated and replaced by Accord.NET. As Wikipedia says about Accord.NET:
The project was originally created to extend the capabilities of the AForge.NET Framework, but has since incorporated AForge.NET inside itself. Newer releases have united both frameworks under the Accord.NET name.
So if you are looking for the FFMPEG capabilities, you should reference Accord.Video.FFMPEG package from NuGet.
Install-Package Accord.Video.FFMPEG -Version 3.8.0
If you for some reason have to keep using AForge, try to follow the steps in this SO answer to include the DLL properly in the project.
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
add a comment |
AForge.NET is now basically deprecated and replaced by Accord.NET. As Wikipedia says about Accord.NET:
The project was originally created to extend the capabilities of the AForge.NET Framework, but has since incorporated AForge.NET inside itself. Newer releases have united both frameworks under the Accord.NET name.
So if you are looking for the FFMPEG capabilities, you should reference Accord.Video.FFMPEG package from NuGet.
Install-Package Accord.Video.FFMPEG -Version 3.8.0
If you for some reason have to keep using AForge, try to follow the steps in this SO answer to include the DLL properly in the project.
AForge.NET is now basically deprecated and replaced by Accord.NET. As Wikipedia says about Accord.NET:
The project was originally created to extend the capabilities of the AForge.NET Framework, but has since incorporated AForge.NET inside itself. Newer releases have united both frameworks under the Accord.NET name.
So if you are looking for the FFMPEG capabilities, you should reference Accord.Video.FFMPEG package from NuGet.
Install-Package Accord.Video.FFMPEG -Version 3.8.0
If you for some reason have to keep using AForge, try to follow the steps in this SO answer to include the DLL properly in the project.
edited Nov 19 '18 at 8:50
answered Nov 19 '18 at 8:44
Martin ZikmundMartin Zikmund
24.7k63460
24.7k63460
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
add a comment |
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
Thank you so much, it solved all of the issues!
– Simkoo
Nov 19 '18 at 8:51
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370884%2fwinforms-c-sharp-could-not-load-file-or-assembly-aforge-video-ffmpeg-dll%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I would love to provide more information, I just don't know what. So if you need it to solve the issue i would gladly provide it.
– Simkoo
Nov 19 '18 at 8:33
Afaik you should now use
Accord.VideoandAccord.Video.FFPMEG– marsze
Nov 19 '18 at 8:36