wlanjie/trinity
Freeandroid video record editor muxer sdk
About wlanjie/trinity
Trinity is an open-source Android SDK for video recording and short video editing, written in Kotlin and C++. It implements many popular features found in short video editing apps, including multi-session recording, camera controls (flash, focus, resolution, bitrate), video effects (filters, split screens, blur, glitch, shake, soul out, 70s style), face recognition and markup (rose eye, princess, sticker makeup, falling pig, cat head), and audio support (background music, mute, recording speed). It supports hardware and software encoding, custom camera configurations, and multi-segment editing. The SDK requires Android 4.3 or above and the caller to handle runtime permissions. It leverages FFmpeg, libx264, fdk-aac, and other libraries for multimedia processing.
Key Features
Pros & Cons
- Open source and free to use
- Comprehensive set of video recording and editing features
- Supports both hardware and software encoding for flexibility
- Includes advanced face effects and recognition
- Written in Kotlin and C++ for performance
- Supports Android 4.3 and above (wide compatibility)
- Android-only; no iOS or web support
- Requires the caller to handle runtime permissions; no built-in permission management
- Documentation is primarily in Chinese (English README available but limited)
- May have a learning curve for integration into existing projects
- Active maintenance status not clear from repository