mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 15:15:51 +03:00
[GH-ISSUE #433] Can STG make full use of the GPU when recording/exporting? #1725
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#1725
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nesh108 on GitHub (Jan 14, 2019).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/433
Hello!
I have to start off saying that I absolutely love STG, it's a true life saver: finally a simple way to make GIFs on the go.
Thanks!
Here is my question: I have a computer with a GTX 1070 and I notice that when exporting, even not too long GIFs, the operation takes quite a bit of time.
I am using the 2.0 Encoder, the default setting.
I was wondering, would there be a way to make full use of my GPU when exporting the GIF?
Thanks in advance!
@vatterspun commented on GitHub (Jan 15, 2019):
I thought I responded to this already but I guess the post got lost in the mail.
Anyway, I'll summarize what I said before and say that GPU is probably not a huge boost for encoding GIFs. There might be some FFMPEG tweaks that can grab extra speed from multi-threading, 64-bit, or even the GPU, but most encoding operations just use the processor. Notably, Photoshop professionals (unless something changed in the last few years) are not encouraged to buy anything but a basic graphics card when building a machine. The operations that most 2D graphics tools use aren't the same as 3D graphics.
@Nesh108 commented on GitHub (Jan 26, 2019):
Thanks for taking the time to respond!
Yeah, I saw that FFMPEG can make use of the GPU, I might look into it later on. For now, I am not doing anything too heavy :)
Thanks and keep it up!
@vatterspun commented on GitHub (Jan 28, 2019):
Yeah I should have guessed. Well, if FFMPEG eventually overtakes other tools in terms of encoding speed due to all the optimizations built in, it might make sense to use that by default.
@rkantos commented on GitHub (Jan 31, 2019):
With FFMPEG you cannot get hardware accelerated GIF-creation though, since GPU encoders are designed for video encoding, or (M)JPEG encoding.
Here are some good stuff (commands) and how to use them when using hardware acceleration with FFMPEG (Nvenc & QSV): https://gist.github.com/Brainiarc7/7b6049aac3145927ae1cfeafc8f682c1
In my (I think it is a build by Zeranoe) FFMPEG I have the following codecs supported:
They are meant for video streaming, but if you change them very slightly, they should work with STG.
@vatterspun commented on GitHub (Feb 3, 2019):
Does anyone have any idea what kind of boost comes from using the GPU for encoding? Does it matter if you have a basic vs. excellent graphics card?
@NickeManarin commented on GitHub (Nov 13, 2019):
Well, I'm already using parallel processing when analyzing the frames.
Btw, with the next version, v2.20, there will be available a new capture method (DirectX).