VLC Media Player 2.2.6 recently released, is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols. Before we proceed on how to install VLC on CentOS, RHEL, Fedora, lets take a quick look at its features.
VLC Media Player Features
- Plays Files, Discs, Webcams, Devices and Streams
- No spyware, No ads, No user tracking
- Has hardware decoding on most platforms. It supports 0-copy on the GPU and can fallback on software when required
- Plays various file formats. See list here
- Comes with the most complete feature-set over the video, subtitle synchronisation, video and audio filters
VLC Media Player 2.2.6 Changelog
Video output
- Fix systematic green line on nvidia
- Fix direct3d SPU texture offsets handling
Demuxer
- Fix heap buffer overflows
How to install VLC 2.2.6 Media Player VideoLAN on CentOS, RHEL
Please note that for earlier versions of CentOS, you might run into some dll dependencies. If you find yourself in such situation, please feel free to drop us a comment.
- First install the required repositories “Epel” & “Nux Dextop”
—– For CentOS 7 / RHEL —–
rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
—– For CentOS 6 / RHEL —–
----- 32Bit OS ----- 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/i386/nux-dextop-release-0-3.el6.nux.noarch.rpm ----- 64Bit OS ----- rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/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
- Check what version of VLC is in repository
yum info vlc
- Install VLC by running the following commands
yum install vlc
- Next when you try to run vlc from terminal, you will get the following error message
VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).
- To fix this, simply run the folowing command
sed -i 's/geteuid/getppid/' /usr/bin/vlc
- Now launch VLC
vlc