DB Schema
Video
Video index record. Binary data (HLS chunks, playlists, thumbnails) lives in S3.
| Field | Type | Description |
|---|---|---|
id | ObjectId | Primary key |
owner | String | Namespace slug |
project | String | Project slug |
episodeId | String? | DreamLake episode ID |
st | Float | Start time: Unix timestamp (seconds) |
dt | Float | Frame interval: 1/fps |
fps | Float | Frames per second |
length | Int | Total frames |
offset | Float | Time shift in seconds (default: 0) |
speed | Float | Playback speed multiplier (default: 1.0) |
durationSec | Float | Derived: length * dt |
deletedAt | DateTime? | Soft delete timestamp |
createdAt | DateTime | Created timestamp |
updatedAt | DateTime | Last updated |
Indexes: owner, [owner, project], episodeId