||
FAQ
1. Install FFMpeg with X264 encoding
# Install libx264
git clone git://git.videolan.org/x264.git
cd x264
【改路径】
change this
./configure --enable-static --enable-shared --enable-mp4 --prefix=YOUR_INSTALL_LOCATION --extra-ldflags="-lswresample -lm -lz -llzma"
into
./configure --enable-static --enable-shared --enable-mp4 --prefix=/softwares/x264_install --extra-ldflags="-lswresample -lm -lz -llzma"
make -j64
make install
cd ..
# Install ffmpeg
git clone http://source.ffmpeg.org/git/ffmpeg.git
cd ffmpeg
./configure --enable-gpl --enable-libx264 --prefix=YOUR_INSTALL_LOCATION
make -j64
make install
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-23 09:31
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社