Appearance
Project and timeline JSON
Use beat show when editing one timeline and project show when changing records across the project. Both return a revision for use with --if-revision. See the CLI guide for the read, validate, and apply workflow.
Timeline JSON
beat show PROJECT BEAT returns a timeline object that can be passed to beat validate or beat apply. In this object, source clip numbers and track numbers are one-based. Use clip list to look up sources. Tracks are ordered bottom to top and placements within a video track are ordered left to right.
json
{
"sources": [1, 2, 3],
"tracks": [[
{ "clip": 1, "start": 0.5, "end": 6 },
{ "clip": 2, "end": 2, "overlap": 0.5, "transition": "fade_black",
"edges": { "out": { "style": "fade", "duration": 0.4 } } }
]],
"video_track_names": ["Picture"],
"audio_tracks": 1,
"audio_track_names": ["Music"],
"audio": [
{ "clip": 3, "lane": 1, "at": 0, "start": 0, "end": 7,
"gain": 0.8, "fade_in": 0.2, "fade_out": 0.5 }
],
"text_tracks": 2,
"text_track_names": ["Titles", "Empty track"],
"text": [
{ "lane": 1, "text": "Wishlist now", "start": 4, "end": 5.5, "enter": "fade" }
],
"settings": { "canvas": { "w": 1920, "h": 1080 }, "end_card": null }
}Tracks and sources
trackscontains one array per video track. Keep an empty array for an empty track.audio_tracksandtext_tracksset the number of audio and text lanes. The matching names arrays supply names in track order. Change audio and textlanenumbers when reordering their tracks.sourceslists the beat’s library entries, which can include unused media. Timeline references are added automatically. Omitsourcesto retain the current library entries.settings.canvasholds an even width and height between 2 and 4096 pixels. Usenullfor automatic sizing.settings.end_cardholds a card object ornull. Omitsettingsto retain both values.
Video and still placements
clip references a source. start and end are source times in seconds. end: 0 uses the default source end. A still uses three seconds by default. gap inserts time before the placement. overlap shares time with the previous placement on the same track and cannot be combined with a positive gap.
Overlap transition values are crossfade, fade_black, wipe_left, wipe_right, dissolve, and hard_cut. A hard_cut with overlap switches at the incoming start while keeping the total timeline length. edges.in and edges.out each take duration in seconds and a style of fade, fade_black, wipe_left, wipe_right, or dissolve. Use a duration of zero to clear an edge transition. An active overlap takes precedence at the shared edge.
transform holds clip-wide pan and scale as x, y, and scale. The identity transform is { "x": 0, "y": 0, "scale": 1 }. Preserve crops from snapshots when retaining legacy per-output shot crops. audio_detached: true mutes the picture’s embedded audio. Use beat detach-audio to create the matching audio placement in the same operation.
Audio and text
An audio placement names a source clip and a one-based lane. at is the beat time where it starts. start and end are source times. gain defaults to 1, and fade_in and fade_out are durations in seconds. A detached audio placement can point to a video source with an audio stream.
A text item has a one-based lane, text, start, and end. Its optional position is one of top_left, top, top_right, left, center, right, bottom_left, bottom, or bottom_right. color is [red, green, blue] with each channel between 0 and 255. size is crop-relative, and font_points specifies a fixed size from 1 to 512. Set font_points to null for Auto. Use font for the path to a local font.
enter and exit can be cut, fade, slide, or pop. enter_seconds and exit_seconds control the durations. Legacy center values are converted to the closest anchor when loaded.
End cards and templates
Pass a card object to project template PROJECT CARD.json or beat end-card PROJECT BEAT CARD.json. Use include_card on a project template to control whether new beats copy it automatically. The card’s duration controls its time after the composition.
json
{
"title": {
"text": "Try the demo",
"color": [255, 246, 224],
"font_points": 36
},
"logo": "C:/Promo/Logo.png",
"background": [18, 20, 28],
"duration": 2,
"include_card": true
}Omit logo if you want a text-only card. Use title.font to retain a custom local font.
Whole-project JSON
project show returns the same document structure CameraObscura saves in .obscura files. Use its document property as input to project validate and project apply. The document holds shared outputs and their IDs, library clips, beat IDs and their active selection, the media root, branding, and per-beat settings. Its internal media indexes and track indexes are zero-based.
Start from a real snapshot to preserve fields and references. Project validation checks the structure and references. Beat validation probes the media needed by the proposed timeline. Applying an edited project document marks earlier exports stale. The existing export files stay on disk.