//静态版的

FFmpeg Static Builds   release: 3.3.3

https://www.johnvansickle.com/ffmpeg/

ffmpeg-release-64bit-static.tar.xz

解压xz文件

xz -d ffmpeg-release-64bit-static.tar.xz.tar.xz

tar -xvf  ffmpeg-release-64bit-static.tar.xz.tar

或者一步完后

tar xvJf  ffmpeg-release-64bit-static.tar.xz

自己编译

http://ffmpeg.org/download.html#releases

ffmpeg-3.0.9.tar.xz

tar xvJf  ffmpeg-3.0.9.tar.xz

./configure --help

./configure 后出现问题

yasm/nasm not found or too old. Use --disable-yasm for a crippled build.

./configure  --disable-yasm

make

make install

ffmpeg -help

搞定

使用过程中出现问题

No such filter: 'delogo'

Mplayer Delogo

没有生成ffplay

Makefile中指定的config.mak(在ffmpeg根目录下)中: CONFIG_FFPLAY=yes

./configure --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-shared --disable-yasm

ERROR: libmp3lame >= 3.98.3 not found

在 https://sourceforge.net/projects/lame/files/lame/3.99/  下载

lame-3.99.5.tar.gz

tar xzf  lame-3.99.5.tar.gz

cd lame-3.99.5

./configure

make

make install

编译完出现如下问题

ffmpeg: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory

ln -s /usr/local/lib/libmp3lame.so.0.0.0 /usr/lib64/libmp3lame.so.0

mv /usr/local/lib/libmp3lame.so.0.0.0 /usr/lib64/libmp3lame.so.0

后来安装的ffmpeg-3.3.3

因为要使用 Installing libsdl-1.2 development package

yum install SDL-devel

./configure  --disable-yasm  --enable-libmp3lame --enable-shared  --enable-libx264  --enable-gpl

ERROR: libx264 not found

wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2

tar xjvf last_x264.tar.bz2

cd x264-snapshot*

./configure --enable-static --disable-opencl

报错

Found no assembler
Minimum version is nasm-2.13
If you really want to compile without asm, configure with --disable-asm.

./configure --enable-static --disable-opencl --disable-asm

make

make install

参考 https://stackoverflow.com/questions/25079145/how-to-resolve-error-libx264-not-found

然后回到FFmpeg

./configure  --disable-yasm  --enable-libmp3lame --enable-shared  --enable-libx264  --enable-gpl

出现

WARNING: using libx264 without pkg-config

根据参考文章不用管

make

make install

查看过滤器

ffmpeg -filters

参考文章

http://thierry-xing.iteye.com/blog/2017864

http://www.mikewootc.com/wiki/sw_develop/multimedia/ffmpeg_build.html

http://escabe.org/joomla/index.php/13-projects/matlab/joymex2cat/6-installing-libsdl-12-development-package

https://blog.evanxia.com/2016/12/1212

