zoukankan      html  css  js  c++  java
  • CentOS 6.8 安装vlc

    转自:http://blog.csdn.net/u012570105/article/details/50858884

    VLC media player (commonly known as VLC) is a portable, free and open-source, cross-platform media player and streaming media server written by the VideoLAN project. VLC media player supports many audio and video compression methods and file formats, including DVD-Video, video CD and streaming protocols. It is able to stream media over computer networks and to transcode multimedia files.[8]

    The default distribution of VLC includes a large number of free decoding and encoding libraries, avoiding the need for finding/calibrating proprietary plugins. Many of VLC’s codecs are provided by the libavcodec library from the FFmpeg project, but it uses mainly its own muxer and demuxers and its own protocols implementations. It also gained distinction as the first player to support playback of encrypted DVDs on Linux and OS X by using the libdvdcss DVD decryption library.

    For EL7:

    rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm
    rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

    For EL6:

    rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

    Now:

    yum update
    yum  install vlc

    以为这样就可以了,谁知报错,一堆的解码器需要依赖关系

    转自:http://www.linuxidc.com/Linux/2015-04/116262.htm

    先到/etc/yum.repos.d/目录下ls一下,看看它们长得是啥样子。

    1、安装epel和remi的repository:
    [root@localhost ~]#yum localinstall --nogpgcheck http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    老 外写那篇文章时epel-release的版本是6.7,他当时给的下载链接是“http://download.fedoraproject.org /pub/epel/6/i386/epel-release-6-7.noarch.rpm”,可这个链接目前已经无效了,到 fedoraproject找到了epel新的6.8的版本。
    [root@localhost ~]#yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

    2、安装rpmfusion的repository:
    下面两个rpm包都要安装
    [root@localhost ~]#yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
    [root@localhost ~]#yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm

    上述两个步骤完成后再到/etc/yum.repo.d/目录下执行一下ls看看又有啥变化。

    ================================
    然后再执行 yum install vlc就可以了
    PS:具体原因没搞明白,因为要用vlc,暂时先用着吧

    后面发现个超简单的 http://www.cnblogs.com/bushe/p/4027882.html
    root下:
    # cd /etc/yum.repos.d/
    # wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo  //若不成功多试几次
    # yum list *vlc*
    # yum -y install vlc
    # exit

    $ vlc   
    //成功

  • 相关阅读:
    Android游戏开发实践(1)之NDK与JNI开发02
    SDK接入(1)之Android Facebook SDK接入
    Markdown学习
    SDK接入(3)之iOS内支付(InApp Purchase)接入
    将列【1,2,3】转换为【类别1,类别2,类别3】
    SQL Server 获取日期
    SQL Server 2000 Split方法
    java连接SqlServer2012
    前辈的js学习方法
    js学习笔记
  • 原文地址:https://www.cnblogs.com/cutelinux/p/5709579.html
Copyright © 2011-2022 走看看