Skip to content

Instantly share code, notes, and snippets.

View ponychen's full-sized avatar

Pony Chen ponychen

  • KKBOX
  • Taipei, Taiwan
View GitHub Profile
@ponychen
ponychen / build_ffmpeg.sh
Last active December 4, 2020 07:11
Build ffmpeg extension for ExoPlayer on Mac
EXOPLAYER_ROOT="$(pwd)"
FFMPEG_EXT_PATH="${EXOPLAYER_ROOT}/extensions/ffmpeg/src/main"
HOST_PLATFORM="darwin-x86_64"
NDK_PATH="<PATH_TO_NDK>"
COMMON_OPTIONS="\
--target-os=android \
--disable-static \
--enable-shared \
--disable-doc \
--disable-programs \