zoukankan      html  css  js  c++  java
  • linux下安装ffmpeg

    2009年的文章?
    反正安装这个下来,特别容易就装上了。 测试没有问题
    但编辑文本的话,我还是用vi来的方便。

    http://www.rackspace.com/knowledge_center/index.php/CentOS_-_Installing_ffmpeg

    Let's add the repository by adding an entry into YUM, the default package manager for CentOS.

    # sudo nano -w /etc/yum.repos.d/dag.repo        
    You will need to add the following lines into this file.

    [dag]
    name=Dag RPM Repository for Red Hat Enterprise Linux
    baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
    gpgcheck=1
    enabled=1

    Once you have pasted the lines press CTRL-X on your keyboard to exit the application. You will be asked if you would like to save the file, simply press Y and then press Enter to accept the default file name. The program will now exit.
    Next we need to add the GPG key that signs each of the packages in the DAG repository but first we need to download it.

    # wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt   

         
    In this file there are a few lines that need to be removed before we can import it otherwise an error will result. Type the following line to open the editor.

    # nano RPM-GPG-KEY.dag.txt       

    In this screen you will see several lines and a bunch of random letters and numbers. Delete the following lines:

    The following public key can be used to verify RPM packages
    downloaded from  http://dag.wieers.com/apt/  using 'rpm -K'
    if you have the GNU GPG package.
    Questions about this key should be sent to:
    Dag Wieers <dag@wieers.com>

    # sudo rpm --import RPM-GPG-KEY.dag.txt


    Installing ffmpeg       
    Now that we have the key installed for the DAG repository we are ready to install ffmpeg. To install type the following command:

    # sudo yum install ffmpeg       
    You will be prompted with a list of items that need installed. This should be approximately 12MB of packages on a fresh CentOS 5.2 installation. Press Y followed by Enter to continue.

  • 相关阅读:
    卷积神经网络
    TensorFlow线性回归
    TensorFlow常用操作
    TensorFlow基本计算单元——变量
    Pandas基础
    Numpy基础
    Python基础
    Windows下安装TensorFlow教程
    mongodb并列查询,模糊查询
    C#对Mongodb数组对象操作
  • 原文地址:https://www.cnblogs.com/johnsonshu/p/2568497.html
Copyright © 2011-2022 走看看