sdex

Development notes and stuff

Home Search About Archive

Add a video fade effect on Android using FFmpeg and Media3 transformer (OpenGL texture)

April 2, 2024

In this article, we look at two ways of adding video fade-in and fade-out transition effects. A fade is a transition that gradually moves to or from an image to or from black. Fades are often used at the beginning/end of videos but it’s possible to use crossfade effects between scenes.

Read More

Play a media segment in a loop with ExoPlayer

August 17, 2023

ExoPlayer provides an easy way to play a selected part of a media that also works for live streams. We consider two ways to achieve it.

Read More

Read and edit Android Binary XML (ABX) files

January 18, 2023

In Android 12, a new file format was introduced to store system settings. Previously, the Android OS stored the settings in XML format. It was easy to read and edit them using any text editor (of course with the root permission).

Read More