Skip to content

peterfuture/avcodec

Repository files navigation

dtcodec

av decoder & encoder both for Linux & Android

Feature

Video Encoder

  • H264 - X264 √
  • AAC - fdk-aac √

Build

https://github.com/void-retire/avcodec git submodule update --init

###Linux

  • cd x264
  • ./configure --disable-asm --enable-shared --enable-static
  • make & cd ..
  • mkdir build & cd build
  • cmake.. & make -j8

Android

  • Install NDK
  • cd x264
  • ./configure --cross-prefix=arm-linux-androideabi- --sysroot="$ANDROID_SYSROOT" --host=arm-linux --enable-pic --enable-static --disable-cli
  • make & cd ..
  • mkdir build & cd build
  • cmake -DCMAKE_TOOLCHAIN_FILE=../android_toolchain.cmake ..
  • make -j8

Licence

GPL v3.0

About

AV Codec API for Linux & Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published