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

参考:https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,785评论 2 45
  • 往事堪回首, 岁月改容颜; 叶落虽无声, 真爱亦无痕; 大漠遥不可及的一片梦, 思念-----忠实的背叛者!!!!...
    婉君520阅读 4,411评论 2 8
  • 竹草青青春水暖,君心重重难安放。 今日也来矫情风骚一下。 本月读了许多好文章,读了几本好书,做了一些读书笔记和摘...
    沙漠kenn阅读 1,792评论 0 0
  • (一)关于自我成长 本周的计划: 固定每日早晨5-7点日更2000。 需要看完一本相关的小说,借鉴别人写的好的地方...
    财务自由的社群运营人苏宝阅读 1,333评论 0 3
  • 文/言月禾 一般讲道理之前都要先讲个故事,这篇也有。 Emma和小蝶都是我的好朋友,她俩性格迥异,一个大大咧咧不拘...
    言月禾阅读 3,385评论 2 2

友情链接更多精彩内容