Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Project Layout

Taner Sener edited this page Jun 14, 2019 · 18 revisions

Files in this project are organized according to the following layout.

mobile-ffmpeg/
├── LICENSE.LGPLv3
├── LICENSE.GPLv3
├── README.md
├── android/
│   ├── ...
│   ├── app/
│   ├── jni/
│   └── test-app/
├── android.sh
├── build/
│   └── ...
├── docs/
├── ios/
│   ├── ...
│   ├── src/ 
│   └── test-app/
├── ios.sh
├── prebuilt/
├── src/
│   └── ...
├── tools/
│   └── ...
├── tvos/
│   └── test-app/
├── tvos.sh
└── .tmp/

Project root includes seven directories, three top level build scripts (android.sh, ios.sh and tvos.sh), two LICENSE files and the README.md markdown file.

  • android folder contains files necessary to build MobileFFmpeg Android library. These are;

    • Configuration files required by gradle
    • Documentation configuration file for doxygen
    • Source files stored inside app folder
    • NDK build files under jni folder
    • Android test application in test-app folder
  • build directory includes all scripts called by top-level build scripts. Android specific scripts start with android- prefix and iOS/tvOS specific scripts start with either ios- prefix or tvos- prefix. The other three files, prefixed with main-, are responsible of building an architecture for each platform.

  • docs folder contains documentation files.

  • ios directory contains files necessary to build MobileFFmpeg iOS/tvOS library. These files are;

    • Configuration files required by Autotools
    • Documentation configuration file for doxygen
    • Source files stored inside src folder
    • iOS test applications in test-app folder
  • src directory includes source code of FFmpeg and all external libraries without GPL license.

  • tools directory includes utility scripts which are invoked manually.

  • tvos directory contains tvOS test applications in test-app folder

  • A temporary folder named .tmp is created at the beginning of compilation to download gas-preprocessor.pl and sources of GPL libraries.

  • After the compilation, all compiled objects (libraries, universal binaries, frameworks, android archives, etc.) are generated under prebuilt directory.

    • Android archive (.aar file) is located under the android-aar folder
    • iOS frameworks are located under the ios-frameworkfolder
    • iOS universal binaries are located under the ios-universalfolder
    • tvOS frameworks are located under the tvos-frameworkfolder
    • tvOS universal binaries are located under the tvos-universalfolder
Clone this wiki locally