Add video trimming and watermarking to an Android app using FFmpeg via JNI and the NDK
Build a live video streaming feature in an Android app using H264 and RTMP
Apply real-time visual filters and effects to video using OpenGL in an Android project
Convert video to animated GIF or between media formats inside an Android app
Requires Android NDK setup and familiarity with JNI to call the C FFmpeg layer from Android Java code.
FFmpegAndroid is an Android project that wraps FFmpeg, a widely-used open-source library for working with audio and video files. The project demonstrates how to use FFmpeg from an Android app to perform common media tasks: trimming video clips, adding watermarks, converting between formats, encoding and decoding video, converting video to animated GIFs, and streaming video live using the H264 codec and RTMP protocol. The repository also includes examples using OpenGL for applying visual filters and effects to video, as well as capturing video from the camera. A local streaming server setup is included alongside real-time live broadcast functionality. The README, which is written in Chinese, links to several companion documents covering FFmpeg command-line usage, how to compile FFmpeg for Android, an analysis of FFmpeg's source code, and a summary of multimedia knowledge including common streaming protocols such as RTMP, RTSP, HLS, and DASH. The codebase is primarily written in C (the FFmpeg layer) with Android integration handled through JNI and the Android NDK, which are tools that let Android apps call C or C++ code directly. Companion documentation covers JNI and NDK development practices as well as the architecture of the open-source ijkplayer video player. This repo reads as a learning resource and reference project for Android developers who want to understand how to integrate FFmpeg into a mobile app. It documents the full range of audio and video operations relevant to building media apps: live streaming, short video editing, media playback, and image processing. The README is sparse in English but links to detailed Chinese-language documentation files within the repository.
← xufuji456 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.