Wissensdatenbank
Buehl, Kevin
13 Januar 2016
2.502

Wissensdatenbank

Ffmpeg unter Debian 7 installieren

System vorbereiten


apt-get install -y git-core make pkg-config gcc


Yasm installieren


cd /usr/src/ && wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz && tar xvzf yasm-1.2.0.tar.gz && cd yasm-1.2.0 && ./configure && make && make install


x264 installieren


cd /usr/src && git clone git://git.videolan.org/x264.git && cd x264 && ./configure --enable-shared && make && make install



ffmpeg installieren


cd /usr/src/ && git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg && cd ffmpeg && ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libx264 && make && make install


/usr/local/bin/ffmpeg -f image2 -y -r 15 -pattern_type glob -i '/tmp/images/*.jpg' -c:v libx264 /tmp/movie.mp4