Commit 1df78e24 authored by NzSN's avatar NzSN

build scripts update

parent f5fb3d57
......@@ -21,7 +21,7 @@ FLAGS=(
-I. -I./fftools -I$BUILD_DIR/include
-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
-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
-s USE_SDL=2 # use SDL2
-s INVOKE_RUN=0 # not to run the main() in the beginning
......
......@@ -5,24 +5,22 @@ source $(dirname $0)/var.sh
FLAGS=(
"${FFMPEG_CONFIG_FLAGS_BASE[@]}"
--disable-everything
--disable-network
--disable-autodetect
--enable-small
--enable-decoder=mp3*,h264
--enable-demuxer=mp3,mov
--enable-muxer=mp3,mp4
--enable-protocol=file
--enable-encoder=libmp3lame,libx264
--enable-filter=abuffer,amix,abuffersink,aresample
# --enable-decoder=h264
# --enable-demuxer=mov
# --enable-muxer=mp4
# --enable-protocol=file
# --enable-encoder=libx264
--enable-gpl # required by x264
--enable-nonfree # required by fdk-aac
#--enable-zlib # enable zlib
--enable-libx264 # enable x264
--enable-zlib # enable zlib
#--enable-libx265 # enable x265
#--enable-libvpx # enable libvpx / webm
#--enable-libwavpack # enable libwavpack
--enable-libmp3lame # enable libmp3lame
#--enable-libmp3lame # enable libmp3lame
#--enable-libfdk-aac # enable libfdk-aac
#--enable-libtheora # enable libtheora
#--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