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. |
14th August 2018, 19:05 | #21 | Link | |
Registered User
Join Date: Nov 2017
Posts: 35
|
Quote:
|
|
15th August 2018, 11:51 | #22 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Further to previous posts on blocked dlls (or blocked any type files),
If you need to strip the alternate stream data from any files, and do not have net access to download Streams.exe from SysInternals (Microsoft), then can just copy files to a FAT32 partition, (as FAT32 dont have alternate streams), and then just copy back and overwrite original files on your NTFS partition. EDIT: Link to Streams.Exe @ SysInternals in post #18. (XP+, despite web page saying Vista+). EDIT: Better streams Alternate Streams Viewer, can delete Zone Identifier Alternate data stream. https://www.nirsoft.net/utils/altern...a_streams.html
__________________
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; 15th November 2019 at 02:09. |
15th August 2018, 16:54 | #23 | Link |
Registered User
Join Date: Mar 2017
Location: Germany
Posts: 234
|
Thanks both of you!
Never ever had such kind of problems, but FAT32 sounds simple and doable without spending too much time to Microsoft. What about your experiments with spatial aligning, @StainlessS? And: What exactly is returned by RT_YInRangeLocate without debug=true? If I get the purpose right, shouldn't it return two values, one for x diff, and one for y diff? |
15th August 2018, 17:29 | #24 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Am still trying to get back to spatial align stuff, got a bucket load of stuff on back burner.
Dont have access to rt-stats docs right now, but think it sets local variables using Prefix arg, default "YIRL_" or something similar, so sets eg YIRL_X, YIRL_Y, etc. Actual return value is maybe bool, found, not found.
__________________
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 ??? |
15th August 2018, 17:35 | #25 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Are there any other demos/examples besides "Lena" in the 1st post ? Can someone please post some if you have them ?
It looks like it could be useful I haven't played with this plugin yet, but I'm wondering if another usage scenario might be filling in border edges from stabilization - has anyone had any success with that ? Or is there some way you could massage the results of the alignment to sharpen chroma problems (such as chroma misalignment, blurred chroma)? Perhaps take U, and V and align according to "Y" but take "colors" or "grey" from the original U,V planes respectively ? Last edited by poisondeathray; 15th August 2018 at 17:58. |
15th August 2018, 20:48 | #27 | Link | |
Registered User
Join Date: Nov 2017
Posts: 35
|
Quote:
Stabilization is not the main purpose of the plugin. But it is interesting use-case. I think it needs some enhancements and settings for that to average align params during the scene if necessary. |
|
15th August 2018, 21:28 | #28 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
introspected,
maybe you could knock-up some example stuff simply by using crop on some demo avi, user can substitue their own avi, and get similar results (maybe with some resize, so we are all playing in the same ballpark).
__________________
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 ??? |
15th August 2018, 21:34 | #29 | Link | |
Registered User
Join Date: Nov 2017
Posts: 35
|
Quote:
|
|
16th August 2018, 00:29 | #30 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I did actually have this producing some well good stuff some time ago, was quite amazed by results, but on cursory inspection of docs,
is really quite difficult to understand what the plug does or how to steer it. I still think is one helluva good plug, but hard to understand. EDIT: The docs on GitHub (or wherever it is) are way more readable than the txt file in zip, suggest look that up.
__________________
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; 16th August 2018 at 00:41. |
16th August 2018, 13:09 | #32 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
From RT_Stats (next version, but slightly simpler version in RT_Stats AVS Locate directory)
Code:
#RT_YInRAngeLocate() Tester # NOTE, Angle corners show detection. # req RT_Stats & mt_tools_2 OBJECT_W = 20 # Object to find, size in pixels OBJECT_H = 40 # Object to find, size in pixels AREA_X = 0 # Area of frame to search (0,0,0,0=full frame {As Crop}) AREA_Y = 0 AREA_W = 0 AREA_H = 0 LUMA_MIN = 235 # Luma minimum of object to find LUMA_MAX = 255 # Fake input clip, for testing a = BlankClip(length=481,width=480,height=480) b = BlankClip (width=OBJECT_W, height=OBJECT_H, color=$FFFFFF) a.Animate (0, a.FrameCount () - 1, "Overlay", b, 0, 0, b, 480, 480) ConvertToYV12() # Any colorspace ok so long as LUMA_MIN/MAX OK (RGB -> Luma-Y) MarkerColor = $FFFF00 # Detection marker color MARKER_TYPE = False # False = Corners only marker, True=Full Rect Marker Msk = Hit_Marker(OBJECT_W+8,OBJECT_H+8,MARKER_TYPE) Mrk = Msk.BlankClip(Color=MarkerColor) DEBUG=True NOTFOUND="NOT FOUND" # Last few frames should show not found, depends upon OBJECT_W/H (as partially disappears off frame). sep = ", " ket = "] " COORDINATES=RT_GetFullPathName("Y_Coordinates.txt") RT_FileDelete(COORDINATES) # Delete coordinates file ScriptClip (""" Bingo=RT_YInRangeLocate(debug=DEBUG,Baffle_W=OBJECT_W,Baffle_H=OBJECT_H,x=AREA_X,y=AREA_Y,w=AREA_W,h=AREA_H,Lo=LUMA_MIN,hi=LUMA_MAX) (Bingo) ? WriteFile (COORDINATES,"current_frame","KET", "YIRL_X", "sep", "YIRL_Y", "sep", "YIRL_W", "sep", "YIRL_H") \ : WriteFile (COORDINATES,"current_frame","KET", "NOTFOUND") (Bingo) ? Overlay(Mrk,x=YIRL_X-4,y=YIRL_Y-4,Mask=Msk,Mode="Blend",output="YV12") \ : NOP Return Last """) Return Last Function Hit_Marker(int W, Int H, Bool "Hit", Int "BW", Int "BH",Int "PW",Int "PH",Bool "YV12",Bool "Mod2") { Hit=Default(hit,False) BW=Max(Default(BW,W/8),1) BH=Max(Default(BH,H/8),1) BW2=(W>4)?BW*2:BW BH2=(H>4)?BH*2:BH PW=Max(Default(PW,BW/8),1) PH=Max(Default(PH,BH/8),1) is26 = VersionNumber>=2.6 YV12=(!is26) ? True : Default(YV12,False) Mod2=Default(Mod2,True) Mod = (YV12||Mod2) ? 2 : 1 CanvasW=(W+Mod-1)/Mod*Mod CanvasH=(H+Mod-1)/Mod*Mod Rpn= RT_String("x %d < x %d >= | y %d < | y %d >= | x %d < x %d >= | & y %d < y %d >= | & ",BW,W-BW,BH,H-BH,BW2,W-BW2,BH2,H-BH2) Rpn= (Hit) ? Rpn + RT_String("x %d < x %d >= | y %d < | y %d >= | | ",PW,W-PW,PH,H-PH) : Rpn Rpn= Rpn + RT_String("x %d < y %d < & & 255 0 ?",W,H) Blankclip(width=CanvasW,height=CanvasH,Length=1,pixel_type=YV12?"YV12":"Y8").Killaudio return mt_lutspa(relative = false,yExpr=Rpn, chroma = "-128") } photoupload EDIT: There is also a demo of RGB version in same directory.
__________________
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; 16th August 2018 at 13:13. |
9th September 2018, 10:30 | #34 | Link |
Registered User
Join Date: Nov 2017
Posts: 35
|
0.2.5 released: https://github.com/introspected/Auto...ases/tag/0.2.5
- Enhanced filter arguments validation - HDR support: OverlayEngine, OverlayRender - BicubicResize by default instead of BilinearResize - All filters described in readme |
1st November 2018, 19:38 | #35 | Link |
Registered User
Join Date: May 2016
Posts: 235
|
I have tried to get this to work, I use latest Avisynth+ and have the latest .Net installed. I get error:
Code:
Unable to load plugin, make sure it is a valid .Net assembly. EDIT, Im using: Code:
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64\AvsFilterNet.dll") LoadNetPlugin("C:\Program Files (x86)\AviSynth+\plugins64\AutoOverlay_netautoload.dll") Code:
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins64\AvsFilterNet.dll") LoadNetPlugin("C:\Program Files (x86)\AviSynth+\plugins64\AutoOverlayNative.dll")
__________________
Automatic Colorization |
3rd November 2018, 19:45 | #37 | Link |
Registered User
Join Date: May 2016
Posts: 235
|
How do I unlock the file? Also I can not see the image that you posted.
__________________
Automatic Colorization |
3rd November 2018, 21:07 | #39 | Link |
Registered User
Join Date: May 2016
Posts: 235
|
Thank you so much. Now It works perfect! I love this plugin, It will save so much time for me.
__________________
Automatic Colorization |
12th January 2019, 18:45 | #40 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I'm back to trying to figure this plugin out again.
Just thought that this pdf might be handy for offline viewing:- http://www.mediafire.com/file/rnke2n...lugin.pdf/file Its just a PDF printout of Github page (prettier than the md text file):- https://github.com/introspected/AutoOverlay using firefox addon, Save PDF (save current page as PDF), pdf is about 1.5MB, you could just print your own out if you got Save PDF. [click on the Portrait image + landscape image -> script output line to show images before printout] This just showing Editor thing Code:
# Current dir ".\x86\" contains all 3 x86 dll's LoadPlugin(".\x86\AvsFilterNet.dll") LoadNetPlugin(".\x86\AutoOverlay_netautoload.dll") # Presumably also loads ".\x86\AutoOverlayNative.dll" #return version portrait=ImageSource(".\Lenna.portrait.jpg").ConvertToYV24() # Images saved from GitHub, "Save Image As". landscape=ImageSource(".\Lenna.landscape.jpg").ConvertToYV24() #return Portrait #return Landscape EDITOR=True configs=OverlayConfig() # just using defaults Engine=OverlayEngine(portrait, landscape, mode="default",configs=configs,Editor=EDITOR) Engine.OverlayRender(portrait, landscape, colorAdjust=2, mode=2, gradient=20, width=768, height=768, upsize="Spline64Resize", downsize="Spline64Resize") return last Code:
# Current dir ".\x86\" contains all 3 x86 dll's LoadPlugin(".\x86\AvsFilterNet.dll") LoadNetPlugin(".\x86\AutoOverlay_netautoload.dll") # Presumably also loads ".\x86\AutoOverlayNative.dll" A=Colorbars(Pixel_Type="YV24").Addborders(8,8,8,8,$FF0000).KillAudio B=A A=A.crop(0,20,0,0) # crop some off top B=B.crop(0,0,-20,-0) # crop some off right #Return A #Return B EDITOR=False configs=OverlayConfig() # just using defaults Engine=OverlayEngine(A, B, mode="default",configs=configs,Editor=EDITOR) #Engine.OverlayRender(A, B, colorAdjust=2, mode=2, gradient=20, width=768, height=768, upsize="Spline64Resize", downsize="Spline64Resize") Engine.OverlayRender(A, B, mode=3, width=768, height=768, upsize="Spline64Resize", downsize="Spline64Resize") # Also try with mode=4 return last [top rhs corner missing, but then missing from both input clips too] EDIT: with Engine.OverlayRender(mode=4) # see top RHS corner
__________________
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; 12th January 2019 at 19:30. |
|
|