Software projects/OS/Slackware/Advanced usage/Non-Free codecs
From Pandora Wiki
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
- Use this procedure.
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 .
export CFLAGS="-DPANDORA -O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" export CXXFLAGS="-DPANDORA -O2 -pipe -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp" 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.