One more: converting GIF to MP4. A multi MB GIF can be compressed to a few kB of MP4. Most clients play them in the same fashion, so it's an easy win, orders of magnitude less data. Most modern software does this already. If I download a gif posted in Signal it is converted to an MP4.
@โก Dee Kay โก has put in a lot of work on the media code in Amethyst. Aiming your agent at his work there could teach it a lot. He's good to talk with too, he might have some tips.
Login to reply
Replies (2)
Deekay's native video compression library for Android. It compresses to single file & playlists with multiple resolutions already. It might make your life easier.

GitHub
GitHub - davotoula/LightCompressor-enhanced: A powerful and easy-to-use video compression library and app (LCe) for android that uses the native MediaCodec API. It supports H.264/H2.65 hardware accelerated encoding and configurable resolution, bitrate, fast-start (streamable), and Gif to Mp4 conversion.
A powerful and easy-to-use video compression library and app (LCe) for android that uses the native MediaCodec API. It supports H.264/H2.65 hardwar...
Any other optimizations?