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 |
23rd October 2005, 16:03 | #121 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
lcksg: Did you experince any lockups with only 1 vdub running? Also could you post the script you used. It is a little strange that there are any difference between SetMTmode(x,0) and SetMTmode(x,4) because when using 0 it default to the number of cores that in your case is 4. Also somewhat more informative would be the time it takes to encode the clip so we can see how well the multithreading codes scales.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
23rd October 2005, 18:18 | #122 | Link | |
Registered User
Join Date: Oct 2003
Posts: 20
|
Quote:
There's no lockups at all with 1x Vdub, CPU loads in Taskmgr hovers between 80% - 92% (above 85% mostly). Task Manager report CPU loads in between threads so it's difficult to be accurate but I don't think there's much difference between SetMTmode(x,0) and SetMTmode(x,4). I'll try to rip a few small chapters later to test encoding times. SetMTMode(2,x) is much faster & uses more CPU loads than SetMTMode(4,x). |
|
24th October 2005, 13:27 | #123 | Link |
Registered User
Join Date: Oct 2003
Posts: 20
|
Script same as above but something is not right with the encoding times & CPU usage
MT mode | time mm:ss | CPU usage in Taskmgr HT-on MT-off | 1:35 | 45% CPU MT-20 | 2:16 | 92% CPU MT-22 | 1:46 | 67-70% CPU MT-40 | 3:58 | 36%-41% CPU MT-42 | 2:12 | 48%-54% CPU HT-off MT-off | 1:29 | 87-90% CPU MT-20 | 2:00 | 88%-100% CPU MT-40 | 2:26 | 82%-89% CPU |
24th October 2005, 18:25 | #124 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
Very strange indeed. I don't know whats going on there. Will try to reproduce it on my dual celeron 400 MHz
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
25th October 2005, 00:08 | #125 | Link |
BDVD Team
Join Date: Dec 2004
Location: Rio de Janeiro - RJ/Brasil
Posts: 306
|
MT for 'grid computing'. Any chance?
@TSP
Dear colleague: Is there any chance on you building a MT filter version for 'grid computing' ? (By 'grid' I mean to spread the work on a Local Network, with thread started at the individual CPUs for each 'node'). I think that would be very usuful for several avisynth users that have access to a LAN. Cheers, Last edited by danpos; 30th October 2005 at 00:52. Reason: Clarifying my request. |
31st October 2005, 19:52 | #126 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
I think TCPdeliver would be a better solution for that.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
1st November 2005, 22:19 | #127 | Link | |
BDVD Team
Join Date: Dec 2004
Location: Rio de Janeiro - RJ/Brasil
Posts: 306
|
Quote:
Cya! |
|
8th November 2005, 02:08 | #130 | Link |
Registered User
Join Date: May 2004
Posts: 288
|
Hey!
I have been testing this with my dual P4's and Limitedsharpen with realtime DVD playback it seems to work with the script just fine and improves performance quite a bit. Here is how I used it: MT("LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=3,strength=40,overshoot=7)") Awesome plugin TSP! |
8th November 2005, 03:22 | #132 | Link |
Registered User
Join Date: May 2004
Posts: 288
|
I have tried that before but the SetMTmode parameter does not work using LimitedSharpen with ffdshow for real time DVD playback, I get an error " no function called SetMTmode" when I try it.
Using just the call the way I have it does work and work well however. |
8th November 2005, 10:29 | #133 | Link |
Registered User
Join Date: Jun 2004
Posts: 1
|
My system is a Dual Xeon 2.4Ghz 533FSB in HT mode
======================================================= With standard avisynth 2.56+vdubmod using the following settings for a 24 minute Divx video to Xvid: Undot() VagueDenoiser(threshold=2,method=1,nsteps=6,chroma= true) BlindDeHalo3(1.5,1.5,100).LimitedSharpen2(ss_x=2.0,ss_y=2.0,Smode=3,strength=100) Final Time of Encoding for single pass: 1h55min Average FPS: 5 Average CPU Load: 35% ======================================================= Using Avisynth2.56MT3 with the following settings for the same 24 min video: SetMTmode(2) Undot() VagueDenoiser(threshold=2,method=1,nsteps=6,chroma= true) BlindDeHalo3(1.5,1.5,100).LimitedSharpen2(ss_x=2.0,ss_y=2.0,Smode=3,strength=100) Final Time of Encoding for single pass: 52min Average FPS: 12 Average CPU Load: 100% ======================================================= This is one godly plugin for multi-processor users. Thanks tsp! Only downside(not really) is my system is extremly laggy in mode2, but that is to be expected since it's using 100% load ^_^. Last edited by Koroshiya; 2nd December 2005 at 22:32. |
8th November 2005, 12:27 | #134 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
Socio: you need the newest special multithreaded version of avisynth 2.56 that you can get at my homepage (link in my signature.).
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
8th November 2005, 14:04 | #135 | Link | |
Registered User
Join Date: May 2004
Posts: 288
|
Thanks TSP,
I now run it with this call and it works great: Quote:
|
|
8th November 2005, 14:59 | #136 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
Socio: try using
Code:
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs") MT("LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=3,strength=40,overshoot=7)",avisynthTS=true) Code:
SetMTMode(2) Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs") LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=3,strength=40,overshoot=7))
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
9th November 2005, 00:04 | #138 | Link |
Registered User
Join Date: May 2004
Posts: 288
|
I tested it some more this afternoon, because I am using it for processing DVD playback in realtime it is not possible to get a concrete benchmark.
What I did however was scale the DVD to 1080p and set ffdshow to show the decoder fps, I ran three tests all with the same processing settings. The first test was with no MT and stock Avisynth.dll and I got 6-12 Fps would peak at 12 fps but mostly stayed in the 6-8 range. Then with the first call you suggested I got 12-14 fps. never dropped below 12 and never higher than 14. Lastly I tried the last call you suggested and got 16 -21 fps, never dropped below 16 and never got higher than 21 which is near double what I got without MT and tells me your plug in not only works it freaking rocks! |
15th November 2005, 02:17 | #140 | Link | ||
Registered User
Join Date: Aug 2003
Posts: 27
|
Quote:
Quote:
I manged to anwser my own question... Firstly DVD Rebuilder does allow you to customize your AVS scripts. Not very well however. You can add lines but it places them after the mpeg2source() line and before the filters it applies. There is a tool called RP-Opt which allows you to edit the avs files without having to manually open each one. You edit them for each title set. I was able to add the loadplugin and SetMTmode lines in the correct position. I saw a CCE speed gain that varies from .5 to 1.5 in the various segments and cpu utilization of CCE increased from 60-75% to nearly 100%. Also be aware that DVD Rebuilder must use an older version of DGDecode.dll, which is incompatible with the current DGIndex so set up the rebuilder friendly DLL with a different name or rename it when using each. I also saw a very large, nearly 100% performance gain in DVD->x264 encoding via this plugin. Most impressive! Last edited by Devinator; 15th November 2005 at 02:25. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|