|
Gereedschapset voor online video archives!
Install
Debian and/or Debian backport packages:
libmp3lame-dev libogg-dev libtheora-dev libfaad-dev libfaac-dev libvorbis-dev libbz2-dev
Compileren van X264 library (voor je ffmpeg compileert):
# git clone git://git.videolan.org/x264.git # cd x264 # git pull # als je niet net een nieuwe hebt gedownload # ./configure --enable-shared --enable-mp4-output # old # ./configure --prefix=/usr/local --enable-shared --disable-asm # make && make install
Compileren van VP8 library, libvpx
# git clone git://review.webmproject.org/libvpx.git # cd libvpx # git pull # ./configure --enable-vp8 --enable-psnr --enable-postproc --enable-shared # make # make install
Compileren van FFMPEG:
# svn checkout svn://svn.ffmpeg.org/ffmpeg/ ffmpeg # cd /usr/local/src/ffmpeg # svn update # ./configure --prefix=/usr/local --enable-gpl --enable-nonfree \ --enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf \ --enable-pthreads --enable-x11grab --enable-bzlib --enable-libmp3lame \ --enable-libtheora --enable-libvorbis --enable-libx264 --enable-zlib \ --enable-libfaac --enable-libfaad --enable-libvpx # make && make install
Compileren van ffmpeg2theora:
# svn co http://svn.xiph.org/trunk/ffmpeg2theora # cd ffmpeg2theora # svn update # scons # scons install
Ten slotte: segmenter:
# svn co http://svn.assembla.com/svn/legend/segmenter/ # cd segmenter # vim Makefile ==> Make all wordt: ## gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil \ -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad
# make && make install
Testing
-
FFMPEG geeft als je het aanroept zonder opties, weer met welke codecs er is gecompileerd. Daar moeten libx264 en libvpx bij staan.
-
$ ffmpeg -i paarden.mp4 -vcodec libvpx paarden.webm
-
$ ffmpeg -codecs | grep vpx
Links
|