Add OpenGraph tag injection by @vod/web worker, plus a /social/preview route with predictable layout for automated screenshots (likely using Cloudflare Browser Run).5732a97
Update demo preset.cbff391
The timestamp displayed by vod-player-astro during preview scrubbing now always reflects the pointer position (in 30 min intervals), but appends "(no data)" when there's no preview sprite within 30 min of the current position (while continuing to display the most-recent image). Additionally, the horizontal axis is scaled to manifest.end, so on the current day, you cannot scrub into the future.bfeff79
Helix and prettier setup with Astro plugin.8339654
When showing scrub previews, vod-player-astro falls back to the nearest previous sprite in footage gaps, instead of the poster. This makes scrubbing across gaps much smoother.52fcc98
Double day preview sprite resolution to 640x360 (bounding box).3c1100e
Revise maintenance log when an ingestion lock is encountered. Log a brief informational message instead of an error with instructions to force-remove the lock.8d8c8d9
Merge former vod-player-astro repository (via 'maintenance-runner').7da9a80
Integrate old vod-player-astro repository as packages/player-astro. It retains its package name and typescript 6 dependency.f12ee41
Import vod-player-astro with full historye293d2a
Add day previews, a new feature provided by ingestion and @vod/api that serves sprite sheets from R2, allowing for a dynamic, scrubbable poster for a given vod camera-day.4b9cc46
Merge branch 'maintenance-runner'594d4b3
Modify day preview implementation to only generate sprite sheets for physical cameras. Only JSON manifests are generated for logical views; the manifests point to pre-resolved, immutable physical sprite sheets.74e4987
Refactor database triggers to write directly to the day_preview_changes outbox, rather than trigger a shared trigger via a noop update to recordings.d63f763
Add day preview generation to maintenance runner tasks. The product is another series of preview sprites in R2, but the sprites represent whole recordings (and are generated from each recording's poster). This allows a dynamic, interactive (or animated) preview of a camera day in, e.g., vod-player-astro, without loading the full VodPlayer.12756d3
Remove unnecessary status text from AudioVisualization.b109430
Merge branch 'maintenance-runner'7ef8a7e
Add maintenance mode to CLI, intended to be a singleton process per database/R2 bucket, and to handle background maintenance work currently coordinated in an ad-hoc manner between ingestion watchers. This allows @vod/manager to genuinely monitor such maintenance work archive-wide. Maintenance mode will also handle upcoming day-preview generation (slated to be used by vod-player-astro for dynamic day-level scrub previews). The maintenance runner holds a scoped database lock to prevent simultaneous processes. It also provides a heartbeat and status updates to the database.3f1bd12
Add note about checking R2 caching behavior.0a6e821
Merge branch 'recording-purge'10fed5d
Run purge ownership checks in SQL to limit query result sizes, which were causing Turso memory errors on vod purge.33ce7fb
Reduce the superficial timeline confidence threshold for speech regions to 0.8, matching the actual inference data.e12df1f
Clean up old proposal.bfa2265
Add purge command to delete a given recording (by key), plus all derived assets and proofs, from both the database and R2. Includes scoped locks and a resumable journal. Currently blocked by in-flight timestamp batches and shared historical manifests, which complicate purging but could be supported if necessary.fdb0631
Make ffprobe parsing robust to the case where it reports two identical timestamps joined by a semicolon.b9e55b3
Default waveform-style AudioVisualization now uses vod accent color instead of original teal.b949ee0
AudioWaveform component now has a spectrum analyzer mode activated by `visualization="spectrum"` (default "waveform"). Can be activated from the URL using the `visualization=spectrum` query parameter.416ae81
amplitudeEnvelope is now configurable: <VodPlayer amplitudeEnvelope={false} /> (defaults to true).9310380
Scale up softer sounds by 30%, tapering the scale factor as amplitude reaches the maximum [-1, 1]. Also display a fading amplitude envelope that freezes a recent peak amplitude for 1s before fading out.5b64052
Display a live oscilloscope waveform in VodPlayer during audio-only playback.aa1c77e
Perform same code-splitting and warning suppression in @vod/manager (same as @vod/web in previous commit).8076277
Split React and Temporal into separate frontend bundles, eliminating the bundle size warning. Suppress the other frontend build warning ("use no memo").6940726
Make ?preset=default implicit (omit the query parameter from links and URL rewriting).cf9de07
Add `presets` to viewer config, replacing `routes` for visibility filtering. /demo becomes ?preset=demo. The `default` preset now controls default visibility. (Location assignments no longer do.) Unknown presets fall back to default.f75984b
Refactor configuration. Shared CLI/API settings are in vod.config.json, while presentation is moved to viewer.config.json. createDomain (@vod/core) parses a domain config and returns a read-only dictionary that is injected by library consumers, e.g. `createApi({ domain })`.ef76dd5
Accept dash separator ({camera}-{timestamp}.ext) in addition to underscore when parsing filenames. Parsing finds an unambiguous timestamp, allowing for separator flexibility inside and following camera names. Also add support for per-camera `preferredTimestampField` config. "creation_time" and "com.apple.quicktime.creationdate" are supported values. Filenames take precedence when the config is absent.d46d1eb
Remove parentheses from Apartment camera names.d945409
Add iPhone to reference cam.config.json.d8e4945
Fix iPhone (QuickTime/HDR) remux recipe to preserve Dolby Vision metadata in the output MP4. Extract playback preparation into playback-media.ts. Also add per-camera `playbackRetention` config ("permanent" or "temporary" (default)). Can be overridden with --playback-retention or a publishing manifest.ab92d8a
vod archive moves JSON manifests along with composite MP4s when run on a `vod import --preset dashcam` output directory.c7f19fa
New @vod/archive package implementing `vod archive` command. It's the successor the my old dxif.sh script which moves files into their permanent location on external disk based on their recording date and camera.8fb9fd9
Add support for deployment via Docker. This is intended to bring maximum compatibility to Linux hosts (e.g. Alpine, where glibc is missing on the host but required by onnxruntime-node). On macOS, the intent is still to run vod natively.2ca5121
New public /api/status endpoint that uses read-only database credentials (and a 30s shared cache) to provide status information. @vod/manager polls every 30s, after publishing, and manually.2c4a693
Emit transient "Inspecting..." console output when inspecting already-processed files. This provides status updates when checking large existing directories to verify that no work needs to be done (e.g. before processing new files in a _raw subdirectory).0715399
Add live progress (percentage) updates to CLI output when encoding audio or video and extracting preview frames.f1ea234
Add @vod/ui package with shared UI (web) components, theme, and typography. Adopt shadcn/ui as the base component library. Non-interactive components can be statically rendered at build time in Astro; others will run in client React islands. The Source Folder panel in @vod/manager now uses shadcn/ui components (cards, fields, input groups, buttons, scroll area, alerts).9922c8c
Fix manager page-level padding.6d46e2c
Move vod UI into separate @vod/manager package. Imports VodPlayer, theme, and logo from @vod/web.2a065d6
Use VodPlayer UI fonts and colors. Add an active operations panel that uses database locks to report currently acitve operations.5605cd0
Merge branch 'dashcam-import'f968433
Add dashcam to config.ed96945
Dashcam import now emits separate dash-road, dash-cabin, and dash-composite streams. The manifest is an import-specific record, not a full config override. `vod publish yyyy-mm/dd/dash-composite --manifest dashcam-manifest.json` uses the manifest to verify hashes and timestamps, plus provide dash-composite with permanent playback intent (I plan to normally use --no-archive and keep the full-rate videos on R2).a6ec74e
Enlarge driver inset in composit dashcam videos, add option for square inset that crops out the passenger (vod import --preset dashcam --cabin-crop square).4b60a46
First pass at importing dashcam footage, including detecting continuous trip boundaries, aligning audio waveforms, and generating a composite picture-in-picture video. The feature is used via `vod import --preset dashcam`. The old `vod wyze` command now invoked with `vod import --preset wyze`.0ee51c8
Remove legacy dash and inventory.json behaviors.c542a31
Make --timestamps the default for publish and one-shot ingest when the day being processed is within the past week.53dd15b
Change the new option to --no-assets, accepted by both `publish` and `ingest` (instead of `ingest --catalog-only`). Also:2bfd550
Use `return` instead of `exit` in helpers.sh functions (the script is sourced, not run).dcc29ab
Add reconciliation of manifest entries with archive assets as a fallback, if hashes don't match recorded originals. Matches count and are linked to the archive rendition ID. They appear as historical timestamp evidence labelled `archive-via-manifest` (rather than `original-via-manifest`).5291710
Add `--entry-prefix` options to `vod timestamp import`, mainly for botched manifests where entry paths aren't properly relative to the archive root. The prefix is recorded in the database for consumers attempting to verify manifest entries.e5adfdc
Rename `vod timestamps run` to `vod timestamp run`, combining it with the other `vod timestamp` commands and removing the confusing plural version of the command name.d1d56f3
Add `vod ingest --catalog-only` mode to catalog and timestamp new recordings that aren't yet being published (insta360, iPhone). This might be unnecessary if I start simply publishing preview/archive assets for that footage, too, which I probably should. Placing in on a separate branch for now.976fa1f
Add is_current to timestamp artifacts, to distinguish original .ots receipts from upgraded proofs.d707af0
Add `vod timestamp import` to import historical timestamp receipts (in local _manifest folders) into vod and publish them to R2. Queries for timestamp evidence now include both vod-native and historical timestamps.c840c03
Add GitHub CI workflow for deploying @vod/inventory to GitHub Pages. Builds generate around 60,000 static assets currently (that number will grow), which easily exceeds the 20,000 limit on Cloudflare's free tier. The workflow reuses build artifacts via GitHub Actions cache and accesses a database snapshot via a private R2 bucket.578d466
New @vod/inventory package: a static Astro site for browsing and searching the full VOD inventory. It's generated from a local vod database snapshot. Provides routes for days, camera-days, and recordings. PageFind automatically indexes those static routes, and the PageFind API is used to index other data structures.6219ca3
Add a presentation-only 2-second gap tolerance. Many cameras produce phantom gaps of around 1s between clips, likely representing cumulative drift over a 15-20 minute recording, or perhaps a rounding error when reporting duration. This fix simply paints over the gap on the timeline and uses the following clip's earliest preview sprite for the scrub preview.0685e7e
Add `--timestamps` flag to one-shot publish/ingest that enrolls processed recordings and does a single maintenance run (performing submission, upgrade checks, and/or publishing of outstanding batches). Also add `vod timestamps run` command as a manual or cron-triggered interface to perform the same maintenance run.73b0028
Fix timestamp adapter; it was querying its submitted root (for completion) instead of the calendar server's returned commitment. Pending timestamps are recoverable.9c99d99
Add automatic timestamping with OpenTimeStamps to `vod ingest --watch`. Requests are sent in hourly batches, which persist and are tracked across CLI runs. Despite the batching, proofs are per asset. Once upgraded/complete, the proofs, along with a batch manifest, are automatically published to R2.cc6c220
Simplify the calendar API to return yes/no coverage for each day instead of a count and duration. This greatly improves query performance and allows the responses to be aggressively cached, with the CLI selectively invalidating after mutations. Responses are cached for 24h. Requires the CLI to have the VOD admin API key in its environment.121c8cb
Update tests to use their own cam.config.json now that the default behavior is to hide sources not explicitly assigned to a location in the config.35aad2a
Change scrub preview loading fallback to nearest downloaded sprite tile instead of the poster. Makes scrubbing *much* smoother.0a05291
sync-db script now uses `turso db shell vod .dump` instead of a local replica. Despite exporting the whole database, syncs are much quicker and seemingly don't count toward any usage metric. (The embedded syncs were hitting the free tier quota within a few runs.)0bbf1b9
Update archive extraction helper; it is confirmed to work now.4bb4394
Add /demo route, along with a new `routes` config in cam.config.json that allows a per-route `excludeLocations` array. Remove support for the `omit` query parameter, which is superceded b the routes feature. Also make the default behavior to hide sources that aren't assigned to a location, rather than giving them an ad-hoc location.8c4fc6b
First pass at a `vod ui` interface -- a web frontend to the CLI that runs locally.d5619f7
Up CropOverlay canvas frame rate to 24 fps for non-Safari browsers. (Safari is still capped at 8 fps due to performace issues.)6622fa1
Fix failing test after switching default archive profile to v2. Purge unused `samson_opus` source from config and tests.750ef64
Make archive-h264-v2 (1 fps) the default archive profile. archive-h264-v1 (.5 fps) is still available via explicit `--archive-profile`. The target 176 kbps video-only bitrate remains constant, so storage is not directly impacted. However, any recording with a v1 asset that is republished with the new default will store both versions. (v2 creates a distinct rendition; the configuration is included in asset fingerprints.)d8a7717
Add 15pro to cam.config.json for iPhone footage.3d039b9
HDR->SDR tone mapping now uses Hable algorithm for far better results on iPhone footage. The new recipe id is `hdr-sdr-v2` and it's a good baseline whenever I do start ingesting iPhone footage.8d2bfec
Add support for iPhone footage: add HDR->SDR tone-mapping to asset recipes, generate sprites at native (including portrait) aspect ratio.e716d3f