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. |
12th July 2019, 00:27 | #4801 | Link |
Registered User
Join Date: Feb 2014
Posts: 355
|
Back for more. After receiving enough help here to upgrade from 32 bit AviSynth+ to 64 bit--thanks again for all the help --for my usual Blu-ray sources, I'm now trying to learn how to use 64 bit AviSynth+ for my DVD sources. I've found all the required 64 bit .dll's for my upscale scripts except ColorMatrix (to convert from Rec.601 to Rec.709). After much searching and reading, it seems that I can simply replace the 32 bit line:
Code:
ColorMatrix(Mode="Rec.601->Rec.709") Code:
ConvertTo(Proper Symbols Here) Code:
DGSource Here ### Deinterlace ### TFM(Mode=7,UBSCO=False) ### Color Conversion ### ColorMatrix(Mode="Rec.601->Rec.709") ### Adjust Color ### MergeChroma(aWarpSharp2(Depth=16)) ### Crop ### Crop(8,1,-8,0) ### Gibbs Noise Block ### Edge=MT_Edge("prewitt",ThY1=20,ThY2=40).RemoveGrain(17) Mask=MT_Logic(Edge.MT_Expand().MT_Expand().MT_Expand().MT_Expand(),Edge.MT_Inflate().MT_Inpand(),"xor").Blur(1.0) MT_Merge(Minblur(),Mask,Luma=True) ### Overall Temporal Denoise ### SMDegrain(TR=3,ThSAD=200,ContraSharp=True,RefineMotion=True,Plane=0,PreFilter=2,Chroma=False,n16=True,n16_Out=True) ### Resize ### EDI_RPow2(CShift="Spline64",FWidth=960,FHeight=720) aWarpSharp4xx(Depth=5) ### Darken-Thin Lines ### FastLineDarkenMod4(Strength=24,Prot=6) aWarpSharp4xx(Blur=4,Type=1,Depth=8,Chroma=2) ### Deband ### F3KDB(Y=100,Cb=100,Cr=100,GrainY=0,GrainC=0) Edit: Happy Saturday! After banging my (obviously thick) head against the wall for a while longer I realized that MeGUI has a copy of ColorMatrix.dll in its AviSynth_Plugins folder, so I borrowed a copy from the 64 bit version and all is well. I'd still be curious if "ConvertTo(Something)" would do the same job... Last edited by LouieChuckyMerry; 13th July 2019 at 20:54. Reason: Answered |
14th July 2019, 20:01 | #4802 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
bug in expr? in float(32)
mt_lut( "x range_half - 0.1 * range_half +", scale_inputs="floatf", U=3,V=3 ) not same as expr( "x range_half - 0.1 * range_half +" ,scale_inputs="floatf") without scale_inputs="floatf" they are same
__________________
See My Avisynth Stuff Last edited by real.finder; 14th July 2019 at 20:12. |
16th July 2019, 15:19 | #4804 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
__________________
See My Avisynth Stuff |
21st July 2019, 09:12 | #4807 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
thank you
__________________
See My Avisynth Stuff |
21st July 2019, 21:38 | #4808 | Link | ||
Registered User
Join Date: Mar 2011
Posts: 40
|
Quote:
Quote:
"00425.MTS-pass2.avs" vid="00425.MTS" o=DirectShowSource(vid) o+o.Trim(0,29) ConvertToRGB32 LoadVirtualDubPlugin ("c:\Program Files\Vdub\vdub64\plugins64\Deshaker_64.vdf", "deshaker",0) deshaker ("19|2|30|4|1|0|1|0|640|480|1|2|1000|1000|2000|2000|4|0|6|2|8|30|300|3|f:\\00425.MTS.1.1000.1000.2000.2000.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|70|70|10|30|1|1|30|30|0|0|0|0|1|0|1|10|1000|1|88|1|1|20|30000|100|20|1") 00425.MTS-loader.avs #DirectShowSource("00425.MTS-pass2.avs").Trim(30,0) Import("00425.MTS-pass2.avs") Trim(30,0) #video is shaked with this |
||
21st July 2019, 21:51 | #4809 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Code:
# "00425.MTS-pass2.avs" vid="00425.MTS" o=DirectShowSource(vid) # o+o.Trim(0,29) # Join o.trim(0,29) to END OF o o.Trim(0,29) # presume this is required #o.Trim(29,0) # EDIT: Or, is it this ConvertToRGB32 LoadVirtualDubPlugin ("c:\Program Files\Vdub\vdub64\plugins64\Deshaker_64.vdf", "deshaker",0) deshaker ("19|2|30|4|1|0|1|0|640|480|1|2|1000|1000|2000|2000|4|0|6|2|8|30|300|3|f:\\00425.MTS.1.1000.1000.2000.2000.log" \ + "|0|0|0|0|0|0|0|0|0|0|0|0|0|1|70|70|10|30|1|1|30|30|0|0|0|0|1|0|1|10|1000|1|88|1|1|20|30000|100|20|1")
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 22nd July 2019 at 12:29. |
26th July 2019, 17:03 | #4810 | Link |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Is there an avisynth+ version of DitherTools by any chance (I searched but came up empty)? If not, is there a way to get dithertool's rgb48y output into RGBP16 which AVIsynth+ handles? I think rgb48y and RGBP16 are basically the same thing just stored differently.
|
26th July 2019, 17:32 | #4811 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
some DitherTools functions for avs+? yes, like the one I post here maybe there are others by another persons
__________________
See My Avisynth Stuff Last edited by real.finder; 26th July 2019 at 17:41. |
|
26th July 2019, 22:11 | #4812 | Link | ||
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
Quote:
IMO, I think it'd be easier to see if other Plus-compatible plugins (or its native HBD and dither functionality) can do what you want without bringing DitherTools into it at all. Last edited by qyot27; 26th July 2019 at 22:17. |
||
19th August 2019, 00:19 | #4813 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
I would like to request scaling for Info() because with 4K it's barely readable.
A player such as mpv shows always the same OSD font size regardless of the video resolution.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 19th August 2019 at 00:22. |
19th August 2019, 01:03 | #4814 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
|
|
19th August 2019, 22:01 | #4816 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
What AVS+ vs AVS 2.6 does differently at initial script load? I noticed that one of my script loads ~hundred times slower in AVS+.
Most slowness I localized to this pseudo code below, AVS loads it in milliseconds or a second when AVS+ takes ~few minutes. (I don't want to publish script atm). Code:
Trim1 = clip.Trim(22,-30)+clip.Trim(22222,-30) a = Trim1.Loop(200) a.PseudoParse() Trim(0,-1) setA = PseudoSetting(last) aClip = clip.PseudoJob(setA) Trim2 = aClip.Trim(22,-30)+aClip.Trim(22222,-30) b = Trim2.Loop(200) b.PseudoParse() Trim(0,-1) setB = PseudoSetting(last) bClip = aClip.PseudoJob(setB) Trim3 = bClip.Trim(22,-30)+bClip.Trim(22222,-30) c = Trim3.Loop(200) c.PseudoParse() Trim(0,-1) setC = PseudoSetting(last) cClip = bClip.PseudoJob(setC) return cClip Last edited by VoodooFX; 27th August 2019 at 17:46. |
19th August 2019, 23:19 | #4818 | Link |
Banana User
Join Date: Sep 2008
Posts: 989
|
It goes slower in some geometric progression with every xClip block, AVS 2.6 loads it in a second, when AVS+ runs script faster than AVS (I think). If it helps: PseudoParse() is AnalyzeLogo(), PseudoSetting() is ImageWriter(), PseudoJob() is DeblendLogo() from AVSInpaint.
Actual script will be more confusing without manual(yet), and I want to solve few other issues before publishing it. PS: Replacing to: aClip = Clip, bClip = Clip - just makes script 3 times faster to load. Remove all those "inception" blocks and AVS+ still is significantly slower at loading. Last edited by VoodooFX; 20th August 2019 at 00:28. |
|
|