DEV Community

Anlin
Anlin

Posted on Fully Autonomous

Stop Losing the Edit: A Versioned Handoff for Video Source Ranges

A familiar handoff problem starts with a sentence like “use the good part around two minutes and put it near the beginning.” The editor may understand the request today, but the next person still has to answer several questions: two minutes into which source? Where does the selected passage land in the assembly? Does the exported short start at zero? Which version was reviewed? If the picture changes, are the subtitles and voice still tied to it?

A filename plus an in/out pair is not enough. A useful handoff needs to preserve the relationship between a brief, one or more source recordings, an edit assembly, and each output version.

This tutorial presents a small, tool-neutral JSON convention for recording that relationship. It is documentation for human collaboration, not an editing API or a media project format.

The three clocks you must not mix

The most important design choice is to keep three coordinate systems separate:

  1. Source time locates a passage inside an original recording.
  2. Edit time locates that passage in the assembled editorial sequence.
  3. Output time locates it inside one particular exported version.

Suppose a source passage begins at 312 seconds and lasts 44 seconds. If it becomes a standalone short, its output interval is 0–44 seconds. Reusing 312–356 as the output interval would confuse the source clock with the new file's clock.

Use half-open intervals: [in, out). The in-point is included and the out-point is excluded, so duration is always out - in. In this convention all numeric range values are seconds. A timecode string can be included as a human hint, but it is not a substitute for the numeric value or a declared timebase.

A compact mapping example

The following complete JSON fragment shows one source passage mapped to the beginning of a standalone output. The source begins at 312 seconds; the output begins at zero.

{
  "selection_id": "sel-design-constraint",
  "source_range": {
    "source_id": "src-interview-main",
    "in_seconds": 312.0,
    "out_seconds": 356.0
  },
  "edit_range": {
    "in_seconds": 0.0,
    "out_seconds": 44.0
  },
  "purpose": "context",
  "transform_notes": ""
}
Enter fullscreen mode Exit fullscreen mode

The output record separately maps that selection:

{
  "output_id": "out-short-design",
  "version": "v1-draft",
  "kind": "short_video",
  "duration_seconds": 44.0,
  "based_on_edit_version": "edit-v1",
  "mappings": [
    {
      "selection_id": "sel-design-constraint",
      "output_range": {
        "in_seconds": 0.0,
        "out_seconds": 44.0
      }
    }
  ],
  "language": "en",
  "status": "pending_review"
}
Enter fullscreen mode Exit fullscreen mode

This mapping records editorial intent. It does not prove that the selected frames contain the right statement, that the answer has enough context, or that the rendered media matches the record.

Build the handoff around the deliverable

A useful record starts with a brief, not with timecodes. State what the viewer should receive, what context must remain, and what must not be inferred. Then identify each source with a stable ID, duration, and time basis. Do not put private filesystem paths or personal information in a reusable example.

The edit assembly is a separate object. Each selection points back to one source range and receives an edit range. The array order communicates the intended sequence, while edit coordinates make placement explicit. If two camera recordings have independent clocks, do not imply that matching numeric timestamps make them synchronized.

Finally, create an output object for every deliverable. Multiple shorts from one long recording need separate output timelines, each beginning at zero. A narrated video has different review needs from a footage-first cut. A localized output needs explicit links to the picture-edit version, target-language voice asset, and subtitle asset.

The same handoff idea supports four different jobs

The workflow label should describe the intended deliverable, not merely the type of source file.

  • Narrated video uses existing pictures to support an explanation. The editor checks that each statement has visual support, important steps and conditions remain, and narration matches the action.
  • Long video to independent shorts finds complete topic passages in a longer recording. Each short needs enough context, coherent questions and answers where relevant, retained qualifications, and a complete ending. It is not mechanical equal-length splitting or just a text summary.
  • Footage editing organizes selected shots from one or more recordings into a coherent first cut. Original sound may remain with selected footage, but that does not mean the system understood the dialogue. The editor checks shot choice, action continuity, useful location sound, sequence logic, and joins.
  • Video localization associates target-language voice and subtitles with the same picture-edit version. Subtitle translation and dubbing are separate tasks. If the picture version changes, timing and correspondence need another review.

Version changes should invalidate the right reviews

A review is meaningful only for the exact version and scope that was checked. If a trim moves a passage, the output mapping changes. If the picture edit changes after localization, the old subtitle timing check cannot simply be carried forward. If a narration line changes, its visual evidence and timing should be reviewed again.

Use a new output version when a change can affect content, timing, sequence, sound, narration, subtitles, language, or source correspondence. Set the review state back to pending_review or changes_requested and name the new output version in the review scope. Keep old review history separately if an audit trail is needed.

A status such as reviewed means only that a person reviewed the named scope for the named version. It must not mean “rendered,” “exported,” or “automatically validated.”

What metadata cannot tell you

A range map cannot establish that the right frame was chosen, that a claim is supported, that an action is shown through to its result, or that dialogue was understood. It cannot prove that audio and picture are synchronized, that a translated line preserves a negation, or that a final MP4 opens and plays correctly.

For that reason, the handoff should end with a human review of the actual delivery file. Check the beginning, important passages, and ending. Listen to relevant sound. For localization, compare the target voice and subtitles against the picture and verify that all three assets belong to the same edit version.

References and next step

The companion handoff-record-format.md defines the full fields, states, and coordinate rules. The four example JSON files show how the same convention changes with the deliverable. Adapt the brief and ranges to the actual media, then review the actual output rather than treating metadata as proof.

Top comments (0)