Skip to main content
Documentation
CLI Reference · Experimental

Video and timeline experiments

Evaluate selected local media workflows without treating derived output or parser results as source truth.

CommandCurrent alpha behaviorExact syntax
inspectParse a selected MP4/ISOBMFF file and run an in-memory structural roundtrip checkdits inspect <FILE>
roundtripWrite a structure-aware reconstruction for inspectiondits roundtrip <INPUT> <OUTPUT>
segmentCreate FFmpeg GOP-aligned MP4 segments and manifest.jsondits segment <FILE> [-o|--output <DIR>] [-d|--duration <SECONDS>]
assembleAssemble local segments described by manifest.jsondits assemble <SEGMENTS_DIR> <OUTPUT>
inspect-fileInspect current tracked storage informationdits inspect-file <PATH> [--chunks]
video-initCreate an experimental local timeline recorddits video-init <NAME>
video-add-clipAdd one tracked HEAD path to a timelinedits video-add-clip <PROJECT> --file <PATH> --in <S> --out <S> --start <S> [--track <ID>]
video-showPrint one local timelinedits video-show <NAME>
video-listList local timeline recordsdits video-list

Container inspection and reconstruction

dits inspect footage/scene.mp4
dits roundtrip footage/scene.mp4 /tmp/scene-rebuilt.mp4

# Generic tracked-file storage inspection is a separate current command
dits inspect-file footage/scene.mp4
dits inspect-file footage/scene.mp4 --chunks

inspect has no JSON, atoms-only, keyframe, tracks, or verbose flags. It prints the structure understood by the current MP4 parser and an internal structural roundtrip result. roundtrip normalizes moov data and reports when the output is not byte-identical.

Segmentation and assembly

# FFmpeg is required
dits segment footage/scene.mp4
dits segment footage/scene.mp4 --output scene-segments --duration 4

# The directory must already contain manifest.json and every local segment
dits assemble scene-segments scene-assembled.mp4

Segment duration defaults to two seconds. This command invokes FFmpeg to make GOP-aligned MP4 segments; it does not expose FastCDC size controls, a dry run, progress switch, or keyframe toggle. Assemble has no remote fetch, parallel-download, force, or byte-verification flag.

Local timeline records

dits video-init rough-cut
dits video-add-clip rough-cut --file footage/scene.mp4 --in 0 --out 12.5 --start 0
dits video-show rough-cut
dits video-list

Timeline records live in local .dits project storage and are not yet integrated into commit manifests, remote collaboration, or an NLE interchange contract. Clip paths must already be tracked in HEAD.

See proxy experiments, metadata commands, and runtime help for the exact installed surface.