android-gif-drawable icon indicating copy to clipboard operation
android-gif-drawable copied to clipboard

[Question] Support Gif via mp4 file

Open huyduongtu opened this issue 7 years ago • 5 comments

Today, Telegram, Facebook apps support playing animation via both mp4 and Gif file. Mp4 file has a strong advantage that its size is 95% smaller than Gif size. Are u planning to support playing animation via mp4 file? :D

huyduongtu avatar Aug 15 '16 08:08 huyduongtu

By "playing animation" you mean Drawable displaying animated MP4?

koral-- avatar Aug 16 '16 20:08 koral--

Yes.

huyduongtu avatar Aug 17 '16 02:08 huyduongtu

OK, I've added this as a feature request, but can't promise any ETA. PRs are welcome.

koral-- avatar Aug 18 '16 20:08 koral--

@koral-- Giphy support both gif and mp4, mp4 file size is small and looks more clear than gif. Telegram use a cropped FFMPEG lib (about 3.5M) to decode mp4 files, I think you can consider about add FFMPEG decoder to support mp4 files.

fire9953 avatar Sep 19 '17 03:09 fire9953

Isn't using FFMPEG quite restrictive, meaning that using it will force this library to be GNU licensed (so that all that use it will have to be open sourced)?

Also, is there a plan to support animated HEIF ? I've noticed one about animated WEBP here: https://github.com/koral--/android-gif-drawable/issues/147

AndroidDeveloperLB avatar May 03 '18 13:05 AndroidDeveloperLB