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. |
5th September 2009, 18:44 | #21 | Link |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
Thanks for the update. I have tried it, but the colors problems are forbidding a regular usage. That could be something to put on top of the stack I have followed (but note always understood) the "main/single-threaded" 2.6 thread and have seen these exchanges. I will not put pressure on either side but if I can be of any help for the MT side let me know. Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
4th October 2009, 15:44 | #22 | Link | |
Registered User
Join Date: Mar 2003
Posts: 116
|
Hey guys, it seems my problem is related to my quad core CPU as I have exactly the same symptoms as mentioned here: http://forum.doom9.org/showthread.ph...83#post1319483
Switched to several different SetMTmodes, but it eventually stalls (CPU use & fps in vdub drop to zero) It starts out fast though. So I was going to try the other modes... Code:
MTSource(""" MPEG2Source("D:\my.d2v") """) Quote:
|
|
4th October 2009, 17:30 | #24 | Link |
Registered User
Join Date: Mar 2003
Posts: 116
|
Yes, dgdecode is in plugins - it works fine with
Code:
MPEG2Source("D:\my.d2v") Code:
MTSource(""" AviSource("pass2.avi") """) MT 0.7 (includes modified avisynth 2.5.7.5) works fine :< Last edited by levi; 4th October 2009 at 19:15. Reason: tested older version |
5th October 2009, 12:24 | #25 | Link |
Registered User
Join Date: Aug 2007
Posts: 374
|
There actually was one more threading fix i haven't bothered to post due to expected rewrite of cache/MTMode in 2.6 that should solve the problem with hanging. See the first post for the rebuilt dll.
Code:
--- cacheMT.cpp 2009-08-08 22:03:34.034750000 +0400 +++ cacheMT.cpp 2009-10-05 15:15:03.734375000 +0400 @@ -430,7 +430,9 @@ InterlockedDecrement(&e_generated_refcount[i->e_generated_index]); ++g_Cache_stats.vfb_found; LockVFB(i, env); // BuildVideoFrame expect the VFB to be locked + EnterCriticalSection(&cs_cache); PVideoFrame retval=BuildVideoFrame(i, n); + LeaveCriticalSection(&cs_cache); InterlockedDecrement((long*)&retval->refcount); return retval; } |
9th October 2009, 21:38 | #28 | Link |
Xbox Live: o 4lif o
Join Date: Jun 2009
Location: Monrovia, CA
Posts: 64
|
I'm still running my first test on my 8-core. It's a really complicated script that usually gives me 3-4fps, and it's running 12-14fps with this new DLL. It's been rock solid for the last 2h 30min, and I have another hour to go. BUT, when I was using the previous build it would hang itself in less than 5 minutes. I expect this will complete just fine. After I finish the 8-core test, I'll hop onto my quad core box and see if I can duplicate the results (I see no reason why it would give me any problems).
Sorry you're not seeing any improvement though. I'm only using Setmtmode(2,0), so perhaps you should give that a try if you haven't already. VERY promising though. Thanks again SEt! |
20th October 2009, 22:04 | #34 | Link | |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
The last 2.6-MT from SET is really stable for me, but I am still getting some horizontal colors bands; don't know if related to the above quote though? I could try to pinpoint what script/filter does trigger these bands if interested... Did
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
|
25th October 2009, 21:46 | #36 | Link | |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
Here are the infos I can give you: Having a mpegsouce or a directshowsource, Source being this test movie: http://www.mediafire.com/file/r2rnvnnn2y1/bride1.m2v from this thread: http://forum.doom9.org/showthread.ph...15#post1328915 autocrop() gives some colors problems (patchs of blue and red plus a thin horizontal green line at the bottom) with a resulting resolution of 700*384 Crop(movie,0,46,0,-50) is OK mt("DeGrainMedian(mode=5)") is Ok lanczosresize(720,432) is ok (as is autocrop +lanczos) BlindPP(cpu2="xxxxoo", quant=16) -deblocking- or BlindPP(cpu2="ooooxx", quant=5) -deringing- gives a green horizontal thick line at the bottom quite similar to the one in the 2.6 thread: http://forum.doom9.org/showthread.ph...38#post1337438 Blindpp() being a separate use of the cpu function from dgdecode, this could be expected. Complex scripts sharpening and/or denoising with or whitout MT are Ok: lsfmod()or *mt("""lsfmod(strength=150, soothe=true,keep=10,edgemode=1)""") MCtemporaldenoise() or *mt("""MCTemporalDenoise(settings="medium",sigma=20,sharp=true,strength=200,protect=true,flat=true)""") Softsharpen() or *mt("""softsharpen(preset="film", net=14,debrT=1,debr=0, flou=16,derin=0)""",2,4,splitvertical=true) * are examples only; parameters may not be appropriate or only if associated with other filters. So I hope that the solution(s) from the main 2.6 thread can apply here. If not, someone (not me) will have to ask an update of dgdecode().
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. Last edited by BigDid; 26th October 2009 at 17:26. |
|
25th October 2009, 22:24 | #37 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
@BigDid,
It ain'i rocket science put a SetPlanarLegacyAlignment (True) after the BlindPP() line and see if it hides the problem. (Hint: Having looked at the code, just halving the pitch, as is done here, is going to cause this problem.) |
26th October 2009, 17:27 | #39 | Link | ||
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Quote:
Works fine. As I use the deblock part of blind PP before denoising/sharpening and the dering part after, I have tested that 1 statement of "SetPlanarLegacyAlignment (True)" at the end of the script will work fine also. Thanks alot, good to have some constructive answers in these difficult times. Same as you are. Some syntax works some do not. Basics are on the wiki page: http://avisynth.org/mediawiki/MT_support_page summarizing the basic MT 0.7 thread: http://forum.doom9.org/showthread.php?t=94996 You have to juggle with triple quotes, overlap and/or splitvertical. I have updated the complex scripts in the above post as examples. Quote:
http://forum.doom9.org/showthread.ph...10#post1331510 http://www.avisynth.org/tsp/MT_07.zip
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
||
26th October 2009, 22:06 | #40 | Link | |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Quote:
For filters that make illegal assumptions about pitch you should put SetPlanarLegacyAlignment(False) right before the problem filters statement and SetPlanarLegacyAlignment(True) right after it. i.e. Code:
Mpeg2Source("fred.d2v, cpu=1) # Bad planar code! SetPlanarLegacyAlignment(True) # Do slow legacy alignment ... SetPlanarLegacyAlignment(False) # Restore fast alignment BlindPP(cpu2="xxxxoo", quant=16) # Bad planar code! SetPlanarLegacyAlignment(True) # Do slow legacy alignment ... |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|