Difference between revisions of "Software projects/OS/Slackware/Advanced usage/Non-Free codecs"

From Pandora Wiki
Jump to: navigation, search
m (Recompiling MPlayer2)
m (Recompiling MPlayer2)
Line 30: Line 30:
 
             --mandir=/usr/man \
 
             --mandir=/usr/man \
 
             --confdir=/etc/mplayer \
 
             --confdir=/etc/mplayer \
            --disable-bitmap-font \
 
 
             --codecsdir=/usr/lib/codecs \
 
             --codecsdir=/usr/lib/codecs \
 
             --language=all
 
             --language=all

Revision as of 05:02, 6 December 2012

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

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.