Exact-frame audit and transfer of review annotations across hard-cut OpenTimelineIO edits.
moon update
python scripts/verify.py --demo _build/example
moon run cmd/main --target js -- plan _build/example/before.otio _build/example/after.otio _build/example/request.json
moon run cmd/main --target js -- apply _build/example/before.otio _build/example/after.otio _build/example/request.json _build/example/reviewed.otio{
"fps": 24,
"old_track": 0,
"new_track": 1,
"notes": [
{"id": "n1", "text": "检查对白入点", "start": 4},
{"id": "n2", "text": "核对转场前的字幕", "start": 3, "stop": 6}
],
"selections": [
{"note_id": "n1", "piece": 0, "clip": 3}
]
}moon check --target all --deny-warn
moon test --target js
moon test --target wasm-gc
python scripts/verify.py --live-fixturepub(all) struct Note {
id : String
text : String
range : Span
media : String?
origin : (String, Int)?
}pub(all) struct Span {
start : Int64
stop : Int64
}pub struct Timeline {
// private fields
}pub(all) struct Transfer {
note_id : String
text : String
piece : Int
placement : Placement
origin : (String, Int)?
}fn plan(before : Timeline, after : Timeline, notes : Array[Note]) -> Array[NoteReport] raise ReconformErrorfn read_notes_from_markers(root : Json, track_index~ : Int, fps~ : Int) -> Array[Note] raise ReconformErrorfn report_json(before : Timeline, after : Timeline, reports : Array[NoteReport], resolution : Resolution) -> Jsonfn resolve(reports : Array[NoteReport], selections : Array[Selection]) -> Resolution raise ReconformErrorfn with_markers(root : Json, track_index~ : Int, fps~ : Int, resolution : Resolution) -> Json raise ReconformErrorInstall
Download zipExact-frame audit and transfer of review annotations across hard-cut OpenTimelineIO edits.