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. |
9th June 2018, 20:17 | #2 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Atm. QTGMC uses:
fmtconv, scenechange, temporalsoften, vsznedi3 or NNEDI3CL, EEDI3, KNLMeansCL, OpenCL, libfftw3f-3, DFTTest, fft3dfilter, AddGrain -> yes, it think it's unrealistic since it would be a pain to maintain. |
9th June 2018, 21:00 | #3 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Many of the steps are so complicated they're cpu bound and not memory bound. I do however believe there are a couple of percent of speedup you could get from reducing the memory bandwidth bound parts.
Examples are patterns like maximum/minimum/inflate/deflate being called repeated which could have a more efficient access pattern if a passes argument was added. Another thing is to avoid several luts/exprs in series and instead make use of a single expr with more inputs. Separatefields+selectevery+weave is also easily reduced to a single operations instead of a lot of extra copying. And so on... To do things like this automatically would require adding a line or tile based processing model which is kinda hard and annoying. I've thought about it but it'll be a lot of work to do it well for general purpose stuff (zimg does this internally already). There's definitely a bit of speed to be gained in there but it probably starts at combining the simple operations. All the full frame copies start adding up after while.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
10th June 2018, 01:39 | #4 | Link | |
Registered User
Join Date: Jan 2016
Posts: 162
|
Quote:
|
|
10th June 2018, 10:05 | #5 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
|
|
10th June 2018, 12:15 | #6 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
What about writing something as good or almost as good for deinterlacing (mainly with good detection if frame does actually need deinterlacing)?
Different question. Although QTGMC quite well "passes" progressive frames in case of hybrid nature files (which are the biggest issue) I'm using TDeint to check if frame needs deinterlacing or not. My problem is that there are quite many false positive. I'm not 100% sure but looks like ffmpeg filter for interlaced detection seems to be more accurate. Can QTGMC itself provide (more reliable) "is combed" check? I have 80K minutes of footage which needs to be "normalised" to pure progressive, so any processing time saving is worth it. Last edited by kolak; 10th June 2018 at 12:18. |
10th June 2018, 18:00 | #7 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
|
|
10th June 2018, 18:44 | #8 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
No, I didn't, but I will.
Tdeint also has thresholds, but engine creates many false positive. update: looks like they both may be based on the same engine? Last edited by kolak; 10th June 2018 at 19:10. |
|
|