Skip to content

Friday, August 7

Git Commits

dash commits 9 ohnsh/dash
  • 11:14 pm — John Sherrell <dev@ohn.sh>

    dash-next: bump Next, hls.js, biome.

  • 10:59 pm — John Sherrell <dev@ohn.sh>

    dash-next: A saner VOD implementation is emerging. Now using a Turso hosted libsql database to track inventory.json files in R2. (The root.txt file in R2 would scale terribly, though it could work with a Next route handler or Cloudflare worker in front of it). Re-organized random colocated helpers into @/lib and @/components.

  • 3:46 pm — John Sherrell <dev@ohn.sh>

    mkoverlay: remove a few tags from exiftool output, along with the corresponding schema properties.

  • 2:18 pm — John Sherrell <dev@ohn.sh>

    mkoverlay: Log pipeline steps to stderr in video.sh; don't log db result in db.ts.

  • 1:48 pm — John Sherrell <dev@ohn.sh>

    mkoverlay: prevent errors by explicitly telling libsql to do nothing when we attempt to insert an existing row. Also attempt to insert the inventory record once per run of video.sh, instead of inside the loop.

  • 12:54 pm — John Sherrell <dev@ohn.sh>

    mkoverlay: added turso/libsql database to index inventory JSON files on R2. Also reorganized a bit.

  • 10:23 am — John Sherrell <dev@ohn.sh>

    mkoverlay: sync to r2 on every remux/asset generation.

  • 6:04 am — John Sherrell <dev@ohn.sh>

    mkoverlay: New shell script, video.sh, that will process "camera dirs", or daily directories where OBS or mediaMTX save recordings. Processing involves remuxing the fragmented mp4 files, generating assets (just a thumbnail for now), and saving the metadata in an inventory.json file that can be fetched from R2.

  • 6:01 am — John Sherrell <dev@ohn.sh>

    mkoverlay: Re-thinking the whole overlay thing. Extracted typescript logic that isn't coupled to the days/overlay tree structure and made a new executable, meant to be called from scripts, that works on a single video and confines writes to the tree where the video lives.

dev commits 1 ohnsh/dev
  • 12:16 am — John Sherrell <dev@ohn.sh>

    cam: mediamtx config: turn on playback server, change recordingPath to start a new folder every day named %Y-%m-%d (recordings from OBS will follow a similar scheme).

YouTube