Gå til hovedinnhold

HOWTO INSTALL ALL THE TOOLS YOU NEED TO CONVERT AND PLAY MOST FORMATS

Follow this guide and you'll be able to play close to everything on your box, and you can convert most formats.

First - remove all of the following installed from repositories:
sudo apt-get remove ffmpeg x264 libx264-dev mplayer mencoder libxvidcore-dev libxvidcore4 libtheora-dev libvorbis-dev libmp3lame-dev libfaac-dev libogg-dev 
sudo apt-get update
Install the dependencies:
sudo apt-get install build-essential autoconf automake libtool-bin checkinstall git cvs subversion libjack-jackd2-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libva-dev libvdpau-dev libx11-dev libxfixes-dev texi2html yasm zlib1g-dev original-awk libgtk2.0-dev mercurial cmake cmake-curses-gui gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
Download x264, xvid, ffmpeg and mplayer with git and svn, compile and install:
cd~
git clone git://git.videolan.org/x264
cd x264
./configure --enable-static --disable-asm --disable-opencl && make
sudo make install
make distclean
cd~
svn checkout http://svn.xvid.org/trunk --username anonymous
cd xvid/xvidcore/build/generic
./bootstrap.sh && ./configure && make
sudo make install
make distclean
cd~
git clone https://git.xiph.org/ogg.git
cd ogg
./autogen.sh && make
sudo make install
make distclean
cd~
git clone https://git.xiph.org/theora.git
cd theora
./autogen.sh && make
sudo make install
make distclean
cd~
git clone https://git.xiph.org/vorbis.git
cd vorbis
./autogen.sh && make
sudo make install
make distclean
cd~
cvs -z3 -d:pserver:anonymous@lame.cvs.sourceforge.net:/cvsroot/lame checkout -P lame 
cd lame
./configure && make
sudo make install
make distclean
cd~
git clone https://github.com/mstorsjo/fdk-aac.git
cd fdk-aac
./autogen.sh
./configure --enable-shared --enable-static
make
sudo make install
make distclean
cd~
git clone https://git.xiph.org/flac.git
cd flac
./autogen.sh && make
sudo make install
make distclean
cd~
hg clone https://bitbucket.org/multicoreware/x265
cd x265/build/linux
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr/local" -DENABLE_SHARED:bool=off ../../source
make
sudo make install
make distclean
cd~
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --pkg-config-flags="--static" --enable-gpl --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libx265
make
sudo make install
make distclean
And, if you use a gui-based environment (like gnome og kde), you can install mediaplayer:
cd~
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd mplayer
./configure --enable-gui && make
sudo make install
make distclean
Finally, run ldconfig to update local directory cache:
sudo ldconfig
To update git repositories enter the source folder:
git pull
To update svn repositories enter the source folder:
svn update
To updatecvs repositories enter the source folder:
cvs update
If you want to uninstall applications you have compiled yourself, enter the source folder:
sudo make uninstall


Kommentarer

Populære innlegg fra denne bloggen

Autodownloader for put.io

Downloading files from your put.io archive can be done with wget, it can be done unattended and you won't even have to initiate the job: Place all the files you would like to download in a folder on put.io (i.e /download). Create the script download.sh on your system. Run the script as a cron-job (crontab -e) download.sh #!/bin/sh wget --limit-rate=20k --no-check-certificat -c -nH -P /FOLDER/ -r --ftp-user=USERNAME --ftp-password=PASSWORD ftp://ftp.put.io/download/* --limit-rate=20k will limit bandwith to 20k --no-check-certificat will skip certificate check -c will make wget continue the download if  interrupted   -nH will stop creating the ftp-path in your download-folder -P /FOLDER/ tell wget where to put the downloaded files -r recursive, so that even folders in download will be downloaded --ftp-user=USERNAME Your username to put.io --ftp-password=PASSWORD Your password to put.io (special characters need a backslash i.e PASS\!WORD if your p...

Locales i Ubuntu og andre Debian-spinoffs

"dpkg-reconfigure locales" genererer locales som er listet opp i filen "/var/lib/locales/supported.d/local". Ønsker man å generere flere enn de som allerede er oppført må man derfor legge de til der (en på hver linje) før man kjører "dpkg-reconfigure locales". Godtatt syntaks finnes i filen "/usr/share/i18n/SUPPORTED". Typisk: no_NO.UTF-8 UTF-8 no_NO ISO-8859-1

Helle synger Flashlight (Jessie J) og vinner Talentiaden 2016 på Gudeber...