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. |
25th January 2015, 10:59 | #1 | Link |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Problem filters make the encode slower
Hello everyone,
I faced a problem using these filters: "QTGMC()" and " dfttest()" They made my encode slower, i used them at once..., one by one and i tried every way but no way !! What should i do?
__________________
|
25th January 2015, 11:13 | #3 | Link | |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Quote:
- CPU i5-4670K - Avisynth 2.6.0 - Record from TV (HD and SD)
__________________
|
|
25th January 2015, 11:19 | #4 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I'm assuming that you are using the "official" Avisynth. You could try SEt's multi-threaded DLL but it's a bit tricky to set up.
Have a look at the QTGMC thread here, there are some tips on multi-threaded usage in the first post. If set up properly, it can speed up QTGMC considerably. dfttest() is already multi-threaded internally, so nothing to gain there with AVS MT. It's just slow. Last edited by Groucho2004; 25th January 2015 at 11:21. |
25th January 2015, 11:49 | #5 | Link | |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Quote:
__________________
|
|
25th January 2015, 13:37 | #6 | Link |
I'm Siri
Join Date: Oct 2012
Location: void
Posts: 2,633
|
if you really know a lot about programming and are willing to spend some time on avisynth filters
the best solution would be port all filters you are using to gpu platform that would surely sky rocket the speed for image processing, you can process multiple pixels simultaneously, you don't have to process the image pixel by pixel that seems like the exact work for gpu, not cpu (sure cpu could do the work also, but would be a lot slower) |
25th January 2015, 14:00 | #7 | Link | |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Quote:
__________________
|
|
25th January 2015, 20:43 | #10 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
I know there's probably a bit of a language barrier, but explaining QTGMC is slow and therefore it'll slow the speed of encoding seems to have necessitated a new thread looking for a different answer, now in a second forum. After being told some filtering is slow yaston decided the answer was incorrect here so I'm not sure he understands the concept of slow filtering slowing encoding speed.
Unfortunately yaston went from here to a new thread without bothering to acknowledge any of the advice given or even reply to it. How to check CPU usage, post MeGUI log files (which would include full AviSynth scripts), run simultaneous encodes..... all bypassed in preference for repeating the question, then when the magic solution isn't offered, time for a new thread. Bouncing from one question to another in threads and from one thread to another without any logical progression makes it hard to help. Groucho2004, yaston's pretty new to Avisynth and he's only had QTGMC working for 10 minutes, hence my instructions for running simultaneous encodes with MeGUI in the thread I linked to rather than introduce a whole new MT can of worms. Judging from some of the scripts he's posted in other threads I'm not sure if he's just randomly throwing filters at every encode or doesn't understand how to correctly create AVISynth scripts yet, but that thread was abandoned before it became clear. Last edited by hello_hello; 25th January 2015 at 20:49. |
27th January 2015, 10:25 | #11 | Link |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Ok..., here's the full script, i stopped using "QTGMC" now i'm only use "dfttest"
And by the way, i found " Avisynth 2.6 MT " version it might be faster !! do you advise me on it or no?! you know about knowledge...!!
__________________
Last edited by yaston; 27th January 2015 at 10:44. |
27th January 2015, 10:58 | #12 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
There is some kind of barrier, language and/or technical aptitude, none of the advice in the various threads appears to sink in. Last edited by Groucho2004; 27th January 2015 at 11:02. |
|
27th January 2015, 12:09 | #14 | Link | |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Quote:
What do you think about the script? is it right? what's you advice?
__________________
|
|
27th January 2015, 12:39 | #16 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
Quote:
Your script makes no sense to me. You're still using field matching you likely don't need, two denoisers and two sharpeners. Multithreaded AVISynth may help with some filters but if your CPU is already running at 100% when you encode then it's already at 100%. Have you checked CPU usage at all as I explained you should here? As I explained in that thread I don't use MT AVISynth because instead of trying to make one encode use more of the available CPU power (which is what multi-threading tries to do), I just run two encodes at a time, or I split an encode into half and encode both halves at the same time. Maybe someone else can help you with MT AVISynth, but it's not easy to get it working reliably. |
|
28th January 2015, 12:28 | #18 | Link |
ангел смерти
Join Date: Nov 2004
Location: Lost
Posts: 9,558
|
QTGMC (deinterlacing) doesn't do the same thing as dfttest (denoising) at all, though. It's meaningless to compare their speeds. QTGMC could be compared with yadif and TDeint, while dfttest could be compared with fft3dfilter and fluxsmooth.
If you don't need deinterlacing then you're right in not using it, but it seems like you aren't sure what you need and are just throwing things at it. You might prefer to stick with MeGUI in that case, which pretty reliably decides what filters you need when you don't know how to handle a video. |
28th January 2015, 14:02 | #19 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
Do you understand the difference between interlaced and progressive video?
Do you understand you only de-interlace video if it's interlaced? Do you understand QTGMC is a de-interlacer and dfttest is a noise filter and they're two completely different things? No, x264's priority is set above normal. If more than one process is needing CPU time, the process with the higher priority is given preference. It has nothing to do with how much a process is utilising your CPU. Normally you'd probably set x264 to "low" so you can still use the computer yourself for other things while you're encoding without everything being very slow. From your screenshot I can see: x264 70% CPU usage Other processes 8% usage "Unused" 22% So CPU usage could be better, but it's not ridiculously low. And it could take much less time, or much more time, depending on your x264 encoder settings and other filters in the script etc. Last edited by hello_hello; 28th January 2015 at 15:11. |
28th January 2015, 14:24 | #20 | Link |
Registered User
Join Date: Oct 2014
Location: Algeria
Posts: 14
|
Ok, i understand the difference between interlaced and progressive video, and about the sittings i treid with the default and it was the same.
Thank you so much guys for your help and advices i appreciate it.
__________________
|
Thread Tools | Search this Thread |
Display Modes | |
|
|