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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#141 | Link |
|
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,754
|
Damn, the new version is way faster. I was getting about 3.98fps. Now I am getting 5.5fps. On one thread. If I use setmtmode(2), I get over 20fps. This is on 720x480 footage. Hell yes for MVtools2!! Now, I just need MC_Spuds to update as well and I will be one happy camper.
|
|
|
|
|
|
#142 | Link |
|
Registered User
Join Date: May 2008
Location: Californiaaaaayyy
Posts: 51
|
Just to echo Merlin's sentiments, I'm thoroughly enjoying around a 20% speed improvement when using MCTemporalDenoise 1.1.23 along with MVTools 2.3.0.0
Major kudos to LaTo and fizick!!!
__________________
mozzle |
|
|
|
|
|
#144 | Link |
|
Registered User
Join Date: Jul 2005
Posts: 438
|
There seems to be an issue with "edgeclean=true". When I used it (the MVTools2 version), some frames were OK (no comment about the actual edge cleaning here), but some other frames were bleached... When I turned it off, the colors were fine again. I hope this bug report helps to further improve your amazing script, LaTo! Thanks for your efforts!
|
|
|
|
|
|
#147 | Link |
|
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
sure does! MVTools2 is even more stable than v1 with setmtmode
Do you have the latest version of MVTools2?
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
|
|
|
|
|
#149 | Link |
|
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
Unless you still use scripts that use mvtools1, yes. It'll take some time for the old scripts to be adapted to the new syntax (especially since it has just changed), so I think you'll still need v1 for a little while.
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
|
|
|
|
|
#150 | Link |
|
Registered User
Join Date: Aug 2007
Posts: 12
|
Thanks thetoof, I am not seeing any performance improvments with setmtmode(2,0). Mine is a quadcore 9400 with 8 GB RAM. CPU is at 30%.
setmtmode(2,0) MCTemporalDenoise(settings="high",gpu=false,truemotion=false,sharp=0,ncpu=4) Getting around 3FPS on x264 HQ profile first pass. |
|
|
|
|
|
#151 | Link | ||
|
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Update 2008/12/12 v1.1.24
Quote:
![]() For edgeclean=true, I recommend to try another thing that ECmode's default : it's a simple RemoveGrain by default... (dfttest is great but slow) EDIT: Update 12/12/2008 Quote:
Last edited by LaTo; 12th December 2008 at 08:22. |
||
|
|
|
|
|
#152 | Link | |
|
Registered User
Join Date: Sep 2008
Posts: 5
|
Quote:
LaTo may have already tried it too... |
|
|
|
|
|
|
#153 | Link | |
|
Registered User
Join Date: Mar 2003
Location: UK
Posts: 360
|
Quote:
If that is your script, then you are missing the important MT command that is needed to multi-thread filters Try this : MT("MCTemporalDenoise(settings="high",gpu=false,truemotion=false,sharp=0,ncpu=4)") or MT(""" MCTemporalDenoise(settings="high",gpu=false,truemotion=false,sharp=0,ncpu=4) """) The 2nd one just lets you run MT on a block of filters instead of applying it per filter or function Not forgetting to copy the patched avisynth.dll to your windows\system32 folder in your C:\ drive or where you have Windoze installed Otherwise nothing will happen again, and bear in mind that this patch only currently works on AviSynth 2.57, maybe he's waiting for a stable 2.58 to release the update Also, try SETMTMode(2,4) to force is to use 4 threads, for a quad core, that way you know its running on 4 threads instead of letting the software decide how many threads to run on. Some also run it with SETMTMode(2,8) to force 8 threads with success Last edited by steptoe; 13th December 2008 at 11:52. |
|
|
|
|
|
|
#154 | Link | |
|
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,442
|
Quote:
The second (triple-quote) form is required, to allow a string literal inside the complete string. It is unconnected with using a block of filters, since ordinary (single-quote) strings can also contain line breaks. Bear in mind also that MT splits each frame in two and processes each half in a separate thread. Not all filters will work correctly doing this - I don't know enough about MCTemporalDenoise to say whether this is appropriate or not, but my instinct would say no (eg the clip could contain motion between the two halves). It is not necessary to use the MT filter to get multi-threading, its action is complementary to SetMtMode. |
|
|
|
|
|
|
#155 | Link |
|
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
Exactly, setmtmode splits the clip temporally to multithread it, while mt splits it spatially. You do NOT want the latter with mo-comped processing.
Possible issues: -Encoder is the bottleneck -You could/should use more/less threads (check which # is faster (not higher CPU usage, faster) -You don't have enough memory (use a higher SetMTmode, you can even go up to 1900... though I don't fully know the issues that could come up if the setting is too high) Please post your full script and the CPU/speed results you get by varying the # of threads. Remember that x264 also works with many threads, so it's all about balancing which step gets more threads for optimal efficiency.
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
|
|
|
|
|
#156 | Link |
|
Registered User
Join Date: Mar 2003
Location: UK
Posts: 360
|
I stand corrected, I always thought you had to use MT("") to get the filter to work with multi-threaded
Maybe I need to go back and study the MT docs on the wiki again and again to try and understand how it really works and when or when not to try and use it |
|
|
|
|
|
#158 | Link |
|
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
Do you have MVTools 2.3.1?
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
|
|
|
|
|
#160 | Link |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Also, another issue is where you place SetMTMode.
Good: SetMTMode() Source("...") MCTemporalDenoise() Bad: Source("...") SetMTMode() MCTemporalDenoise()
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|