最新消息:文章中包含代码时,请遵守代码高亮规范!

CentOS及Ubuntu下安装FFMpeg

Linux Terry 575浏览 0评论

Installing FFMpeg on Ubuntu

  • Add the mc3man ppa
    sudo add-apt-repository ppa:mc3man/trusty-media
  • Run following command to Update the package list.
    sudo apt-get update
    sudo apt-get update sudo apt-get dist-upgrade
  • Now FFmpeg is available to be installed with apt , Run this command
    sudo apt-get install ffmpeg
    

Installing FFMpeg on CentOS

  • Enable EPEL repository
    • for centos 6
        rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
    • for centos 5
        rpm -Uvh http://mirrors.kernel.org/fedora-epel/5/i386/epel-release-5-4.noarch.rpm
    • for centos 7
        yum install epel-release
  • Check whether EPEL respository is eabled by the following command
       yum repolist
  • Import the official GPG key of Nux Dextop repository:
       rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
Nux Dextop is a third-party RPM repository which contains many popular desktop and multimedia related packages (e.g., Ardour, Shutter, etc) for CentOS, RHEL and ScientificLinux. Currently, Nux Dextop repository is available for CentOS/RHEL 6 and 7.
  • Install Nux Dextop with yum command as follows.
    • centos 6
      rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
    • centos 7
      rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm
  • Now verify that Nux Dextop repository is successfully installed:
       yum repolist
  • Run following command to install FFMpeg
       yum install ffmpeg

Installing FFMpeg on Windows

Refer to the following links

WikiHow

AdapticeSolutions

转载时请注明出处及相应链接,本文永久地址:http://blog.it985.com/20210.html


pay_weixin
pay_weixin
微信打赏
pay_weixin
支付宝打赏
感谢您对作者terry的打赏,我们会更加努力!    如果您想成为作者,请点我

您必须 登录 才能发表评论!