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. |
16th June 2008, 22:45 | #1 | Link |
Registered User
Join Date: Nov 2007
Posts: 48
|
Deblock_QED under SetMTMode causing YV12 error
Really wasn't sure if this should be under Deblock or MT so thought that it would be better under general usage unless otherwise told as the error concerns YV12
Iv'e been trying to run as above states Deblock_QED under MT but i'm a real newbie when it comes to avisynth and i get a Invalid Arguments to function YV12 error in the HC encoder GUI at the encoder start up,i am using a tools GUI called The FilmMachine and editing it's avisynth auto script with this script. SetMTMode(5) # 16:9 encoding loadplugin("C:\Program Files\AviSynth 2.5\plugins\mt.dll") loadplugin("C:\Program Files\AviSynth 2.5\plugins\DeBlock\deblock.dll") DirectShowSource("C:\Test Videos\Test.avi", fps=23.976, audio=false, convertfps=true) SetMTMode(2) ConvertToYV12() Deblock_QED(25, uv=false) FadeIn(50) Lanczos4Resize(720,436,0.0,0.6) AddBorders(0,70,0,70) AssumeFPS(25,1,False) I have been able to run Deblock under SetMTMode(2) but it this script causing the problem Does any one know where i'm going wrong and is willing to give me a push in the right direction |
16th June 2008, 23:35 | #2 | Link |
near the waterfront
Join Date: Feb 2008
Posts: 38
|
With the following corrections I don`t have any problems to run Deblock_QED:
CODE: SetMTMode(5) # 16:9 encoding LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dll\mt.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dll\deblock.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dll\DCTFilter.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dll\MaskTools_158.dll") #version 1.58 Import("C:\Program Files\Avisynth 2.5\plugins\functions\DeBlock_qed.avs") DirectShowSource("e:\Test\testAVI.avi", fps=23.976, audio=false, convertfps=true) SetMTMode(2) ConvertToYV12() Deblock_QED(25, uv=3) #1-3 only, NOT true/false FadeIn(50) Lanczos4Resize(720,436,0.0,0.6) AddBorders(0,70,0,70) AssumeFPS(25,1,False) Download and install the missing dlls and the function and put them into your plugin folder (take care for the appropriate path) and it should work after changing the parameter input for Deblock_QED. For the parameters of Deblock_QED open the function with your editor and read the introduction. Regarding the position of SetMTMode, try the code above. If you are facing problems during the encoding process, try changing the position of SetMTMode (usually I use it that way) like that: LoadPlugin("....dll") SetMTMode(2) Import("... DEblock_QED.avs") SetMTMode(5) AviSource/DirectShowSource ConverttoYV12 ...Trim etc SetMTMode(2) Deblock_QED() SetMTMode(5) Resize,AddBorders etc Last edited by sidewinder711; 17th June 2008 at 10:44. |
17th June 2008, 09:55 | #3 | Link | ||
Registered User
Join Date: Nov 2007
Posts: 48
|
thanks for the help sidewinder much appreciated
will give it a try tonight. I had already the plugins DCTFilter and MaskTools but with all the trying different editing of the scripts must have deleted them somewhere along the way You mentioned Quote:
Quote:
|
||
17th June 2008, 10:57 | #4 | Link |
near the waterfront
Join Date: Feb 2008
Posts: 38
|
You have to play around with the inputs to see which ones are working the best for you (esp. look at quant1 and quant2 ... range till ~40).
If you wanna go deeper into Deblock_qed, look here or try it with "search". Alternatives: Deblock_QED() Deblock_QED(quant1=20,quant2=40) Deblock_QED(quant1=18,quant2=24,aOff1=2,bOff1=2,aOff2=4,bOff2=4) Good luck! |
|
|