View Single Post
Old 21st December 2021, 03:57   #32  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
OK, just tried it with any old clip, did not of course have proper detections, but still created ExBlend.EXB file in current directory [I must have fixed directory stuff on last update],
and no longer needs path, indeed you must just give "ExBFile" or similar, the function of ExBFile has changed a little since older version,
it used to be a filename [and had path probs on Vista+], but has changed to be a Project Name, several files are created using the Project name, and the ".XBD"
part is auto appended to the correct one.

Also, pass 1 can just use
Code:
Avisource("...")
ExBlend() # Default is now ExBlend(Mode=1)
And can use VDub2() Video Analasis Pass for fast scan, will stop on last frame to see metrics [It used to jump back to frame 0 until I asked to be changed].
Close file and ExBlend.XBD file and also ExBlend_Decimated.TXT will be created, [ClipClop command file with frame list of frames that will be UnBlended on pass 2,
can use for selective denoise of only Unblended frames of the decimated result].


Pass 2
Code:
Avisource("...")
ExBlend(Mode=2) # Default Where Mode=2, is now ExBlend(Mode=2, Decimate=True)
Latest version was big change and many defaults changed with mode. [needed to be changed because of massive possibilites added by decimation and other stuff].
From the QuickRef [default for both mode=1 and mode=2]
Code:
Mode 1: (ExBlend v1.03+ Scan & Store Data, default, Need to do this before using MODE==2) ------------------

  Arg         Type      Min      Max     Default      Comment

  clip        clip      clip     clip    NONE         YV12 & YUY2 PROGRESSIVE
  Pal         int       0        1       0            PAL -1 Not Allowed (Error)
  LockThresh  float     0.0      100.0   1.0          default rarely needs change.
  IThresh     float     0.0      100.0   3.0          default rarely needs change.
  Show        int       0        5       5            Metrics (0=OFF,5=FULL)
  Exbfile     string    -        -       "ExBlend"    Project: logs,'Exbfile'.XBD & Decimated (Mode 2) Frames Cmd file.
  Ver         bool      False    True    False        ALL ARGS IGNORED if true
  Revip       bool      False    True    False        Reverse Metrics Direction when show > 1
  Override    string    -        -       ""           Input Override Command file
  Lv          int       0        5       0            0=Off, 1=ERR, 2=WARN,3=INFO,4=VERBOSE,5=DEBUG (logfile)
  Dv          int       0        5       0            0=Off, 1=ERR, 2=WARN,3=INFO,4=VERBOSE,5=DEBUG (DebugView)
  Disp        int       0        3       1            Display mode, 0=BLENDED(original), 1=EXBLEND, 2= SRESTORE, 3=COMPONENT, (4=ADJACENT Invalid)
  DClip       clip      -        -       UNSET        Denoised Detection Clip, Same colorspace & dimensions as Clip.
  CompUB      int       0        2       2            Component Unblend Mode for DISP display mode
  Decimate    bool      -        -       -            IGNORED  (MODE 2 ONLY)
  Decompix    int       1        2       1            IGNORED  (MODE 2 decimated ONLY)
  DecClpIx    int       <0       255     1            Clip index used in eg Exblend_Decimated.Txt, <0 == NONE.
  Debug       bool      false    True    False        Switch On: ERRORS, WARNINGS and DEBUG logging (ie 1,2 and 5)


Mode 2: (Final Output mode, needs MODE 1 pass 1st.) -------------------------------------------------------------

  Arg         Type      Min      Max     Default      Comment

  clip        clip      clip     clip    NONE         YV12 & YUY2 PROGRESSIVE
  Pal         int       -        -       -            Ignored, Set from 'Exbfile'.XBD
  LockThresh  float     -        -       -            Ignored, Set from 'Exbfile'.XBD
  IThresh     float     -        -       -            Ignored, Set from 'Exbfile'.XBD
  Show        int       0        5       0            Metrics (NON-DECIMATED:0=OFF,5=FULL | DECIMATED:0=OFF,>0 ON) [DEFAULT different to modes 0 & 1]
  Exbfile     string    -        -       "ExBlend"    Project: (logging, Inputs Project Mode 1 XBD file)
  Ver         bool      False    True    False        ALL ARGS IGNORED if true
  Revip       bool      False    True    False        Not used when Decimate (Metrics are different).)
  Override    string    -        -       -            IGNORED, Set in Mode 1
  Lv          int       0        5       0            0=Off, 1=ERR, 2=WARN,3=INFO,4=VERBOSE,5=DEBUG (logfile)
  Dv          int       0        5       0            0=Off, 1=ERR, 2=WARN,3=INFO,4=VERBOSE,5=DEBUG (DebugView)
  Disp        int       0        4       1            If Decimate, 0_BLENDED, 1_EXBLEND, 3_COMPONENT & 4_ADJACENT valid (2_SRESTORE converted to EXBLEND)
  DClip       clip      -        -       UNSET        Usually as Mode 1 (or NONE), Same colorspace as Clip.
  CompUB      int       0        2       2            Component Unblend Mode for DISP display mode
  Decimate    bool      false    True   True    
  Decompix    int       1        2       1            Decimated Component Index. Valid if DECIMATE & disp=0_BLENDED/3_COMPONENT/3_ADJACENT else Ignored.
  DecClpIx    int       <0       255     1            IGNORED (MODE 1 ONLY)
  Debug       bool      false    True    False        Switch On: ERRORS, WARNINGS and DEBUG logging (ie 1,2 and 5)



To use ExBlend(), you need to do a scan of the clip first using eg:

  ExBlend(clip, Mode=1) # AssumeFPS(250.0)

  or

  ExBlend(clip, Mode=1,dclip=DCLIP) # AssumeFPS(250.0)

  Where DCLIP is a denoised detection clip if required.

  Scan through the file and it will create an ExBlend.XBD file for Mode 2 as in below example.

  ExblendedClip=ExBlend(clip, Mode=2,dclip=DCLIP)
EDIT: Also, its v2.60 colorspace cabable [docs need update].
and Default on mode=1 is PAL=0, not pal, so thats ok.
So really, I presume that you just did not do complete scan of the clip in mode = 1 [but need also check the Ratio % on last frame].
__________________
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; 21st December 2021 at 04:09.
StainlessS is offline   Reply With Quote