【问题标题】:Get images from video in c#从 C# 中的视频中获取图像
【发布时间】:2013-09-02 07:52:23
【问题描述】:

我正在使用 AForge.Video.FFMPEG 从 C# 中的 avi 视频文件中获取图像。我正在使用 videoFileReader 从视频中读取帧。

我已经在我的项目中添加了 aforge.video.ffmpeg 的 dll 文件,但是我在运行我的项目时遇到了错误。

This is the reference link I am using.

我收到错误:

"Could not load file or assembly 'AForge.Video.FFMPEG.DLL' or one of its dependencies. The specified module could not be found."

在运行这个项目时。

谁能帮帮我

【问题讨论】:

  • 谢谢Jakub,你能帮帮我吗
  • 您是否添加了您链接到的文档中提到的 FFMpeg 本机 dll?
  • 在一般情况下,要调试这些类型的错误,请使用dependency walker。打开其中有问题的文件,它应该会准确告诉您缺少哪些依赖项。

标签: c# video frames aforge


【解决方案1】:

在 Visual Studio 中,您需要引用项目中的 dll 由于此 dll 不是默认 .net 文件或 system32 dll 的一部分

这就是你如何引用https://www.youtube.com/watch?v=x-KK7bmo1AM

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-10-12
    • 1970-01-01
    • 1970-01-01
    • 2023-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多