Difference between revisions of "Software projects/OS/Slackware/Advanced usage/Non-Free codecs"
From Pandora Wiki
Linux-SWAT (talk | contribs) (Created page with "= 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 [http://pand...") |
Linux-SWAT (talk | contribs) m (→Recompiling MPlayer2) |
||
Line 23: | Line 23: | ||
git submodule init | git submodule init | ||
git submodule update | git submodule update | ||
− | + | ||
cd mplayer2-build/mplayer | cd mplayer2-build/mplayer | ||
rm -rf /tmp/build/* | rm -rf /tmp/build/* |
Revision as of 03:42, 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
- 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
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 \ --disable-bitmap-font \ --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.