tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.23k stars 1.47k forks source link

Decoding animated stickers in Linux and Qt/QML #1407

Closed Flohack74 closed 3 years ago

Flohack74 commented 3 years ago

So I read the docs:

True, if the sticker is an animated sticker in TGS format.

Whats TGS format? Is there any documentation how to decode this and feed it into a media pipeline in Linux or Qt/QML? Thanks!

levlam commented 3 years ago

Use zlib to uncompress data and use https://github.com/TelegramMessenger/rlottie to render the data frame per frame.

Flohack74 commented 3 years ago

Cool thanks!

Flohack74 commented 3 years ago

We finally achieved it: grafik Though the playback is still a bit slower than on the official clients. What we have used:

Kudos to Telegram devs, once more!