teynav / signalApngSticker

Convert Telegram Stickers (tgs) to Apng <300 kb for Signal Automatically using script
GNU General Public License v3.0
67 stars 5 forks source link

Support transparency for webm input file in yuv420p format & Remove unecessary 'scale' ffmpeg filter #8

Closed laggykiller closed 1 year ago

laggykiller commented 1 year ago

Support transparency for webm input file in yuv420p format

See https://github.com/teynav/signalApngSticker/pull/7#issuecomment-1345468062

Remove unecessary 'scale' ffmpeg filter

ffmpeg filter scale=$RES:$RES:force_original_aspect_ratio=decrease is unecessary

teynav commented 1 year ago

I would be using your webm -> tgs in my rust, because this is much simpler way than using the rust own library, which can be really painful rn as they are not mature and it has been holding me back for a while. Do you also use rust ?

laggykiller commented 1 year ago

Not a rustacean, but I did a rewrite in python that supports more instant messaging application (Signal, WhatsApp, Telegram, Line, Kakao)

Check it out here: https://github.com/laggykiller/sticker-convert