I'm trying to add overlay images/text on top of mp4 videos inside an Android application. Most solutions point to FFmpeg (or appunits AndroidFFmpeg) but isn't stable and very complicated to maintain. Is there a native way to do this using the Android SDK? (MediaCodec? MediaMuxer?)
Thank you, Ori
There are two ways to understand your question:
Use the built-in VideoView. You might need to wrap the textView /imageView in an additional layout to push it to the front:
Update: As pointed out in this answer, the ExtractMpegFramesTest might be interesting for you