Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
7th September 2010, 19:30 | #1 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,578
|
Move FFT3D outside MT routine in a preanalyzed MDegrain
I'm using the following:
PHP Code:
I have tried to use FFT3DGPU to increase performance but it is not possible to use it AFAIK inside a MT routine without artifacts. I have tried different line swapping and moving but I can't create a working script with FFT3DGPU or FFT3DFilter outside MT. Any idea? Thanks
__________________
@turment on Telegram Last edited by tormento; 7th September 2010 at 19:34. |
7th September 2010, 20:57 | #2 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
PHP Code:
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
7th September 2010, 22:29 | #3 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,578
|
Quote:
Perhaps my idea of understanding is a bit overestimated. Any idea for better results? As you may perceive by reading my few threads, I am looking for the holy grail of degraining... The culprits are BD such as The hurt locker, 300 and so.
__________________
@turment on Telegram |
|
7th September 2010, 23:43 | #4 | Link | ||
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Quote:
Quote:
There's no particular idea for better results ... the story is quite simple: on very noisy sources, the noise (or some of its side-effects) are disturbing the motion search. Hence, you need to set up the prefiltering so that the disturbing aspects are eliminated. The question isn't ultimately how light or how heavy the prefilter should be. The question is how specifically the prefilter can elimiate the specific characteristic that is disturbing the motion search. As a general rule of thumb, temporal filtering is more important than spatial filtering. A grainy no-motion area should be really calm and steady after the prefilter. If motionless spots still show fluctuations, then MAnalyse might consider those fluctuations as motion. Which is exactly what the whole process tries to avoid in the first place. A spatial filter is quite unlikely to remove inter-frame flicker. That's the domain of temporal filters. (A pity that you can't separate spatial and temporal "strength" in FFT3DFilter. With tnlmeans that is possible, but quite a bit slower.)
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
||
8th September 2010, 06:13 | #5 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,578
|
You gave me a nice and witty reply, as always, thanks.
But now, Didée, how should I modify that script? How a good filter should be used to clean the area to be vectorized?
__________________
@turment on Telegram |
8th September 2010, 13:30 | #8 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,578
|
Mmm... I tried to use the interleaved script, both with FFT3DFilter (even with ncpu set) and FFT3DGPU, and it's ways slower than my original one. I must suppose my only way to go "multithreaded" is to split the movie in different parts and run different MEGUI workers on them.
__________________
@turment on Telegram |
8th September 2010, 15:10 | #9 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
That's quite possible. You asked how to get FFT3D outside the MT statement, I showed a solution. But I didn't claim that it would be any faster.
Vanilla FFT3DFilter works quite well with both MT() and SetMTMode(). If looking at just Avisynth, having FFT3D inside MT is likely to be faster than having it outside. And FFT3DGPU can indeed become a bottleneck ... when the remaining (multithreaded) script is fast enough, FFT3DGPU sometimes is just too slow.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
Thread Tools | Search this Thread |
Display Modes | |
|
|