I really need to Know How to use QTGMC Deinterlacing Script On Megui
Error Message
Downloaded Plug Ins From
http://avisynth.nl/index.php/QTGMC
MeguI Version
How Should I load To make QTGMC Work With Megui
UPDATED !! For Better verfication
Guys I was out Sorry for Delay Reply Here Is My Case
So What Should I Do Now
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 22 of 22
Thread
-
Last edited by arcte; 10th Oct 2014 at 12:44. Reason: updated
-
An "access violation" does not mean that you did anything wrong using it. You are probably using it more or less correctly. But there are reasons why a part of it fails.
In this case, it only tells us that the RemoveGrainSSE2 plugin tried to read from a part of your RAM which does not belong to an AviSynth clip. So probably something miscalculated where to read the content of a video frame, or how much of it.
There are some plugins which have some stricter conditions which attributes a video clip must have that they don't fail. Often they expect you to use a certain color space mode (YV12 is common), or width and height being multiples of at least 4.
Knowing your whole script may be necessary to get a clue which reason may be probable in your case. -
Many filters require image dimensions in multiples of 8 ("mod-8"). RemoveGrain (which is used internally by QTGMC and many other plugins) is definitely one of those filters.
Encoding standards for digital video frame sizes in DVD/BD/AVCHD are, in case no one noticed, mod-8.
I'll echo LigH.de -- we need to see your entire script to say for sure.- My sister Ann's brother -
-
-
Well, sure, a frame can be mod2 and mod8 at the same time. Talking about processing blocks. Docs for RemoveGrain, FFT3D, mvtools, and whatnot talk about working 8x8 and 16x16 blocks. Not certain that's where the access violation booboo message come from. I get it when I just need to shut down VirtualDub and start over. Happens with 16-bit routines in the dither plugin, too.
- My sister Ann's brother -
I generally get that message when I forget to make the second two numbers to a cropping function negative.
Crop(6,4,4,4) = BAD
Crop(6,4,-4,-4) = GOOD
NNEDI3_Resize16(1024, 576, 3, 2, 2, 2) = BAD
NNEDI3_Resize16(1024, 576, 3, 2, -2, -2) = GOOD
Just in case someone else is as dumb as I am.
Other than that, I never managed to get Deen to work after using any of the mt functions on it in the KillTextYellow script. I guess I'll have to try that again.
-Fixed-Last edited by ndjamena; 10th Oct 2014 at 12:19. Reason: (Illegal croppings for YV12)
-
If you're working in YUV you can't crop using odd numbers. And there's no way to get a mod2, mod4, or mod8 frame when cropping with odd numbers.
Avisynth's cropping rules are pretty straightforward. Scroll to the table at the bottom of this web page: http://avisynth.nl/index.php/Crop .- My sister Ann's brother -
Was that aimed at me? Sorry, I don't actually use the crop function, generally only crop inside a resizer and always crop to keep the aspect ratio (which for PAL is 5:4). While cropping inside a resizer modulus is irrelevant so I can crop however I like, but you're right, I shouldn't have included those cropping numbers inside the crop function, it's just that they're the numbers that are in my head so they're the numbers I used. (the 704 numbers are far too difficult to remember, I have a spreadsheet for them).
-
Oh. A lot of people crop off borders and resize to fill a frame. That's a quality hit, especially at odd enlargement sizes. You get far more rounding errors if you resize by a magnification of 0.02 or 0.2 than you will at something like 2x. On a TV, several pixels of those new edges are hidden by overscan anyway. But sometimes it's something you gotta do.
- My sister Ann's brother -
I encountered that someone else using this filter, using qtgmc had that problem under win8 as well, where under win7 it was ok
-
-
-
not sure if this is going to help:
Code:Import("C:\........\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\QTGMC-3.32.avsi") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\mvtools2.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\RemoveGrainSSE2.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\RepairSSE2.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\mt_masktools-25.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\nnedi3.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\dfttest.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\EEDI2.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\FFT3DFilter.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\nnedi.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\nnedi2.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\SSE2Tools.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\VerticalCleanerSSE2.dll") LoadPlugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\AddGrainC.dll") Load_Stdcall_plugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\yadif.dll") Avisource("C:\input.avi") assumebff() #because source is DV avi with lower field first QTGMC(Preset="slower") LanczosResize(720,540)
-
The QTGMC very fast preset uses Yadif for de-interlacing, which I think is the reason for the error in post#12. You'd need to also load yadif.dll.
I think if you're using the portable Avisynth plus which comes with MeGUI you can load it like a standard plugin, but to be safe, load it before QTGMC in the script like this:
Load_Stdcall_plugin("C:\Program Files\MeGUI\tools\avisynth_plugin\yadif.dll")
Do you have Avisynth installed? If you do, you can put all the required plugins in the installed Avisynth plugins folder (not MeGUI's Avisynth plugins folder) and they'll autoload when Avisynth runs. Including QTGMC. If it's got an AVSI enxtension and it's in the avisynth plugins folder, it'll autoload too. The one exception may be Yadif. I'm not sure if you can put it in the Avisynth plugins folder for it to auto-load. You might need to load it manually as above if you're using the QTGMC very fast preset.
It doesn't matter if MeGUI is using the "installed" Avisynth or it's portable version, plugins in the "installed" Avisynth plugins folder will still autoload when Avisynth runs.
How are you loading the rest of the dlls at the moment? They're appear not to be loaded in your script.
If all the required plugins are in the Avisynth plugins folder, including QTGMC.avsi, you should be able to use QTGMC by adding nothing more than the following to a script:
QTGMC()
Aside from maybe Yadif for the very fast preset, you shouldn't need to manually load plugins in a script.
There's enough versions of removegrain to make it all confusing, although in theory the version in the QTGMC plugins zip file should work. You could try a different one though. Maybe download RemoveGrain v1.0b and try RemoveGrainS.dll instead of RemoveGrainSSE2.dll http://avisynth.nl/index.php/RemoveGrain -
I think the way yadif is being loaded might not be something MeGUI can live with. Besides, "Load_Stdcall_plugin" is an obsolete, deprecated loading function. Instead of this:
Code:Load_Stdcall_plugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\yadif.dll")"
Code:LoadCplugin("C:\.......\QTGMC 32-bit Plugins\Avisynth 32-bit Plugins\yadif.dll")"
- My sister Ann's brother -
At the START of your script, not just before QTGMC. At least put it before mpeg2source. I think mpeg2soure requires mode 5 to work properly.
Code:SetMtMode(5,n) # n is the number threads you want to use, try the number of cores you have Imports() dgdecode_mpeg2source() SetMtMode(2) OtherFilters()
Last edited by jagabo; 11th Oct 2014 at 07:06.