centos 7 ffmpeg php,How to Install FFMPEG on CentOS 7

FFMPEG is a major multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play various audio and video files in different formats.  FFMPEG is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and re-size video on the fly with a high quality polyphase filter. It is supported by various library files like libavcodec, libavutil, libavformat, libavfilter, libavdevice, libswscale and libswresample.

libavcodec -an audio/video codec library

libavutil- utility library to aid portable multimedia programming

libavformat- library which provides framework for multiplexing and multiplexing video/audio and subtitle streams

libavfilter -library which enhances a generic audio/video filtering

libavdevice-  library which  provides a framework grabbing from and rendering to many common multimedia input/output devices framework

libswscale- library enhancing highly optimized image scaling and colorspace and pixel format conversion operations

libswresample- library promoting audio resampling, rematrixing and sample format conversion operations

In short, it is a free software available with libraries and programs to handle multimedia data. It can also be used as a commandline tool in PHP and other programming languages for transcoding multimedia files.

Installation Steps for FFMPEG

1. Enable Nux Dextop repo on CentOS 7

yum -y install epel-release

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

2. Install FFMPEG and FFMPEG devel packages

yum -y install ffmpeg ffmpeg-devel

3. Check and confirm FFMPEG version

ffmpeg

man ffmpeg

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值