gpt4 book ai didi

c++ - OpenCV 3.0.0 "configure"失败,未下载 ffmpeg

转载 作者:可可西里 更新时间:2023-11-01 12:41:52 26 4
gpt4 key购买 nike

尝试在 Windows 上使用 CMAKE 配置 OpenCV 时出现以下错误:

CMake Warning at cmake/OpenCVUtils.cmake:865 (message):
Download: Local copy of opencv_ffmpeg.dll has invalid MD5 hash:
d41d8cd98f00b204e9800998ecf8427e (expected:
89c783eee1c47bfc733f08334ec2e31c)

Call Stack (most recent call first):
3rdparty/ffmpeg/ffmpeg.cmake:10 (ocv_download)
cmake/OpenCVFindLibsVideo.cmake:193 (include)
CMakeLists.txt:527 (include)


Downloading opencv_ffmpeg.dll...
CMake Error at cmake/OpenCVUtils.cmake:888 (file):
file DOWNLOAD MD5 mismatch

for file: [C:/research/opencv300/sources/3rdparty/ffmpeg/downloads/89c783eee1c47bfc733f08334ec2e31c/opencv_ffmpeg.dll]
expected MD5 sum: [89c783eee1c47bfc733f08334ec2e31c]
actual MD5 sum: [d41d8cd98f00b204e9800998ecf8427e]

Call Stack (most recent call first):
3rdparty/ffmpeg/ffmpeg.cmake:10 (ocv_download)
cmake/OpenCVFindLibsVideo.cmake:193 (include)
CMakeLists.txt:527 (include)


CMake Error at cmake/OpenCVUtils.cmake:892 (message):
Failed to download opencv_ffmpeg.dll. Status=1;"unsupported protocol"
Call Stack (most recent call first):
3rdparty/ffmpeg/ffmpeg.cmake:10 (ocv_download)
cmake/OpenCVFindLibsVideo.cmake:193 (include)
CMakeLists.txt:527 (include)


Configuring incomplete, errors occurred!

我尝试手动下载 opencv_ffmpeg.dll,但配置过程不起作用。

你能帮我解决这个问题吗?

最佳答案

最近用 opencv 3.1.0 遇到了同样的问题。通过使用 opencv 提取的 ./build/bin 目录中的相应 dll 解决了这种情况。至于ffmpeg_version.cmake ,从给定的链接中获取它。替换./sources/3rd party/ffmpeg下的文件,然后重新配置cmake。

关于c++ - OpenCV 3.0.0 "configure"失败,未下载 ffmpeg,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32932915/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com