koral-- / android-gif-drawable

Views and Drawable for displaying animated GIFs on Android
Other
9.54k stars 1.78k forks source link

[Question] Support Gif via mp4 file #332

Open huyduongtu opened 8 years ago

huyduongtu commented 8 years ago

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

koral-- commented 8 years ago

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

huyduongtu commented 8 years ago

Yes.

koral-- commented 8 years ago

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

fire9953 commented 7 years ago

@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.

AndroidDeveloperLB commented 6 years ago

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