如何在Visual Studio 2010中使用ffmpeg支持编译OpenCV 2.3 [英] How to compile OpenCV 2.3 with ffmpeg support with Visual Studio 2010

查看:158
本文介绍了如何在Visual Studio 2010中使用ffmpeg支持编译OpenCV 2.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上搜索了两天的教程,以在Windows下编译带有ffmpeg支持的OpenCV 2.3,但未找到任何内容.我在VS2010中使用的是OpenCV的预构建版本,但无法从网络摄像机读取内容,这就是为什么我需要ffmeg支持的原因.

It's two days I'm search around the web for a tutorial to compile OpenCV 2.3 with ffmpeg support under windows, but nothing found. I'm using pre-built version of OpenCV in VS2010 but I cannot read from network camera, it's why I need ffmeg support.

推荐答案

使用CMake从源代码构建OpenCV.选择USE_FFMPEG标志.

Build OpenCV with CMake from sources. Choose USE_FFMPEG flag.

http://ffmpeg.zeranoe.com/builds/

这篇关于如何在Visual Studio 2010中使用ffmpeg支持编译OpenCV 2.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