Graigddu
30th August 2008, 22:51
I have been trying to run an avisynth script with MT and find if i use SetModeMT the script encodes with HCEnc in The FilmMachine fine although quite slower than with MT but if i use MT in the script i get this error in virtualdub and even viewing through an other external player in AvsP will cause an error or player crash
An out-of-bounds memory access (access violation) occurred in module 'ntdll'...
...reading address 0000043D.
the error can appear with any external player i use with AvsP as i also received an error concerning ntdll.dll with media player 6.4 sometimes i get an error sometimes it just crashes, also when encoding with HCenc
The only way i can use MT is by only having it in the script
1st Script that crashes
SetMTmode(mode=5,threads=2)
SetMemoryMax(256)
# 16:9 encoding
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT Filter\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools-v1.5.8\MaskTools.dll") #version 1.58
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Masktools 2.0a21\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Warpsharp\WarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DNR2\Dnr2_for_25.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth\FluxSmooth.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\funkydeblock.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\LimitedSharpenFaster.avs")
DirectShowSource("C:\Video\Editing\Test Copy.avi", fps=23.976, audio=false, convertfps=true)
SetMTmode(mode=2,threads=2)
ConvertToYV12()
FadeIn(50)
Lanczos4Resize(720,436,0.0,0.6)
AddBorders(0,70,0,70)
AssumeFPS(25,1,False)
SetMTmode(mode=5,threads=2)
MT("""
funkydeblock(th=5)
DNR2(8,4,6,3,6,3,"dnr2")
FluxSmoothST(7,7)
LimitedSharpenFaster(strength=100)
""", 2)
MT working Script
SetMemoryMax(256)
# 16:9 encoding
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT Filter\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools-v1.5.8\MaskTools.dll") #version 1.58
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Masktools 2.0a21\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Warpsharp\WarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DNR2\Dnr2_for_25.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth\FluxSmooth.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\funkydeblock.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\LimitedSharpenFaster.avs")
DirectShowSource("C:\Video\Editing\Test Copy.avi", fps=23.976, audio=false, convertfps=true)
ConvertToYV12()
ColorMatrix()
FadeIn(50)
Lanczos4Resize(720,436,0.0,0.6)
AddBorders(0,70,0,70)
AssumeFPS(25,1,False)
MT("""
funkydeblock(th=5)
DNR2(8,4,6,3,6,3,"dnr2")
FluxSmoothST(7,7)
LimitedSharpenFaster(strength=100)
""", 2)
If anyone can suggest where i'm going wrong or how i could speed up using the filters i would be eternally grateful as i have been playing with this deblocking script for quite a while.
I have searched for possible fixes for various ntdll.dll crashes with google but none iv'e tried worked.:(
An out-of-bounds memory access (access violation) occurred in module 'ntdll'...
...reading address 0000043D.
the error can appear with any external player i use with AvsP as i also received an error concerning ntdll.dll with media player 6.4 sometimes i get an error sometimes it just crashes, also when encoding with HCenc
The only way i can use MT is by only having it in the script
1st Script that crashes
SetMTmode(mode=5,threads=2)
SetMemoryMax(256)
# 16:9 encoding
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT Filter\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools-v1.5.8\MaskTools.dll") #version 1.58
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Masktools 2.0a21\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Warpsharp\WarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DNR2\Dnr2_for_25.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth\FluxSmooth.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\funkydeblock.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\LimitedSharpenFaster.avs")
DirectShowSource("C:\Video\Editing\Test Copy.avi", fps=23.976, audio=false, convertfps=true)
SetMTmode(mode=2,threads=2)
ConvertToYV12()
FadeIn(50)
Lanczos4Resize(720,436,0.0,0.6)
AddBorders(0,70,0,70)
AssumeFPS(25,1,False)
SetMTmode(mode=5,threads=2)
MT("""
funkydeblock(th=5)
DNR2(8,4,6,3,6,3,"dnr2")
FluxSmoothST(7,7)
LimitedSharpenFaster(strength=100)
""", 2)
MT working Script
SetMemoryMax(256)
# 16:9 encoding
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MT Filter\MT.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MaskTools-v1.5.8\MaskTools.dll") #version 1.58
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Masktools 2.0a21\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Warpsharp\WarpSharp.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ColorMatrix\ColorMatrix.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DNR2\Dnr2_for_25.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth\FluxSmooth.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\funkydeblock.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Functions\LimitedSharpenFaster.avs")
DirectShowSource("C:\Video\Editing\Test Copy.avi", fps=23.976, audio=false, convertfps=true)
ConvertToYV12()
ColorMatrix()
FadeIn(50)
Lanczos4Resize(720,436,0.0,0.6)
AddBorders(0,70,0,70)
AssumeFPS(25,1,False)
MT("""
funkydeblock(th=5)
DNR2(8,4,6,3,6,3,"dnr2")
FluxSmoothST(7,7)
LimitedSharpenFaster(strength=100)
""", 2)
If anyone can suggest where i'm going wrong or how i could speed up using the filters i would be eternally grateful as i have been playing with this deblocking script for quite a while.
I have searched for possible fixes for various ntdll.dll crashes with google but none iv'e tried worked.:(