安装FFmpeg3.0.9的更多相关文章

  1. linux CentOS7.2安装ffmpeg-3.0.2

    ffmpeg是一款视频处理软件,在php5.5前以php_ffmpeg.dll扩展的方式存在,通过网上查资料显示,从php5.5以后不支持该扩展了.那么在linux系统下安装ffmpeg.方法如下: ...

  2. 编译安装 varnish-4.1.2和yum 安装 varnish-4.0.3

    vanish可以让用户自己选择缓存数据是存于内存还是硬盘,存于内存一般基于二八法则即常访问的数据是磁盘存储的总数据五分之一,因此内存也应该是硬盘文件大概五分之一.如果有多台vanish则,总内存满足即 ...

  3. Ubuntu14.04 64位机上安装cuda8.0 cudnn5.0操作步骤 - 网络资源是无限的

    查看Ubuntu14.04 64位上显卡信息,执行: lspci | grep -i vga lspci -v -s 01:00.0 nvidia-smi 第一条此命令可以显示一些显卡的相关信息:如果 ...

  4. win7中VS2010中安装CSS3.0问题解决方法

    win7中VS2010中安装CSS3.0问题解决方法   在安装Standards Update for VS2010 SP1后,VS2010中没有CSS3.0问题,以下是我的解决方法 1.首先去官网 ...

  5. CentOS_7.2安装Redis_3.0

    一.安装依赖包和开发工具: yum install vim vim-enhanced wget zip unzip telnet ntsysv compat* apr* nasm* gcc gcc* ...

  6. mac os x安装php7.0和phalcon3.0

    1,安装xampp(with php7.0) 下载地址: https://www.apachefriends.org/download.html 2,安装phalcon3.0 cd ~/git clo ...

  7. Debian8.3.0下安装Odoo8.0步骤

    Debian8.3.0下安装Odoo8.0的方法 假设你已经安装好了Debian 系统,使用root帐号执行如下命令 # apt-get update && apt-get upgra ...

  8. Ubuntu 安装OpenCV3.0.0

    Ubuntu安装OpenCV3.0.0 为了看看opencv3.0的HDR效果,尝试安装opencv3.0到ubuntu12.04上面,安装了好几次终于成功了. 参考博客: http://www.sa ...

  9. win8下安装matlab7.0

    在win8下安装matlab7.0会出现一些兼容性的问题,需要设置系统环境变量,修改方式如下. 1.设置环境变量,方法:在你的安装目录的\MATLAB7\bin\win32有一个叫做atlas_Ath ...

随机推荐

  1. Miscosoft Visual Studio项目guid取值

    There isn't an easy way to change the type of a project in Visual Studio project once it is created; ...

  2. Gradle2.0用户指南翻译——第一章. 介绍

    翻译项目请关注Github上的地址:https://github.com/msdx/gradledoc本文翻译所在分支:https://github.com/msdx/gradledoc/tree/2 ...

  3. [置顶] 滴滴插件化框架VirtualAPK原理解析(一)之插件Activity管理

    上周末,滴滴与360都开源了各自的插件化框架,VirtualAPK与RePlugin,作为一个插件化方面的狂热研究者,在周末就迫不及待的下载了Virtualapk框架来进行研究,本篇博客带来的是Vir ...

  4. 将安防IPC摄像机进行类似于萤石/乐橙/360水滴模式的互联网直播的几种方案

    前言 在维护EasyDarwin开源项目的几年内,几乎市面上大大小小的技术需求都给接触了一遍,大团队.大背景有大需求,草根团队有草根团队的需求,然而这些需求近些年都有一个发展的趋势,那就是" ...

  5. Java面试题收集以及参考答案(100道)

    不积跬步无以至千里,这里会不断收集和更新Java基础相关的面试题,目前已收集100题. 1.什么是B/S架构?什么是C/S架构 B/S(Browser/Server),浏览器/服务器程序 C/S(Cl ...

  6. 【剑指offer】反转链表,C++实现(链表)

    1.题目 输入一个链表的头结点,首先反转链表后,然后输出链表的所有元素(牛客网). struct ListNode { int val; struct ListNode *next; }; 2.思路 ...

  7. 多态 Java 2015/9/16

    多态:http://www.cnblogs.com/chenssy/p/3372798.html     多态就是指程序中定义的引用变量所指向的具体类型和通过该引用变量发出的方法调用在编程时并不确定, ...

  8. c语言输出4*5的数列?

    1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20   输出上面的数列,用c实现的代码:<pre lang="c" line=&quo ...

  9. System.Net.FtpClient改进

    项目用到Ftp,搜了下现有的类库System.Net.FtpClient 貌似比较不错. 一开始用着还行,但是有个FtpServer下有8k多内容,列表需要很久(7.8s)才能刷新出来. 翻源码吧,有 ...

  10. Python:数据结构(list, tuple, Dict & Set)

    list: Python中内置的有序数据结构,即数组.由于Python是动态语言,因此数组元素的类型没有限定. classmates = [“Michael”, “David”,”Bob”,”Trac ...