How to multithread QTGMC?
Hello all, I have an issue with QTGMC I am trying to sort out.
After doing some preliminary capture work to get comfortable with the workflow I wanted to multi-thread all of my scripts to reduce run time. I followed the instructions I could find on how to multi-thread Avisynth but did not really get the anticipated results. Before multithreading I was getting about 2.4 frames per second, and after multithreading I was still getting 2.4 frames per second. Best I can tell, QTGMC is the bottleneck here. Its not so much that I expect a massively faster process, but the fact that there appears to be zero difference in fps or CPU utilization makes me suspect that something is wrong with my scripting approach here. Any help greatly appreciated! Code:
video = AviSource("B:\Videos\Captures\Raw Captures\Cronkike Remembers.avi") |
Don't MT the 32-bit Avisynth. Problems, random glitches. Even MT, the 64bit much faster. Use it for this step.
|
Thanks lordsmurf. I checked and I do have both a 32 and a 64 bit version in my plugins folder.
I have a script running now, but once that is done I will swap over and see what happens. |
Code:
SetMemoryMax(900) |
Big thanks to both for your suggestions. Here is what I did.
First, I made a backup of the plugins folders from the old install, just in case. I uninstalled the Avisynth and downloaded Avisynth+ 3.7.1 from the github. (note to Windows users, there is a single installer for both 32 and 64 bit, this initially confused me since MacOS has separate installers and I saw no mention of a 64 bit installer for Windows). Running the installer, I unchecked 32 bit entirely in the options menu for the time being to keep everything on the 64 bit version. I then ran the script with the edit themaster1 indicated above. Full script was as follows Code:
video = AviSource("B:\Videos\Captures\Cronkike Remembers Test2.avi") Setting both to 10 I had an fps of about 13, which is a significant improvement. Setting both to 16 I had an fps of about 16, clearly some decreasing marginal returns are at play here. |
if the script is simple you can use all your threads, if it's complex (with denoising and seeking frames temporally) it's best to use a little less: say 16 threads cpu capable, use 14 or 15 with edithreads.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.