VLC Media Player or simply called VLC is an open source video player developed by non-profit organization VideoLAN. VLC can be used for playing and streaming media.
At the beginning, the VideoLAN project was consist of two application VLS (VideoLAN Server) and VLC (VideoLAN Client). They are used to stream and read MPEG2 streams.
Nowaday, VLC media player become one of highly portable multimedia player for various audio and video formats such as MPEG, DivX/Xvid, Ogg, as well as DVDs, VCDs, and various streaming protocols. In recent years, it is also become extremely powerful server to stream live and on demand video in several formats.
In this article we will discuss about how to install VLC Media Player to Slackware64. There would be two version: vlc without patent issue and vlc with non-free codecs. Both will be built from source.
Build the VLC
Before we start building the vlc, we must prepare the environment. Do following:
mkdir -p ~/slackbuilds/vlc cd ~/slackbuilds/vlc lftp -c "open http://www.slackware.com/~alien/slackbuilds/vlc/; mirror build" sh vlc.SlackBuild
Those commands will create a working directory and download required files. The above command will prepare system for vlc without non-free codecs. If you need MP3/AAC support, substitute the URL with http://slackware.org.uk/people/alien/restricted_slackbuilds/vlc/
Once we execute the SlackBuild script, it will automatically download the missing source-code archives and build a new VLC package. Once it finishes, you can find a package in the /tmp directory and you can install it with:
upgradepkg --install-new /tmp/vlc-*.txz upgradepkg --install-new /tmp/npapi-vlc-*.txz
And our job is done here 😀multimedia, slackware