Media for Mobile is a set of easy to use components and API for a wide range of media scenarios such as video editing and capturing. It contains several complete pipelines for most popular use cases and provides a possibility to add user-developed components to those pipelines.
Media for Mobile is now available as an open source project on GitHub.
- Operating Systems: Microsoft Windows, Apple OS X or Linux
- IDE: Eclipse, Google Android Studio or JetBrains IntelliJ IDEA
- Android Platform SDK
- Java Development Kit (JDK) 6 or later
- Supported Android versions: Jelly Bean 4.3 or higher
Run "gradle build" command to build the Media for Mobile library and the samples.
To use the Media for Mobile components in your project, add dependencies on "android", "domain" and "effects" M4M folders to your gradle build scripts.
Jitpack.io Integration
Mobile 4 Media uses JitPack to provide ready-to-use artifacts of any branch or commit.
- Add the JitPack repository to your project's root build.gradle:
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
- Add the M4M dependency to your module-level build.gradle:
dependencies {
compile 'com.github.indexOS.media-for-mobile:android:master-SNAPSHOT'
}
You can instead point to any commit hash permanently using:
dependencies {
compile 'com.github.indexOS.media-for-mobile:android:fd9f7c56cfab63eee2ac3ea5a8b222a54cb7f9fc'
}
Video processing samples
- Transcode video
- Join Video
- Cut Video
- Video Effect
- Audio Effect
- Get Media File Info
- Time Scaling
Capturing samples
- Game Capturing
- Camera Capturing
Media for Mobile is distributed under Apache License 2.0, see LICENSE.txt and NOTICE.txt files in the root folder for details.