Log in

View Full Version : Vapoursynth


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 [102]

Myrsloik
22nd May 2026, 19:07
Thanks. Looking at cnr2, an AI tells me the algorithm definitely relies on serial. So:



should I ask here if fmFrameState is a total no-no or over on github as an issue ?

The problem is that it doesn't work the way people think it works. Filters that rely on feedback (uses the output for frame n-1 to generate frame n) don't work well with frame level threading.

What you can generally do with these kinds of algorithms is figure out how many frames back actually have a meaningful contribution to the output and then turn simply use that shorter sequence as input and compute that, in parallel, for every output frame.

How many frames is that you ask? Either you stare at the filtering expression and try to reason around how many % change one frame can have at most. Or alternatively you make it configurable and use visual comparison to brute force a solution.

hydra3333
23rd May 2026, 05:58
Thanks. Will put on my dunce cap and have a think and an AI chat about it.

Myrsloik
11th June 2026, 18:32
Some people are reporting deadlocks in R76. However the scripts usually have insane dependencies making it hard for me to gather everything to actually debug things.

If you have a script that hangs in R76 and can either zip up all the plugins (no gpu plugins) or list what I need from pypi that would be very helpful.

Selur
12th June 2026, 15:38
While trying to find a way to reproduce the deadlock while not using gpu filters I also noticed mvtools DepanAnalyse v28 crashes (https://github.com/dubhatervapoursynth/vapoursynth-mvtools/issues/101) :P

Myrsloik
12th June 2026, 16:06
While trying to find a way to reproduce the deadlock while not using gpu filters I also noticed mvtools DepanAnalyse v28 crashes (https://github.com/dubhatervapoursynth/vapoursynth-mvtools/issues/101) :P

Issue kthx. I think I've fixed the deadlock now.

Selur
12th June 2026, 16:40
I think I've fixed the deadlock now.
Nice! Looking forward to the next release. :) => tested vapoursynth-77-cp312-abi3-win_amd64.whl and it didn't freeze with BasicVSR++ :)
Thanks!

Cu Selur

Myrsloik
17th June 2026, 20:36
R77 is out. Mainly to fix the deadlock that could occur with only 1 running thread in R76.

R78 will probably have a memory limit set based on physical ram (like avisynth) and slightly improved thread increase/decrease behavior.

hydra3333
18th June 2026, 13:04
R78 will probably have a memory limit set based on physical ram (like avisynth) and slightly improved thread increase/decrease behavior.

Are you suggesting a hard or default limit, or can the user specify ?

Myrsloik
18th June 2026, 16:39
Are you suggesting a hard or default limit, or can the user specify ?

Basically like avisynth. There's no reason to do anything else.