ZC:PDF:D:\_eBook\OpenCV\学习OpenCV(中文版Linuxidc.com).pdf

1、函数cvCaptureFromAVI(...) & cvCreateFileCapture(...) 返回的都是 NULL

 1.1、网上的资料:

  (A)ZC:未采用该方案

   

  (B)ZC:采用该方案

   

    ZC:关键是 "opencv_ffmpeg210.dll",而我使用的是 版本"opencv-2.4.10.exe"  ∴ 我的文件是 "opencv_ffmpeg2410.dll"(没有找到 文件"opencv_ffmpeg2410d.dll")

2、“[cinepak @ 0028be40] cinepak_decode failed” (ZC:这个应该是 警告, ∵ 没有中断程序)

 例子2-10

 使用"tree.avi"的时候,在cvQueryFrame(...)读取最后一个帧的时候,会报错“[cinepak @ 0028be40] cinepak_decode failed”

 ZC:网上找到 这个报错是出自:FFmpeg_ libavcodec_cinepak.c Source File.html(http://ffmpeg.org/doxygen/trunk/cinepak_8c_source.html

static int cinepak_decode_frame(AVCodecContext *avctx,
void *data, int *got_frame,
AVPacket *avpkt)
{
... ... if ((ret = cinepak_decode(s)) < ) {
av_log(avctx, AV_LOG_ERROR, "cinepak_decode failed\n");
} ... ...
}

  ZC:貌似 opencv-2.4.10 的源码里面没有这个,应该是在 FFmpeg的源码里面

3、

4、

5、

最新文章

  1. SEO优化---学会建立高转化率的网站关键词库
  2. 《Continuous Delivery》 Notes 2: Configuration Management
  3. postgresql 函数&amp;存储过程 ; 递归查询
  4. mvcAPI (入门 2)
  5. PeopleReady 是什么系统?其中文为全员就绪
  6. linux下如何产生core,调试core
  7. Java学习笔记---继承和super的用法
  8. matlab实现协同过滤之pdist、squareform
  9. preg_replace 方法
  10. apache:侧重于http server tomcat:侧重于servlet引擎
  11. python实现加密
  12. vs2017无法安装
  13. Python模块1
  14. PythonStudy——nonlocal关键字
  15. 洛谷P3870开关题解
  16. 【转】Linux查看系统是32位还是64位方法总结
  17. 原 HTML5 requestFullScreen&amp;exitFullscreen全屏兼容方案
  18. 解决双系统(Window10+Ubuntu16.10)下ubuntu安装git时提示软件包git没有可安装候选问题
  19. SSH整合 第三篇 Spring的加入
  20. K-Means聚类算法的原理及实现【转】

热门文章

  1. UPS电源运用在数据中心,有什么优势?
  2. js里url里有特殊字符(如&amp;)情况,后台request.getParameter(&quot;url&quot;)里&amp;变成&
  3. id/su/chage/cash
  4. v-for为什么要加key,能用index作为key么
  5. mfc编程之发送wm_paint消息时绘图界面只出现一瞬间
  6. MySQL数据分析-(10)SQL基础操作之表操作
  7. 【java】Java.math.BigDecimal.subtract()方法实例
  8. csp-s模拟99
  9. Ubuntu18.04初始的systemd service
  10. Flutter点击两次返回键退出APP