View Full Version : Avisynth 2.5.8 MT
SEt
5th January 2010, 23:02
It's useful with any Avisynth if you want frame-accurate seeking.
leeperry
6th January 2010, 21:59
otherwise it would add delay? I wonder why Leak didn't implement it if it's needed, I'll try it! :thanks:
PS: oops, I tried some modified ffdshow a while ago, and it was going completely wonky from time to time IIRC...half speed and so :o
Jeremy Duncan
20th January 2010, 08:43
SEt, your patch works fine on 32 bit xp and vista, but on windows 7 64 bit, the picture is very distorted. It looks like the resizing it all wrong.
I thought it was the 32 bit build being incompatible with 64 bit, so I made a 64 bit ffdshow.ax using your patch and clsid's 64 bit ffdshow, both ffdshow and patch were build 3200 but the artifact of bad resizing was still there.
I writing this to you in the hope you can revise your patch so it works on windows 7 64 bit. If there's any tests I can run to help you I will do so, I can build ffdshow.ax 64 bit in minutes. :)
Edit, I fixed the problem here is the new diff file: diff file i made (http://www.mediafire.com/?dnljddfjzlm)
SEt
22nd January 2010, 00:49
Jeremy, you were told many times – you have absolutely no idea of what you are doing. Of course you are free to continue it for yourself, but please don't confuse less experienced users here. Image distortion you see likely has no relation to my patch and you'd see it without patch too. Not only contents of your 'patch' make no sense at all, it's not even a valid .diff file so you can't apply it.
Jeremy Duncan
22nd January 2010, 03:21
Jeremy, you were told many times – you have absolutely no idea of what you are doing. Of course you are free to continue it for yourself, but please don't confuse less experienced users here. Image distortion you see likely has no relation to my patch and you'd see it without patch too. Not only contents of your 'patch' make no sense at all, it's not even a valid .diff file so you can't apply it.
I patched the two files from the src, imgfilters, avisynth folder using your patch, but I didn't make a new diff file.
May I ask you to look at the two files I patched and post a diff file.
I will post the original files then the patched files so you can see them both. I can read the diff file and copy and paste them into the file but on how to build a diff file I'm not too sure yet. :)
patched files (http://www.mediafire.com/?cdwzfhzzhlr)
original files (http://www.mediafire.com/?zhnzxmony0q)
I said could you make a new diff file since they have updated the files in the svn so I'm not entirely sure your diff file in the first post is still correct.
cy
22nd January 2010, 03:38
Jeremy, it's time to take your meds now.
Jeremy Duncan
22nd January 2010, 06:21
cy, rule #4. I won't report you though, but just so you know, I can if I wanted too. :)
tedkunich
22nd January 2010, 07:24
I wish this forum had the ability to use a killfile... threads of late have become useless drivel, wasting bandwidth...
Jeremy, when you finally graduate high school (I assume you are teenager), I would recommend that you elect computer science as a major in college - then in a few years, please take a look back at your posts and you will (hopefully) finally understand what everyone is trying to explain to you. Until then, please spare us your naive, youthful over exuberance on this matter, it is really wearing thin.
Peace,
T
Jeremy Duncan
22nd January 2010, 10:08
read this reply in a different thread. I'm sorry for my error. (http://forum.doom9.org/showthread.php?p=1366545#post1366545)
mikey1984
16th February 2010, 13:26
Hi, ive just installed modded version of avisynth and mt.dlls from this thread.
I experienced grt speed improvements already.
I also noticed that encodes without resizing are ~ 20-30fps faster than the ones with resizing, and i have question, which resize filter is compatibile the best with those mods and/or multithread-friendly? So far i only used lanczos.
Any ideas, suggestions?
trackerz
16th March 2010, 17:41
.....
Hiritsuki
18th March 2010, 19:37
i got this error
I don't know MT("""""") can use multi filter in once?
osgZach
18th March 2010, 22:05
You can make multiple filter calls like that, but I don't know if there is a limit, or if certain ones just don't work. However I think the triple quotes were supposed to be to help make sure it went through properly..
in my case I just do this for my specific need
MT("""TempGaussMC_beta2().SelectEven()""",overlap=x,threads=x)
# x = w/e your values are
Works great for me
Gavino
19th March 2010, 12:37
You can make multiple filter calls like that, but I don't know if there is a limit, or if certain ones just don't work. However I think the triple quotes were supposed to be to help make sure it went through properly.
Yes, the MT filter argument can include multiple calls, it is just a string passed to the Eval function. The triple quotes are only strictly needed if the string itself includes further quotes.
trackerz' problem might be in applying hqdn3d to the MSuper clip - I don't know if this is allowed or makes sense.
lych_necross
20th March 2010, 07:15
What are you trying to do trackerz?
trackerz
20th March 2010, 10:57
What are you trying to do trackerz?
encoding a 720p mkv to 480p avi
User X
5th May 2010, 06:36
Hi to all.
I have installed Avisynth 2.5.8 with the plugins "MVTools 2.5.10" and this "MT 2.5.8", with the Avisynth configuration activated in FFSshow. Everything on updated XP SP3.
Work fine, but I have noted than this plugin provokes that the Media Player Classic crash passed a determined quantity of video files (some ~10 videos) played or skipped with [Skipe Foward] from list of reproduction (*.MPCPL).
This happens when I activate the Avisynth configuration in FFSshow only when I use this MT plugin. I feel than is a plugin bug.
I wanted to know if to somebody else happens to it or only to me.
Greetings and thanks.
foxyshadis
8th May 2010, 03:36
ok, indeed my sample works now w/ your new MT.dll+avisynth.dll :cool:
now, using this simple script w/ the latest icl10 ffdshoow build from xvidvideo.ru in KMPlayer in XP SP3 :
SetMemoryMax(64)
MT("AddGrainC()",8)
that's AddGrainC 1.1 :
http://img72.imageshack.us/img72/2866/62435091.png
first value is CPU load, second is RAM usage, and third is pagefile usage.
and now AddGrainC 1.4 :
http://img229.imageshack.us/img229/2024/36428209.png
I've put all the builds(+source) from 1.0 to 1.4 here....in case you have any idea what's going wrong : http://www.megaupload.com/?d=BOKPFX19
leaks start at 1.2, so between 1.1 and 1.2 something went wrong w/ MT :(
I already mentioned it to foxyshadis, but never got a reply :o
I'm not sure whether there's any point that I try your ffdshow mod, because SetMTMode() doesn't work too well w/ HR+Reclock...it seems to be asynchronous or something..
I finally reinstalled a build environment and built a fix (http://www.megaupload.com/?d=9ZWS9HDF). (Once I wrapped my head back around the algorithm.) It loops through 256 * threads possible permutations of noise, instead of frames * threads, which got pretty ugly with MT 8-way. Sorry about that, I didn't test on any really long sequences before.
Let me know if it crashes.
Thanks for the download btw, I didn't even have my own sources. (They're on my laptop's pre-reinstall backup.)
fabje
12th June 2010, 16:32
I just tested this and it works fantastic a result off an 25min recording, including cropping, deinterlace and trimming to a xvid avi file.
Before: Pass 1: 171fps | Pass 2: 165fps
After: Pass 1: 300fps | Pass 2: 223fps
Didée
12th June 2010, 17:00
I just tested this and it works fantastic a result off an 25min recording, including cropping, deinterlace and trimming to a xvid avi file.
Before: Pass 1: 171fps | Pass 2: 165fps
After: Pass 1: 300fps | Pass 2: 223fps
With all due respect, those numbers are suspiciously high. What was the script, the Xvid settings, and the resolution?
With Xvid basically being singlethreaded (except for some exotic, seldomly-used solutions), I wonder what the actual chain was. Perhaps like AviSource().bilinearresize(320,172)?
(On my i7-860, a plain decoding of mpeg2source("PAL_720x576_25fps.d2v") to NULL is in range 550~600 fps. There's not much room at all for filtering or exhaustive encoding settings, in order to get Xvid run at 300fps on 1st pass, or 200+ fps on 2nd pass.)
fabje
12th June 2010, 17:08
With all due respect, those numbers are suspiciously high. What was the script, the Xvid settings, and the resolution?
With Xvid basically being singlethreaded (except for some exotic, seldomly-used solutions), I wonder what the actual chain was. Perhaps like AviSource().bilinearresize(320,172)?
(On my i7-860, a plain decoding of mpeg2source("PAL_720x576_25fps.d2v") to NULL is in range 550~600 fps. There's not much room at all for filtering or exhaustive encoding settings, in order to get Xvid run at 300fps on 1st pass, or 200+ fps on 2nd pass.)
Thanks :)
The source is an IPTV recording with an overall bitrate of 8500 Kbps and resolution of 720 x 576.
This is the avs script:
SetMTMode(5,2)
MPEG2Source("D:\test.d2v")
SetMTMode(2)
LeakKernelDeint(order=1,threshold=8)
Crop(2,2,-2,-2)
BicubicResize(672,368,0,0.5)
Trim(17518,56467)
The specs of the system:
i7 930 @ 3520Mhz
3GB DDR3 RAM
2x 250GB WD RAID0
Windows XP SP3.
If have also an i7 980x @ 3750Mhz, wonder what that will do :p
Didée
12th June 2010, 18:07
Wow, so it seems Xvid can really go *that* fast, even though it's single-threaded? (I haven't yet installed Xvid, hence I didn't test)
fabje
12th June 2010, 19:33
Wow, so it seems Xvid can really go *that* fast, even though it's single-threaded? (I haven't yet installed Xvid, hence I didn't test)
I don't know if xvid is single-threaded I know that you can say in the settings how many threads your pc has.
Didée
12th June 2010, 20:37
Errrrmh ... yes, of course, you're right. Xvid can use MT since ... quite a few years.... :o
(Lame excuse: I've ridden the one-legged horse for so [too] long, that Xvid SMP escaped my notice.)
Atak_Snajpera
26th June 2010, 18:46
I've created a AviSynth MT 2.5.8 installer based on SEt's sources
Installer: http://www.mediafire.com/file/kjdzqyz4dyj/AviSynthMT_258.exe
Sources: http://www.mediafire.com/file/zt4gzeoo3nk/AviSynthMT_258_INSTALLER.7z
lych_necross
27th June 2010, 06:59
Thanks Atak_Snajpera!
supernater
18th July 2010, 15:40
I wanted to say THANK YOU for such a wonderful plugin. It is AWESOME, I get speed boosts by more than 100% sometimes! I wish I'd stumbled onto this thread a long time ago. I have a few questions though...
I ran several scripts on a piece of poorly encoded anime that I was trying to fix up. One of the scripts crashes when going from the first pass to the second pass while the other three don't. Here are my scripts...
Script#1: works (about 4.5 fps)
directshowSource("badanimesource.avi", fps=25.0, convertfps=true, audio=false)
comptest(5)
Deen("a2d",3,7,10,0.5)
dehalo_alpha(ss=1.2)
warpsharp(depth=50, blur=2, bump=50)
limitedsharpenfaster()
DCTFilter(1,1,1,1,1,0.75,0.25,0)
Script#2: works (about 8.2 fps)
SetMemoryMax(512)
SetMTmode(3,0)
directshowSource("badanimesource.avi", fps=25.0, convertfps=true, audio=false)
SetMTmode(2)
comptest(5)
Deen("a2d",3,7,10,0.5)
dehalo_alpha(ss=1.2)
warpsharp(depth=50, blur=2, bump=50)
limitedsharpenfaster()
DCTFilter(1,1,1,1,1,0.75,0.25,0)
Script#3: works (about 8.45 fps)
SetMemoryMax(512)
SetMTmode(2,0)
directshowSource("badanimesource.avi", fps=25.0, convertfps=true, audio=false)
comptest(5)
Deen("a2d",3,7,10,0.5)
dehalo_alpha(ss=1.2)
warpsharp(depth=50, blur=2, bump=50)
limitedsharpenfaster()
DCTFilter(1,1,1,1,1,0.75,0.25,0)
Script#4: first pass works, second pass crashes
SetMemoryMax(512)
SetMTmode(3,0)
directshowSource("badanimesource.avi", fps=25.0, convertfps=true, audio=false)
SetMTmode(2)
comptest(5)
Deen("a2d",3,7,10,0.5)
dehalo_alpha(ss=1.2)
warpsharp(depth=50, blur=2, bump=50)
limitedsharpenfaster()
DCTFilter(1,1,1,1,1,0.75,0.25,0)
SetMTMode(1)
GetMTMode(false) > 0 ? distributor() : last
I've reproduced this result several times on different anime sources. I've installed everything properly, I'm running avisynth 2.5.8 and ffdshow r2975 with the ffdshow.ax file that SEt posted, I repladed the appropriate DLL's with what SEt had in the zip file. My question is.. Why does the 4th script crash? I am running it according to SEt's recommendations, right? Can anyone see any reason why this isn't working? Is there any reason why I shouldn't use the second or third script even though I omitted the lines SetMTMode(1) and GetMTMode(false) > 0 ? distributor() : last ? Those two scripts still gave me a speed boost and seemed to work fine.
doc_dvxm
22nd July 2010, 14:24
I've created a AviSynth MT 2.5.8 installer based on SEt's sources
Installer: http://www.mediafire.com/file/kjdzqyz4dyj/AviSynthMT_258.exe
Sources: http://www.mediafire.com/file/zt4gzeoo3nk/AviSynthMT_258_INSTALLER.7z
Thanx atak :)
I am running 32 bit MeGUI + 32 Bit Avisynth on my Win 7 Ultimate 64 Bit - my processor is i7930 btw. Why I am running 32 bit softwares - because I am not able to resolve problem with 64 bit codecs - especially with VC-1 codec based m2ts files. ffdshow don't opens the VC-1 codec based m2ts files. I can't use DGIndexNV, because my graphic card isn't Nvidia. So I decide to use the 32 bit softwares. When I am encoding HD movies from BluRay sources, now everything is fine. But sometimes we encode a Bluray sources to 480p avi files. And then, I am using a given Here (http://forum.doom9.org/showthread.php?t=144852) MT.dll & Avisynth.dll. On my previous machine, when I need a SD encoding, ı have switched to given here (http://forum.doom9.org/showthread.php?t=144852)MT.dll in avisynth/plugins folder and avisynth.dll in system32 folder and then I was able to encode 480p with multithreaded dll's. After finishing 480p encoding, I have switched to original MT.fll & Avisynth.dll's. Then I was able to do HD encodes.
Today, I have tried to do same, but avisynth stops work.
The produced error is:
Evaluate: System exception - Acces violation. When selected value for MT "".......,4". Same thing was happened when MT "".......,6" is selected.
Can I use the installed avisynthMT for both purpose - HD & SD encoding - on my 64 bit system which works with 32 bit softwares?
And how many cores I must select from MeGUI? 6? 8?
Of'coz I'll try it, but maybe any suggestion will make my job more easy?
Thanx in advance....
doc
asarian
24th July 2010, 00:35
Is there a SetMTmode() command to disable multithreading altogether? (as in: running as stable and single-threaded as non-MT AviSynth). Because you can't install the two AviSynth packages side-by-side.
Atak_Snajpera
24th July 2010, 00:41
If you don't specify SetMTMode() then you have single threaded mode. Don't worry about stability in MT version. I've been using it for long time and no problems so far. No need to go back. Avisynth 2.6 will also by based on this version.
asarian
24th July 2010, 02:13
If you don't specify SetMTMode() then you have single threaded mode. Don't worry about stability in MT version. I've been using it for long time and no problems so far. No need to go back. Avisynth 2.6 will also by based on this version.
Hehe, you read my mind: I was indeed worried about stability. :)
Well, thanks again, Atak. You've been most helpful of late!
fabje
9th October 2010, 00:07
Ok guys I have a weird problem.
A few month ago I posted here also that it was working fine with these results:
Before: Pass 1: 171fps | Pass 2: 165fps
After: Pass 1: 300fps | Pass 2: 223fps
And that was with this system:
i7 930 @ 3520Mhz
3GB DDR3 RAM
2x 250GB WD RAID0
Windows XP SP3.
Now I changed the OS to Windows 7 32Bit and this specs:
i7 930 @ 3740Mhz
3GB DDR3 RAM
2x 500GB WD RAID0
But now I'm getting these rules:
Pass1: 219fps | Pass2: 165fps
Anyone here knows whats going on?
This are the settings that I use:
SetMTMode(5,2)
MPEG2Source("D:\test.d2v")
SetMTMode(2)
LeakKernelDeint(order=1,threshold=8)
Crop(2,2,-2,-2)
BicubicResize(672,368,0,0.5)
Usedocne
9th October 2010, 03:28
@fabje
The speed difference could be caused by a number of different things. Like maybe you used different XviD settings than last time? Or maybe you changed a BIOS setting (HT off)?
BTW congrats on that OC. :devil:
fabje
9th October 2010, 06:04
@fabje
The speed difference could be caused by a number of different things. Like maybe you used different XviD settings than last time? Or maybe you changed a BIOS setting (HT off)?
BTW congrats on that OC. :devil:
The only thing that is changed in the bios is that the MP is set on 21 instead of 22 to get a higher BLCK. The rest is the same for what I know.
AlekseiV
9th October 2010, 16:11
You should really install Windows 7 64-bit. There are no downsides anymore (and Avisynth64 and x264_64 are both ~10-20% faster than their 32-bit versions).
Also try using SetMTMode(3) with MPEG2Source; it works for me (but crashes colormatrix)
Being more relevant: Have you tried going back to your original overclocking settings to see if video encoding goes back to that speed?
fabje
9th October 2010, 18:23
You should really install Windows 7 64-bit. There are no downsides anymore (and Avisynth64 and x264_64 are both ~10-20% faster than their 32-bit versions).
Also try using SetMTMode(3) with MPEG2Source; it works for me (but crashes colormatrix)
Being more relevant: Have you tried going back to your original overclocking settings to see if video encoding goes back to that speed?
I have test is with my original overclock settings and that wasn't the trick :(
And if i'm going to use 64bit how about the filters Leakkerndeint, Yadif and LancozResize?
And I have only 3GB Ram is 64bit still faster?
Usedocne
11th October 2010, 02:24
And if i'm going to use 64bit how about the filters Leakkerndeint, Yadif and LancozResize?
64-bit vers. of Leakkerndeint (http://code.google.com/p/avisynth64/wiki/PluginLinks) and Yadif (http://yo4kazu.110mb.com/). I think LancozResize is already built into avisynth64.
And I have only 3GB Ram is 64bit still faster?
Win7(x64) is not as resource hungry as ppl might think.
AlekseiV
11th October 2010, 16:40
And I have only 3GB Ram is 64bit still faster?Yes.
The only reason Windows 7 even has a 32-bit version is for netbooks and other low-end systems which do not have x64-capable processors.
cweb
12th October 2010, 14:15
You should really install Windows 7 64-bit. There are no downsides anymore (and Avisynth64 and x264_64 are both ~10-20% faster than their 32-bit versions).
Also try using SetMTMode(3) with MPEG2Source; it works for me (but crashes colormatrix)
Being more relevant: Have you tried going back to your original overclocking settings to see if video encoding goes back to that speed?
Do you know of any good detailed guides to installing win7 64-bit when you have win7 32-bit installed?
lych_necross
13th October 2010, 07:39
Do you know of any good detailed guides to installing win7 64-bit when you have win7 32-bit installed?
Check out these sites for more info:
http://www.winsupersite.com/win7/upgrade_02.asp
http://windows.microsoft.com/en-US/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions
cweb
13th October 2010, 08:34
Check out these sites for more info:
http://www.winsupersite.com/win7/upgrade_02.asp
http://windows.microsoft.com/en-US/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions
It seems that this is what is involved for win7 32 to 64 bit migration:
If you want to move from a 32-bit version of Windows to a 64-bit version of Windows 7 or vice versa, you'll need to back up your files and choose the Custom option during Windows 7 installation. Then, you'll need to restore your files and reinstall your programs
cweb
15th October 2010, 08:51
It seems that this is what is involved for win7 32 to 64 bit migration:
I went ahead and tried it. In the process I increased my windows partition size as I know that it was a teeny bit too small.
It worked essentially. I used Windows Easy Transfer and managed to transfer most of my stuff.
I reformatted the windows partition and did a clean 64 bit win7 install there.
I had an external backup of all my files too. I did lose some program settings including putty but nothing too important. You do have to reinstall software but it's doable for a technical user. It may not be straightforward for non-techies I should add.
Now to reinstall itunes (sans bonjour) - the 64 bit version now - and avisynth 64 bit and stuff..
bayex
1st November 2010, 18:23
X6 AMD Phenom processor usage does not exceed 30% when I use a filter with a kind of encoding.
I use Mt avisyth SetMTMode topic (2, 6) and after 5 minutes this time fails to x264 x264 error 6 kernel works but gave about 80% off.
What could be the reason.
My system is:
Main card: asus crosshair formula 4 iv
Processor: Phenom 1090 x6 t
http://img830.imageshack.us/img830/2126/adszxi.jpg
SetMTMode(2, 6)
import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
import("C:\Program Files\AviSynth 2.5\plugins\Soothe.avs")
AVCSource("C:\Users\bayex\Desktop\hade.dga")
Crop(0, 140, -0, -140)
Lanczos4Resize(1920, 800)
dull = last
sharp = dull.LimitedSharpen(ss_x=1,4, ss_y=1,4, Smode=3, strength=75, radius=0, Lmode=3, overshoot=1)
Soothe(sharp, dull, 65)
Blu-ray would encode
32-bit operating system for win7
athlonx2 amd 5000 + processor with the same scripts can use a comfortable lead in t does not exceed 20% of the other cores with Phenom ii2 x6 why active filters do not support multi-core processor amd lullaby why the problem is creating a new problem of how I can make it. It hurt too much aid they will be happy masters in this case squeezed
kemuri-_9
2nd November 2010, 00:27
it would help if you actually posted whatever error you're getting with x264 (is what I interpreted from that non english gibber), as letting us guess isn't going to help things too much.
either way, I suspect that you're hitting the 2GB memory limit for 32bit processes.
known possible fixes & workarounds
A) get a 64bit operating system and use 64bit processes on it.
B) split avisynth and x264 into separate processes (e.g. with avs2yuv)
C) set avisynth's MemoryMax to a low amount
D) Don't Multithread
Zep
3rd November 2010, 13:26
X6 AMD Phenom processor usage does not exceed 30% when I use a filter with a kind of encoding.
I use Mt avisyth SetMTMode topic (2, 6) and after 5 minutes this time fails to x264 x264 error 6 kernel works but gave about 80% off.
What could be the reason.
SetMTMode(2, 6)
import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
import("C:\Program Files\AviSynth 2.5\plugins\Soothe.avs")
AVCSource("C:\Users\bayex\Desktop\hade.dga")
Crop(0, 140, -0, -140)
Lanczos4Resize(1920, 800)
dull = last
sharp = dull.LimitedSharpen(ss_x=1,4, ss_y=1,4, Smode=3, strength=75, radius=0, Lmode=3, overshoot=1)
Soothe(sharp, dull, 65)
Blu-ray would encode
32-bit operating system for win7
i already told you what the reason is and how to fix in the other thread. I ran the same code and it works fine for me when you do what I said in the other thread. Did you even try what I suggested to see if it works for you like it does for me?
Zep
3rd November 2010, 13:33
it would help if you actually posted whatever error you're getting with x264 (is what I interpreted from that non english gibber), as letting us guess isn't going to help things too much.
either way, I suspect that you're hitting the 2GB memory limit for 32bit processes.
known possible fixes & workarounds
A) get a 64bit operating system and use 64bit processes on it.
B) split avisynth and x264 into separate processes (e.g. with avs2yuv)
C) set avisynth's MemoryMax to a low amount
D) Don't Multithread
I ran the avs on my XP 32 bit 2 gigs and it ran fine. my guess was the setMTmode 2,6 on AVCsource chokes and sure enough when i set it to 5,6 it ran fine. Not saying that is 100% why he is getting trouble but it does work for me ok.
kemuri-_9
3rd November 2010, 13:43
I ran the avs on my XP 32 bit 2 gigs and it ran fine. my guess was the setMTmode 2,6 on AVCsource chokes and sure enough when i set it to 5,6 it ran fine. Not saying that is 100% why he is getting trouble but it does work for me ok.
AVCSource is outdated, unsupported, and frequently broken.
he should use something that's not in this kind of shape...
but yes, the MTmode 2 is known to break source filters, it is widely recommended/required to use 5 instead.
SilaSurfer
9th November 2010, 17:49
Hi. I'm testing this version of avisynth on my Pentium Dual Core processor and this is my script.
SetMemoryMax(512)
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("E:\R_O_T_K\ColorMatrix\ColorMatrix.dll")
LoadPlugin("E:\R_O_T_K\Mask\mt_masktools-25.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RemoveGrainSSE2.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RepairSSE2.dll")
Import("E:\R_O_T_K\Lsfmod.avsi")
SetMTMode(2)
MPEG2Source("E:\R_O_T_K\VIDEO_TS\VTS_03_1.d2v", cpu=0)
Colormatrix()
crop(2,80,712,416)
LsfMod(defaults="slow", preblur="on", kernel=19,dest_x=720, dest_y=288)
and I'm getting ~11fps compared to 8fps with standard Avisynth 2.5.8. This is my first usage of Avisynth MT version so it kind of new to me. Please correct the script if I'm doing anything wrong. Thanks in advance!
Zep
10th November 2010, 18:16
What is your CPU usage? Try this...
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("E:\R_O_T_K\ColorMatrix\ColorMatrix.dll")
LoadPlugin("E:\R_O_T_K\Mask\mt_masktools-25.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RemoveGrainSSE2.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RepairSSE2.dll")
Import("E:\R_O_T_K\Lsfmod.avsi")
SetMTMode(5)
SetMemoryMax(512)
MPEG2Source("E:\R_O_T_K\VIDEO_TS\VTS_03_1.d2v", cpu=0)
ChangeFPS(last,last,true)
SetMTMode(2)
Colormatrix()
crop(2,80,712,416)
LsfMod(defaults="slow", preblur="on", kernel=19,dest_x=720, dest_y=288)
SilaSurfer
10th November 2010, 18:53
I'm getting 100% of cpu usage with the script that I posted so above. With this script I'm getting maximum results
SetMemoryMax(512)
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("E:\R_O_T_K\ColorMatrix\ColorMatrix.dll")
LoadPlugin("E:\R_O_T_K\Mask\mt_masktools-25.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RemoveGrainSSE2.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RepairSSE2.dll")
Import("E:\R_O_T_K\Lsfmod.avsi")
SetMTMode(2)
MPEG2Source("E:\R_O_T_K\VIDEO_TS\VTS_03_1.d2v")
Colormatrix()
crop(2,80,712,416)
LsfMod(defaults="slow", preblur="on", kernel=19,dest_x=720, dest_y=288)
gave 12fps!
With MT()call:
SetMemoryMax(512)
LoadPlugin("C:\Program Files\GordianKnot\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("E:\R_O_T_K\ColorMatrix\ColorMatrix.dll")
LoadPlugin("E:\R_O_T_K\Mask\mt_masktools-25.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RemoveGrainSSE2.dll")
LoadPlugin("E:\R_O_T_K\Removegrain\RepairSSE2.dll")
Import("E:\R_O_T_K\Lsfmod.avsi")
MPEG2Source("E:\R_O_T_K\VIDEO_TS\VTS_03_1.d2v")
Colormatrix()
crop(2,80,712,416)
mt("spline36resize(720,last.height)")
mt("spline36resize(last.width,288)",splitvertical=true)
MT("""LsfMod(defaults="slow", preblur="on", kernel=19)""",2)
16 fps. It seems that MT() call gives faster results. Could you help me enter command for MT() so I can use LSFMOD for resizing also so I can ditch Spline36Resize step. Thanks for your response!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.