How to Enable Multimedia in Slackware Linux

How to Enable Multimedia in Slackware Linux

There was an excellent article on how to enable Multimedia on a Slackware Linux system in a blog called Human Readable, that was deleted, well whatever the case its been made no longer available, it did have a lot of outdated stuff but for the most part was a good guide, it just now mentions for everyone to have a look at the slack docs, which for me still lacks in at least defining which are the most useful packages and codecs people should install to enable most any common multimedia use (from listening to plain old .mp3 to playback of DVD encrypted or otherwise, other options etc.) on your Slackware System, aside from typical power programs like VLC or Mplayer and Xine, I mean I mention them here too, but just in case you want to use other apps and options than these you need other certain things too, to install.

The Short of it would be to install flashplayer-plugin, vlc and maybe a java JRE whether oracle or openjdk for those java apps and web plugin (you can find flash, vlc and opendjk in slackbuilds.org for oracle you have to go to oracle website and download it from there due to license issues). The VLC package itself has many dependencies you need to compile and install to be able to run VLC for a detailed look of the packages continue reading below.

Here I list the programs/packages you need to install, you can choose which combos you'd like to install for your multimedia choices, I tried to order a few combos

Multimedia:

Install these codecs in order from left to right:

C1: (enables most common multimedia functions)
jdk flashplayer-plugin smplayer xine-plugin gst-plugins-bad gst-plugins-ugly a52dec faad2 flac123 twolame lua portaudio libavc1394 libdca libdv libdvbpsi libdvdcss libdvdnav libebml libmatroska libmodplug libmpeg2 speex libshout libupnp orc schroedinger vcdimager libmp4v2 faac libcuefile libreplaygain musepack-tools lame xvidcore x264 opus libass libdc1394 live555 libquicktime mplayer-codecs

C2: (enables most common need multimedia functions plus ability to compile and set all features of VLC and FFMPEG)
jdk flashplayer-plugin smplayer xine-plugin gst-plugins-bad gst-plugins-ugly a52dec faad2 flac123 twolame lua portaudio libavc1394 libdca libdv libdvbpsi libdvdcss libdvdnav libebml libmatroska libmodplug libmpeg2 speex libshout libupnp orc schroedinger vcdimager libmp4v2 faac libcuefile libreplaygain musepack-tools lame xvidcore x264 opus libass libdc1394 live555 libquicktime openal mplayer-codecs openjpeg opencore-amr rtmpdump libvpx gsm celt opencv gavl frei0r libaacs graphviz apache-ant libbluray libsigsegv texlive ffmpeg vlc

 C3: (enables what both C1 and C2 offered features, but including various other power tools for converting and editing multimedia files and support for such)
jdk flashplayer-plugin smplayer xine-plugin gst-plugins-bad gst-plugins-ugly a52dec faad2 flac123 twolame lua portaudio libavc1394 libdca libdv libdvbpsi libdvdcss libdvdnav libebml libmatroska libmodplug libmpeg2 speex libshout libupnp orc schroedinger vcdimager libmp4v2 faac libcuefile libreplaygain musepack-tools lame xvidcore x264 opus libass libdc1394 live555 libquicktime openal mplayer-codecs openjpeg opencore-amr rtmpdump libvpx gsm celt opencv gavl frei0r libaacs graphviz apache-ant libbluray libsigsegv texlive ffmpeg vlc aften amnrnb scons libiec61883 mm-common libsigc++ glibmm libxml++ libffado jack-audio-connection-kit avidemux mjpegtools libmpeg2 k9copy libmspack wxpython vamp-plugin-sdk soundtouch audacity


Build option variables:

- BDJAVA=yes for libbluray
- ASS=yes BLURAY=yes CELT=yes DC1394=yes FAAC=yes FREI0R=yes GSM=yes JP2=yes LAME=yes OPENAL=yes OPENCORE=yes OPENSSL=yes RTMP=yes SCHROEDINGER=yes SPEEX=yes VPX=yes X264=yes XVID=yes for FFMPEG if you want the full effect
- A52DEC=yes FAAC=yes LIBDV=yes LIBMPEG2=yes MJPEGTOOLS=yes QUICKTIME=yes X264=yes XVID=yes for transcode
- FFMPEG=yes SOUNDTOUCH=yes TWOLAME=yes VAMP=yes for Audacity

Others:

- Make sure to read the info of anything you install upstream or slackbuilds, it will help you configure and compile
- All files available from slackbuilds, binaries can be found in various repos, a notable mention for alien bob's restricted repos for vlc and ffmpeg
- Make sure to run slackbuild of ffmpeg in a real root shell ("su -")
- texlive is a huge 1.3G+ download and build, make sure you have space and a big /tmp
- gst-plugins-good and openssl are part of Slackware default stock install, make sure you install them, as they can be useful, especially if you want to enlable
openssl in FFMPEG build by passing variable build option in the slackbuild of FFMPEG
- mplayer and kplayer, along with xine and xmms are also part of a default slackware stock install, make sure you install them if you dont do a full stock vanilla
install
- When using ffado as a normal user you might run into permission problems with access to /dev/raw1394. To solve that issue you can add the line
KERNEL=="raw1394", GROUP="disk" to /lib/udev/rules.d/65-permissions.rules and make your user is/are a member of the disk group.
- Jack-audio-connection-kit when started as normal user, must be with the following command:
$ sudo setcap cap_ipc_lock,cap_sys_nice=ep /usr/bin/jackd
- In installing transcode, do so right after mjpegtools, except you'd have to run either x86/32 or a multilib slackware as its only for i486
- Lua mentioned here is at version 5.1 not 5.2
- Java apps run on jre, alot of apps and if you do development need jdk, jdk includes jre, but a jre package doesnt include jdk, my recommendation is to install jdk

0 comments:

Post a Comment