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   
    //成功

  • 相关阅读:
    windows下安装UNO,配置AEROO_REPORT (Openoffice4已经升级为Python2.7.5版)
    Aeroo Reports Linux server
    使用python在WEB页面上生成EXCEL文件
    Python中生成(写入数据到)Excel文件
    使用python进行图像处理-调整图片大小
    python小写转大写金额
    PgSql备份pg_dump与还原手记pg_restore(转)
    CentOS7关闭默认防火墙启用iptables防火墙
    Docker构建nginx的nginx-rtmp-module视频服务器镜像
    CentOS搭建nginx与nginx-rtmp-module搭建流媒体服务器
  • 原文地址:https://www.cnblogs.com/cutelinux/p/5709579.html
Copyright © 2011-2022 走看看