Ubuntu16.04 LTS 安装FFmpeg

本文介绍了在Ubuntu16.04 LTS上安装FFmpeg的详细过程,包括从配置到安装的步骤。在安装过程中遇到了权限问题和依赖库的缺失,如yasm和sdl。解决方法包括以root权限运行命令和通过apt-get安装sdl1.2。然而,apt-get更新失败,需要从官网下载sdl2.0并手动安装。
摘要由CSDN通过智能技术生成

首先在官网上下载最新的FFmpeg压缩包:

http://ffmpeg.org/download.html

压缩包的格式是.tar.bz2,解压压缩文件,以ffmpeg-3.3.4为例,这里需要用到的命令是:

$ tar -jxvf ffmpeg-3.3.4.tar.bz2

然后到解压下的文件夹下查看INSTALL.md

$ cat INSTALL.md 

#Installing FFmpeg:


1. Type `./configure` to create the configuration. A list of configure
options is printed by running `configure --help`.


    `configure` can be launched from a directory different from the FFmpeg
sources to build the objects out of tree. To do this, use an absolute
path when launching `configure`, e.g. `/ffmpegdir/ffmpeg/configure`.


2. Then type `make` to build FFmpeg. GNU Make 3.81 or later is required.


3. Type `make install` to install all binar

  • 1
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值