allyhub reference compare
A piece measured from its code, with no render, against a reference's sections (your interpretation.json's, else its neutral segments): per section and overall, the piece's numbers less the reference's, and a side-by-side sheet
allyhub reference compare [reference] [item] [options]Arguments
Section titled “Arguments”| Argument | Type | What it is |
|---|---|---|
<reference> |
string | The reference: its folder, its reference.json, or its id under .allyhub/work/reference/ |
<item> |
string | The piece: its id (its file without its extension) or its file; default the project’s only one |
Options
Section titled “Options”| Option | Type | Default | What it does |
|---|---|---|---|
--combo |
list of string | The first combo matching name=value pairs joined with commas (lang=zh-cn,hook=b), or a combo’s id (c03); default the first combo | |
--by |
parts, time |
parts: the piece’s parts aligned to the sections, by durations, places and names; time: each section against the same seconds of the piece. Default parts, time when they cannot be aligned |
Global options
Section titled “Global options”--dir <value>: the project’s folder; default the one around where it is run. --json: print the result as JSON.
Output
Section titled “Output”With --json, the command prints an object with these fields:
| Field | Type | What it is |
|---|---|---|
reference |
string | |
sheet |
string | |
matches |
list of values |
Examples
Section titled “Examples”allyhub reference compare ad launch/filmallyhub reference compare .allyhub/work/reference/ad launch/film --by timeExit codes
Section titled “Exit codes”0 when it succeeds; the others are listed in Exit codes.
In the work
Section titled “In the work”references: Studying reference videos, and a piece against them
reference → reference compare → reference set → frames → frames compare → words → audio → align