首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >OpenCV linux如何安装FFMPEG

OpenCV linux如何安装FFMPEG
EN

Stack Overflow用户
提问于 2017-01-16 14:26:25
回答 2查看 2.3K关注 0票数 0

有没有人可以帮助我如何在linux上安装FFMPEG的工作方法,我已经遵循了几个教程,他们似乎工作,除非一切FFMPEG从未在系统中找到,甚至在几次系统重新启动后,我最后一次尝试是从这个链接Compile FFmpeg on Ubuntu, Debian, or Mint

我在教程中做了所有的工作,但是当我运行man ffmpeg时,它告诉我找不到手册,OpenCV也没有检测到它,我尝试调用Core.getBuildInformation(),输出是:

代码语言:javascript
复制
GUI: 
QT:                          NO
GTK+:                        NO
GThread :                    NO
GtkGlExt:                    NO
OpenGL support:              NO
VTK support:                 NO

Media I/O: 
ZLib:                        zlib (ver 1.2.8)
JPEG:                        libjpeg (ver 90)
WEBP:                        build (ver 0.3.1)
PNG:                         build (ver 1.6.24)
TIFF:                        build (ver 42 - 4.0.2)
JPEG 2000:                   build (ver 1.900.1)
OpenEXR:                     build (ver 1.7.1)
GDAL:                        NO
GDCM:                        NO

Video I/O:
DC1394 1.x:                  NO
DC1394 2.x:                  NO
FFMPEG:                      NO
  avcodec:                   NO
  avformat:                  NO
  avutil:                    NO
  swscale:                   NO
  avresample:                NO
GStreamer:                   NO
OpenNI:                      NO
OpenNI PrimeSensor Modules:  NO
OpenNI2:                     NO
PvAPI:                       NO
GigEVisionSDK:               NO
Aravis SDK:                  NO
UniCap:                      NO
UniCap ucil:                 NO
V4L/V4L2:                    NO/YES
XIMEA:                       NO
Xine:                        NO
gPhoto2:                     NO

Parallel framework:            pthreads

Other third-party libraries:
Use IPP:                     9.0.1 [9.0.1]
     at:                     /home/daddy/opencv-3.2.0/build/3rdparty/ippicv/ippicv_lnx
Use IPP Async:               NO
Use VA:                      NO
Use Intel VA-API/OpenCL:     NO
Use Lapack:                  NO
Use Eigen:                   NO
Use Cuda:                    NO
Use OpenCL:                  YES
Use OpenVX:                  NO
Use custom HAL:              NO

OpenCL:                        <Dynamic loading of OpenCL library>
Include path:                /home/daddy/opencv-3.2.0/3rdparty/include/opencl/1.2
Use AMDFFT:                  NO
Use AMDBLAS:                 NO

Python 2:
Interpreter:                 /usr/bin/python2.7 (ver 2.7.12)

Python 3:
Interpreter:                 /usr/bin/python3 (ver 3.5.2)

Python (for build):            /usr/bin/python2.7

Java:
ant:                         /usr/bin/ant (ver 1.9.6)
JNI:                         /usr/lib/jvm/java-8-oracle/include /usr/lib/jvm/java-8-oracle/include/linux /usr/lib/jvm/java-8-oracle/include
Java wrappers:               YES
Java tests:                  YES

Matlab:                        Matlab not found or implicitly disabled

Documentation:
Doxygen:                     NO

Tests and samples:
Tests:                       YES
Performance tests:           YES
C/C++ Examples:              NO

Install path:                  /usr/loca
cvconfig.h is in:              /home/user/opencv-3.2.0/build
EN

回答 2

Stack Overflow用户

发布于 2017-01-16 16:55:25

.deb系统上,需要安装*libavformat-dev、libavcodec-dev、libswscale-dev、libavresample-dev包。

票数 1
EN

Stack Overflow用户

发布于 2017-01-19 23:29:45

如果可以的话,使用docker Image,它已经预先配置好了所有的东西。让你的生活变得更轻松- Docker Image

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41670584

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档