-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'.tgs' Animated stickers don't work #3
Comments
Hm okay that's definitely odd, can you send me the sticker pack you were trying to convert? |
It seems like you're writing to i.e: |
As a test, I also made it output to
|
heyo! figured i should pop in to suggest a few things.
im half asleep and it's 12 am so i may be a bit slow to respond since im heading to bed lol, but please look your configuration over |
Okay. So I have ffmpeg installed. I need it for another service that I have running and it's working fine there. So I don't think that there is generally anything wrong with it. I'm working within my home directory. /home/user/stickerconverter I didn't specify your program to use the tmp folder anywhere. I don't know how you handle ffmpeg. Maybe it is my ffmpeg configuration that is set up to make conversions in that folder. I just tried the sticker pack you suggested and it actually worked fine. Animations are converted just like i would expect them to. This one here doesn't work and it spits out the exception from above: https://t.me/addstickers/LilPuppy So it seems to depend on what sticker pack I use. But I tried about 10 different animated packs and the one that you suggested is the only one that worked so far. |
Okay yeah the /tmp thing might be a weird issue with your ffmpeg config, but that's fine it seems to be working properly, having a look at the sticker pack you sent and realized it's in another format I'll figure out how I can implement this :) |
So essentially it‘s not my system/configuration, but I just had bad luck with my sticker choice?
|
You're all good, It's an oversight in my code, I'm working on |
I found your code super easy to use and pull down stickers - thanks for the hard work! For tgs support, would you be able to make use of this Lottie framework? Link: https://pypi.org/project/lottie/ |
I think I did try using that, I'm not too sure on why I didn't end up implementing it, I'll have another look at it using that package. :) |
Trying to understand my own code is hurting my brain lmfao, support is still planned but I might rewrite some other stuff too, moving to #4 |
Hey thanks for your work first of all.
I cloned the repository, installed dependencies all according to your guide here.
Static stickers get converted.
However for animated stickers I get the following output:
/tmp/tmpjzm7gq94.webm: Invalid data found when processing input
It results in no files being added to the output directory.
I'm using ubuntu if that matters.
Cheers
The text was updated successfully, but these errors were encountered: