Tuesday, April 26, 2016

Video: Installing FFmpeg

Introduction

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.
It contains libavcodec, libavutil, libavformat, libavfilter, libavdevice, libswscale and libswresample which can be used by applications. As well as ffmpeg, ffserver, ffplay and ffprobe which can be used by end users for transcoding, streaming and playing.

Installation

首先,从参考文献[2]下载适用于安装机器的FFmpeg安装文件,32bit或是64bit。安装文件有三种Static、Shared和Dev,若区分不清,可以直接选择Static。以Win7 64bit操作系统为例,选择最新安装文件是:
1
ffmpeg-20160418-git-13406b6-win64-static.7z
20160418是发布日期,win64是指Win 64bit系统,static是其中一种类型。
将这一安装文件解压,得到一个名为如下的目录:
1
ffmpeg-20160418-git-13406b6-win64-static
这一目录可以放在任何位置,即为以后该软件的运行位置。
之后,路径要添加到环境变量Path下,这一路径是:
1
~~\ffmpeg-20160418-git-13406b6-win64-static\bin
添加成功后,在CMD上输入命令“ffmpeg –version”,若返回ffmpeg版本信息即表示安装成功。

References

[1] http://ffmpeg.org.
[2] Download Address: https://ffmpeg.zeranoe.com/builds/.

No comments:

Post a Comment