Created
October 17, 2013 16:33
-
-
Save lulalala/7028049 to your computer and use it in GitHub Desktop.
compile options for minial ffmpeg which can encode/decode from images to h264
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for x264 | |
./configure --enable-static \ | |
--disable-opencl \ | |
--disable-avs \ | |
--disable-cli \ | |
--disable-ffms \ | |
--disable-gpac \ | |
--disable-lavf \ | |
--disable-swscale \ | |
--prefix=/usr/local/ | |
# for ffmpeg | |
configure --prefix=/usr/local/ --enable-gpl --enable-version3 --enable-bzlib --enable-libx264 --enable-zlib --disable-network --disable-debug --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc \ | |
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib \ | |
--disable-encoders \ | |
--enable-encoder=libx264 \ | |
--enable-encoder=libx264rgb \ | |
--enable-encoder=bmp \ | |
--enable-encoder=png \ | |
--enable-encoder=ljpeg \ | |
--disable-decoders \ | |
--enable-decoder=h264 \ | |
--enable-decoder=bmp \ | |
--enable-decoder=png \ | |
--disable-filters \ | |
--enable-filter=scale \ | |
--disable-muxers \ | |
--enable-muxer=image2 \ | |
--enable-muxer=matroska \ | |
--enable-muxer=mp4 \ | |
--enable-muxer=avi \ | |
--enable-muxer=h264 \ | |
--disable-demuxers \ | |
--enable-demuxer=image2 \ | |
--enable-demuxer=matroska \ | |
--enable-demuxer=mp4 \ | |
--enable-demuxer=avi \ | |
--enable-demuxer=h264 \ | |
--disable-bsfs \ | |
--disable-parsers \ | |
--enable-parser=bmp \ | |
--enable-parser=h264 \ | |
--enable-parser=png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment