Commit 1df78e24 authored by NzSN's avatar NzSN

build scripts update

parent f5fb3d57
...@@ -21,7 +21,7 @@ FLAGS=( ...@@ -21,7 +21,7 @@ FLAGS=(
-I. -I./fftools -I$BUILD_DIR/include -I. -I./fftools -I$BUILD_DIR/include
-Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Lharfbuzz -Llibass -Lfribidi -Llibpostproc -Llibswscale -Llibswresample -L$BUILD_DIR/lib -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Lharfbuzz -Llibass -Lfribidi -Llibpostproc -Llibswscale -Llibswresample -L$BUILD_DIR/lib
-Wno-deprecated-declarations -Wno-pointer-sign -Wno-implicit-int-float-conversion -Wno-switch -Wno-parentheses -Qunused-arguments -Wno-deprecated-declarations -Wno-pointer-sign -Wno-implicit-int-float-conversion -Wno-switch -Wno-parentheses -Qunused-arguments
-lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lpostproc -lm -lx264 -lmp3lame -lz -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -lpostproc -lm -lx264 -lz
fftools/ffmpeg_opt.c fftools/ffmpeg_filter.c fftools/ffmpeg_hw.c fftools/cmdutils.c fftools/ffmpeg.c fftools/ffmpeg_opt.c fftools/ffmpeg_filter.c fftools/ffmpeg_hw.c fftools/cmdutils.c fftools/ffmpeg.c
-s USE_SDL=2 # use SDL2 -s USE_SDL=2 # use SDL2
-s INVOKE_RUN=0 # not to run the main() in the beginning -s INVOKE_RUN=0 # not to run the main() in the beginning
......
...@@ -5,24 +5,22 @@ source $(dirname $0)/var.sh ...@@ -5,24 +5,22 @@ source $(dirname $0)/var.sh
FLAGS=( FLAGS=(
"${FFMPEG_CONFIG_FLAGS_BASE[@]}" "${FFMPEG_CONFIG_FLAGS_BASE[@]}"
--disable-everything
--disable-network --disable-network
--disable-autodetect --disable-autodetect
--enable-small --enable-small
--enable-decoder=mp3*,h264 # --enable-decoder=h264
--enable-demuxer=mp3,mov # --enable-demuxer=mov
--enable-muxer=mp3,mp4 # --enable-muxer=mp4
--enable-protocol=file # --enable-protocol=file
--enable-encoder=libmp3lame,libx264 # --enable-encoder=libx264
--enable-filter=abuffer,amix,abuffersink,aresample
--enable-gpl # required by x264 --enable-gpl # required by x264
--enable-nonfree # required by fdk-aac --enable-nonfree # required by fdk-aac
#--enable-zlib # enable zlib
--enable-libx264 # enable x264 --enable-libx264 # enable x264
--enable-zlib # enable zlib
#--enable-libx265 # enable x265 #--enable-libx265 # enable x265
#--enable-libvpx # enable libvpx / webm #--enable-libvpx # enable libvpx / webm
#--enable-libwavpack # enable libwavpack #--enable-libwavpack # enable libwavpack
--enable-libmp3lame # enable libmp3lame #--enable-libmp3lame # enable libmp3lame
#--enable-libfdk-aac # enable libfdk-aac #--enable-libfdk-aac # enable libfdk-aac
#--enable-libtheora # enable libtheora #--enable-libtheora # enable libtheora
#--enable-libvorbis # enable libvorbis #--enable-libvorbis # enable libvorbis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment