Dyrector Docs

Project

dyrector diff

Score a render or a project against the original video frame by frame: SSIM, worst moments, cuts, segments

Usage

Command usage
dyrector diff [OPTIONS] <REFERENCE> [YOURS]

Arguments

ArgumentDescription
REFERENCEThe original video (Required)
YOURSA rendered video, or a project folder (captured at the original's frame times, no render) (required)

Options

OptionDescription
--at=<at>Compare only these seconds, e.g. 0.5,2.4
--range=<range>Compare every frame of start,end seconds
--offset=<offset>Compare the original at t with yours at t + offset seconds (may be negative)
--segments=<segments>A file of ## S01 · a–b s segments: a verdict per segment (Pixels: regenerated compares motion and look)
--ledger=<ledger>The project's media ledger, to find whole-frame cuts of the original (default: .media/manifest.jsonl beside the project or REVERSE.md)
--project=<project>The project folder, to find the ledger's generated clips and check them for the original's text (default: the folder holding .media)
--min-mean=<min_mean>Mean SSIM to pass (default 0.92)
--min-p05=<min_p05>5th-percentile SSIM to pass (default 0.85)
--min-cell=<min_cell>5th percentile of each frame's worst 4x4 cell to pass (default 0.75)
--worst=<worst>Worst moments to show (default 4)
--sbsAlso write an original | yours side-by-side video (Default: false)
--out=<out>Folder for the sheet and log (default .dyrector/diff/<yours>)
--timeout=<timeout>Render-ready timeout in ms for a project folder (default 5000)
--drawn=<drawn>A drawn element's box x,y,w,h in the original's pixels, optionally its seconds a-b (repeatable): scored by itself whatever is behind it, with its offset and ink (yours over the original's: under 1 is lighter, thinner or smaller)
--hide=<hide>A CSS selector for one layer of a project (".cap"): captured with and without it, each moment scores what the layer adds (benefit, 1 matches the original, under 0 is worse than without it) and where to move or resize it
--jsonPrint one JSON result (Default: false)
Verbatim output of dyrector diff --help
Score a render or a project against the original video frame by frame: SSIM, worst moments, cuts, segments (dyrector diff v0.9.87)

USAGE dyrector diff [OPTIONS] <REFERENCE> [YOURS]

ARGUMENTS

  REFERENCE    The original video (Required)                                                                       
      YOURS    A rendered video, or a project folder (captured at the original's frame times, no render) (required)

OPTIONS

              --at=<at>    Compare only these seconds, e.g. 0.5,2.4                                                                                                                                                                                            
        --range=<range>    Compare every frame of start,end seconds                                                                                                                                                                                            
      --offset=<offset>    Compare the original at t with yours at t + offset seconds (may be negative)                                                                                                                                                        
  --segments=<segments>    A file of `## S01 · a–b s` segments: a verdict per segment (Pixels: regenerated compares motion and look)                                                                                                                           
      --ledger=<ledger>    The project's media ledger, to find whole-frame cuts of the original (default: .media/manifest.jsonl beside the project or REVERSE.md)                                                                                              
    --project=<project>    The project folder, to find the ledger's generated clips and check them for the original's text (default: the folder holding .media)                                                                                                
  --min-mean=<min_mean>    Mean SSIM to pass (default 0.92)                                                                                                                                                                                                    
    --min-p05=<min_p05>    5th-percentile SSIM to pass (default 0.85)                                                                                                                                                                                          
  --min-cell=<min_cell>    5th percentile of each frame's worst 4x4 cell to pass (default 0.75)                                                                                                                                                                
        --worst=<worst>    Worst moments to show (default 4)                                                                                                                                                                                                   
                  --sbs    Also write an original | yours side-by-side video (Default: false)                                                                                                                                                                  
            --out=<out>    Folder for the sheet and log (default .dyrector/diff/<yours>)                                                                                                                                                                       
    --timeout=<timeout>    Render-ready timeout in ms for a project folder (default 5000)                                                                                                                                                                      
        --drawn=<drawn>    A drawn element's box x,y,w,h in the original's pixels, optionally its seconds a-b (repeatable): scored by itself whatever is behind it, with its offset and ink (yours over the original's: under 1 is lighter, thinner or smaller)
          --hide=<hide>    A CSS selector for one layer of a project (".cap"): captured with and without it, each moment scores what the layer adds (benefit, 1 matches the original, under 0 is worse than without it) and where to move or resize it         
                 --json    Print one JSON result (Default: false)