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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#101 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,876
|
Quote:
Code:
Greyscale.Levels(127,1,128,0,255,coring=false)...
__________________
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 ??? |
|
![]() |
![]() |
![]() |
#102 | Link | ||
Banana User
Join Date: Sep 2008
Posts: 917
|
Quote:
Quote:
Code:
Subtract(clip1,clip2) WriteFileIf (last, "log.log", "LumaDifference(clip1, clip2)>0", "current_frame", """ ", \" """) I run comparison on stacked output with 4 steps (like in screenshot in the previous page), so, Prefetch(4) vs no Prefetch: Detected discrepancies in 157 frames from 134237 frames, almost all of them in the top/right mask, in 18 frames those mask are ok but discrepancies are in the final step(bottom/left, but no visible differences). Here is some examples of the bugged masks (it should be B/W with white numbers, last two digits shouldn't be visible), stacked original clip & one mask: ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Now I need to run more tests to isolate the problem. |
||
![]() |
![]() |
![]() |
#103 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,285
|
What format was source video ? Did you try threads=1 for LSmash ? Or other source filters to rule out some issue upstream ?
To be clear, was the issue only with Prefetch(4) ? Is no prefetch ok ? Or other values ? I recall some discussion about source filter threads and seeking accuracy issues vs. host CPU threads , but I think that was for ffms2 |
![]() |
![]() |
![]() |
#104 | Link |
Banana User
Join Date: Sep 2008
Posts: 917
|
Like I suspected it's something with Overlay, tested and same on AvS+ 3.4, 3.5.1, 3.6.0, 3.6.1.
Here is minimized and ready to run test scripts (extract to C:\) or preview included test results https://anonfiles.com/F7E0hdo2p0 or https://we.tl/t-J95N1CsfUz (7 days) Isn't "threads=1" parameter for ffms2!? No-Prefetch is ok. I dunno working alternatives for LSMASH, and whatever source filter outputs it shouldn't bypass binarization of the frames. Last edited by VoodooFX; 11th November 2020 at 19:49. |
![]() |
![]() |
![]() |
#105 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,264
|
Quote:
|
|
![]() |
![]() |
![]() |
#106 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,876
|
Same here, 502 Bad gateway. nginx.
Maybe that nginx thing is the block on your location for download, (cant remember what its called). Can anybody launch successful download ? EDIT: The Bad Gateway page is showing as Sweden in FlagFox. [dont know if relevant]
__________________
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; 11th November 2020 at 19:13. |
![]() |
![]() |
![]() |
#107 | Link |
Banana User
Join Date: Sep 2008
Posts: 917
|
Still works on my side. Here is another link: https://we.tl/t-J95N1CsfUz
|
![]() |
![]() |
![]() |
#108 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,285
|
Quote:
I repeated test with x64 version - I think the problem is lsmash threads=auto vs. threads=1 for x64. I think it' s similar to the aforementioned ffms2 threads bug with prefetch EDIT - multiple consec runs can result in different results, even with source filter threads=1 . One run can show PSNR inf, but another something lower. Something else is going on... It even occurs when source is encoded to I-frame UTVideo, and using AVISource instead; multiple runs can show different results when prefetch is used. So not source filter related Last edited by poisondeathray; 11th November 2020 at 20:46. |
|
![]() |
![]() |
![]() |
#109 | Link | |
Banana User
Join Date: Sep 2008
Posts: 917
|
Quote:
Looking at those bugged masks I think it's something with buffer/memory, just a guess, I'm not into lower level programming. Last edited by VoodooFX; 11th November 2020 at 20:56. |
|
![]() |
![]() |
![]() |
#112 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,264
|
Quote:
Code:
# Load VirtualDub, Press F2, go to frame 2-3-4 and back, refresh, step between frames left and right # suddenly a garbage is seen DynamicMask = BlankClip(1000, 128, 128, pixel_type="RGB32") WhiteClip = BlankClip(DynamicMask,color=$FFFFFF) BlackClip = BlankClip(DynamicMask,color=$000000) BlackClip.Overlay(WhiteClip, Mask=BlackClip) Prefetch(4) ![]() |
|
![]() |
![]() |
![]() |
#114 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,264
|
Please check a (hopefully) fixed Avisynth build
|
![]() |
![]() |
![]() |
#115 | Link |
Banana User
Join Date: Sep 2008
Posts: 917
|
There is some bug with high resolutions like 1920x1080 and AvsInpaint, if a mask is close to the left/right side then AvsInpaint hangs at start (no error).
Here is the bug simulator: Code:
x=BlankClip(length=1000, width=1920, height=1080, color=$000000, pixel_type="YV12") mask = BlankClip(x, length=1).Subtitle("Sample", text_color=$FFFFFF, x=8).Levels(180,1,181,0,255, coring=false) # mask = BlankClip(x, length=1).Subtitle("Sample", text_color=$FFFFFF, x=519).Levels(180,1,181,0,255, coring=false) # Working position, moving the mask 1px to left("x=518") - hangs. # x.InpaintLogo(mask, PreBlurSize=0.9, PostBlurSize=0.9) # Droping the blur kernels to 0.9 - no hangs. x.InpaintLogo(mask) Bug should be fixed in AvsInpaint v1.3 Last edited by VoodooFX; 25th October 2021 at 20:16. |
![]() |
![]() |
![]() |
#116 | Link |
Banana User
Join Date: Sep 2008
Posts: 917
|
New version released (updated the first post):
Code:
# Version 1.11 : 2019/08/31. First public release. # Version 1.12 : 2019/09/06. Various tweaks. New parameters. "Inflate" and "Deep" changed. # Version 1.13 : 2019/12/08. Allow -ve LogoX,LogoY, and +ve LogoW,LogoH in Loc string (by StainlessS). # Version 1.14 : [non public] "Fr1"/"Fr2" are renamed to "FrB"/"FrW". "GrainPP" is off by default. # Version 1.15 : [non public] New mode for "InterpM", (-1) takes mask from new "iTune" parameter. # Version 1.16 : [non public] New "diPP" & "diPPm" parameters. # Version 1.17 : [non public] New "iTinflate" & "oTinflate" parameters. Interp/iTune mask to "mShow". # Version 1.18 : [non public] New "EdgePP", "EdgePos" & "EdgeWide" parameters. EdgeMask to "mShow". # Version 1.19 : [non public] New "IntSpd" parameter for "Interp" & the slow modes for "EdgePP". # Version 1.20 : [non public] "Turbo" presets moved from soft to hard. iTune & Edge masks to "Show". # Version 1.21 : [non public] Added support for the mask clips and a dynamic mask. # Added basic auto generation of a dynamic mask (aka "DynMask=2"). # New parameters: "DynMask", "DynInflate", "DynTune", "KillNoise", "maskPatch". # Version 1.22 : [non public] Optimized speed for a dynamic mask, MaskTools2 required. # Version 1.23 : [non public] Added auto generation of a dynamic mask with ClipBlend (aka "DynMask=3"). # New parameters: "Dyn3Seq", "ClpBlend", "DynPostTune", "Dyn3buffer". # Version 1.24 : 2020/11/28. Various tweaks. "Show" 3 & 4. Updated the manual with the new stuff. Check if it helps anything. Last edited by VoodooFX; 28th November 2020 at 18:19. |
![]() |
![]() |
![]() |
#117 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,582
|
thanks! but it's still in "Attachments Pending Approval", can you upload it else where?
__________________
See My Avisynth Stuff |
![]() |
![]() |
![]() |
#120 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,876
|
In your [@ VoodooFX] post #118 attachment [12s GIF sample], I earlier saw a white flash in bottom image part, it is now gone.
[maybe at end of repeated loop] EDIT: attachment update, ? EDIT: your shit, is "The Shit" (well good man) ![]()
__________________
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; 29th November 2020 at 02:56. |
![]() |
![]() |
![]() |
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|