Skip to content

Thursday, August 13

Git Commits

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

    voice-detect,vod: log in consistent format.

  • 8:57 pm — John Sherrell <dev@ohn.sh>

    vod: tweak path handling in video.sh, remove leading _ in camera dir names when computing r2 path.

  • 7:53 pm — John Sherrell <dev@ohn.sh>

    vod: crucial to await db insert before letting script exit 😆

  • 7:22 pm — John Sherrell <dev@ohn.sh>

    vod: upsert database entries so that speech total is updated as the file progresses.

  • 7:01 pm — John Sherrell <dev@ohn.sh>

    vod: now using drizzle, along with a slightly more serious table. There's a new column for total speech duration (in seconds), along with supporting code in video.ts.

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

    vod: added reset subcommand to video.sh that moves processed files not in inventory.json into an _error_asset subdirectory for processing. (Otherwise the files will be synced to R2 but completely ignored.) Also improved error handling to use specific _error_{error_type} subdirectory names depending on the error.

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

    Updated workspaces.

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

    dash-next: add drizzle orm.

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

    dash-vod: rename from mkoverlay

  • 11:58 am — John Sherrell <dev@ohn.sh>

    mkoverlay: Add try/catch around ffprobe audio stream detection; return false on error. voice-detect: Log stats about speech segments after inference runs.

  • 8:31 am — John Sherrell <dev@ohn.sh>

    mkoverlay: dynamically import() voice-detect and gracefully recover from errors so the pipeline (minus inference) will run on Alpine (onnxruntime-node requires a glibc system). The ultimate solution will be to run the typescript portion of the pipeline in a debian-based docker container. Also remove -xerror from ffmpeg args for now. Unfortunately, lots of video from thingino and mediaMTX has out-of-order timestamp issues, which ffmpeg can eaily recover from. For now, my manual file size check should filter out most of the truly worthless files. If I leave -xerror, I will lose a lot of footage that doesn't need to be lost.

  • 7:35 am — John Sherrell <dev@ohn.sh>

    mkoverlay,voice-detect: Add new voice-detect package that uses Silero VAD, via TypeScript and onnxruntime-node, to detect segments of voice activity in audio or video files. Also updated mkoverlay batch video pipeline to use the new package and include the segment information in inventory.json

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

    mkoverlay: fixed early loop continuation bug in video.sh on error.

dev commits 2 ohnsh/dev
  • 10:15 pm — John Sherrell <dev@ohn.sh>

    cam: dust off cam.sh to take over recording duties again. MediaMTX cannot seem to reliably record thingino streams, whereas ffmpeg complains about them but produces rock solid output.

  • 8:58 pm — John Sherrell <dev@ohn.sh>

    sh: stop sending files to _capture_2x2, let them go to 'quad' based on the way OBS now saves recordings.

YouTube