diff --git a/ffmpeg-android-maker.sh b/ffmpeg-android-maker.sh index c62ad67..f466aab 100755 --- a/ffmpeg-android-maker.sh +++ b/ffmpeg-android-maker.sh @@ -80,6 +80,9 @@ function assemble() { CC=${TOOLCHAIN_PATH}/bin/${CC_PREFIX}-linux-android${CC_ANDROID_POSTFIX}${API_LEVEL}-clang + DECODERS_TO_ENABLE= + while IFS= read -r line; do DECODERS_TO_ENABLE="${DECODERS_TO_ENABLE} --enable-decoder=$line"; done < ${BASE_DIR}/video_decoders_list.txt + ./configure \ --prefix=${BUILD_DIR}/${ARCH} \ --disable-doc \ @@ -97,6 +100,8 @@ function assemble() { --disable-programs \ --disable-muxers \ --disable-encoders \ + --disable-decoders \ + ${DECODERS_TO_ENABLE} \ --disable-bsfs \ --disable-pthreads \ --disable-avdevice \ diff --git a/video_decoders_list.txt b/video_decoders_list.txt new file mode 100644 index 0000000..26188ac --- /dev/null +++ b/video_decoders_list.txt @@ -0,0 +1,217 @@ +aasc +aic +alias_pix +amv +anm +ansi +apng +asv1 +asv2 +aura +aura2 +avrn +avrp +avs +avui +ayuv +bethsoftvid +bfi +bintext +bitpacked +bmp +bmv_video +brender_pix +c93 +cavs +cdgraphics +cdxl +cfhd +cinepak +clearvideo +cljr +cllc +eacmv +cpia +cyuv +dds +dfa +dirac +dnxhd +dpx +dsicinvideo +dvvideo +dxa +dxtory +dxv +escape124 +escape130 +exr +ffv1 +ffvhuff +fic +fits +flashsv +flashsv2 +flic +flv +fmvc +fraps +frwu +g2m +gdv +gif +h261 +h263 +h263i +h263p +h264 +hap +hevc +hq_hqa +hqx +huffyuv +idf +imm4 +indeo2 +indeo3 +indeo4 +indeo5 +jpeg2000 +libopenjpeg +jpegls +jv +kgv1 +kmvc +lagarith +loco +m101 +eamad +magicyuv +mdec +mimic +mjpeg +mjpegb +mmvideo +motionpixels +mpeg1video +mpeg2video +mpegvideo +mpeg4 +msa1 +mscc +msmpeg4v1 +msmpeg4v2 +msrle +mss1 +mss2 +msvideo1 +mszh +mts2 +mvc1 +mvc2 +mwsc +mxpeg +nuv +paf_video +pam +pbm +pcx +pgm +pgmyuv +pictor +pixlet +png +ppm +prores +prosumer +psd +ptx +qdraw +qpeg +qtrle +r10k +r210 +rasc +rawvideo +rl2 +rpza +rscc +rv10 +rv20 +rv30 +rv40 +sanm +scpr +screenpresso +sgi +sgirle +sheervideo +smc +smvjpeg +snow +sp5x +speedhq +srgc +sunrast +svq1 +svq3 +targa +targa_y216 +tdsc +eatgq +eatgv +theora +thp +tiertexseqvideo +tiff +tmv +eatqi +truemotion1 +truemotion2 +truemotion2rt +tscc2 +txd +utvideo +v210 +v210x +v308 +v408 +v410 +vb +vble +vc1 +vc1image +vcr1 +xl +vmdvideo +vmnc +vp3 +vp5 +vp6 +vp6a +vp6f +vp7 +vp8 +vp9 +wcmv +webp +wmv1 +wmv2 +wmv3 +wmv3image +wnv1 +wrapped_avframe +xan_wc3 +xan_wc4 +xbin +xbm +xface +xpm +xwd +y41p +ylc +yop +yuv4 +zerocodec +zlib +zmbv