Software projects/OS/Slackware/Advanced usage/Non-Free codecs

From Pandora Wiki
Revision as of 05:11, 6 December 2012 by Linux-SWAT (talk | contribs) (Recompiling MPlayer2)
Jump to: navigation, search

Warning

  • I hate to write things like this following tutorial, but sometimes it's necessary to use non-Free stuff, e.g. for work.

Setting up sbopkg

Creating the build list

  • As root, create /var/lib/sbopkg/queues/nonfree.sqf
  • Fill it with this:
amrnb
amrwb
faac
lame
libdvdcss
ffmpeg
  • Launch sbopkg, load the queue and proceed.
  • Please note that ffmpeg is free software, but it has to be recompiled in order to use this crappy non-Free stuff.

Recompiling MPlayer2

* Install python3 .
git clone git://github.com/pder/mplayer2-build.git
cd mplayer2-build
git submodule init
git submodule update

cd mplayer2-build/mplayer
rm -rf /tmp/build/*
./configure --disable-libdvdcss-internal \
            --prefix=/usr \
            --mandir=/usr/man \
            --confdir=/etc/mplayer \
            --codecsdir=/usr/lib/codecs \
            --language=all
make
make install DESTDIR=/tmp/build
cd /tmp/build
removepkg /var/log/packages/MPlayer*
makepkg -c y /tmp/MPlayer2-201212-arm-1.tgz
installpkg /tmp/MPlayer2-201212-arm-1.tgz
  • Please note that MPlayer2 is free software, but it has to be recompiled in order to use this crappy non-Free stuff.