Skip to content
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

is it Possible to covert with muti-core? #9

Closed
diybl opened this issue Apr 8, 2020 · 3 comments
Closed

is it Possible to covert with muti-core? #9

diybl opened this issue Apr 8, 2020 · 3 comments

Comments

@diybl
Copy link

diybl commented Apr 8, 2020

i found that is use only one cpu .

@ed-asriyan
Copy link
Owner

tgs-to-gif uses puppeteer-lottie library which uses a single core to render images. Converting with multi-core will be possible only if it will be possible in puppeteer-lottie.
By the way, it already has a similar issue: transitive-bullshit/puppeteer-lottie#1.

@SauravDharwadkar
Copy link
Contributor

SauravDharwadkar commented Oct 12, 2020

you also can use cpp version pthread or even you can try some shell techniques
e.g. for f in files ; tgs_to_gif your flags & ; done
not ideal but can work

@ed-asriyan
Copy link
Owner

Now the tool uses multithreading. Converting takes about 2-5 seconds in average.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants