Skip to content

Monday, July 13

Git Commits

dev commits 5 ohnsh/dev
  • 11:01 pm — John Sherrell <dev@ohn.sh>

    cam: add continuous monitoring to stream_folder.sh

  • 9:02 pm — John Sherrell <dev@ohn.sh>

    cam: Added timezone awareness to mediamtx container (tzdata package and TZ environment variable). Added logic to only pre-resolve .local hostnames and only include --add-hosts on the docker command line when necessary. Added stream key redaction (from ffmpeg logs) to stream_folder.sh.

  • 4:52 pm — John Sherrell <dev@ohn.sh>

    stream-utils: Minor clean-up in shell scripts.

  • 4:40 pm — John Sherrell <dev@ohn.sh>

    cam: In relay.sh, change default source from camera to MediaMTX proxy. New script stream_folder.sh, similar to the one in stream-utils but a much cleaner implementation. It takes an input directory (must exist) and an output directory. Each mp4 file in input is streamed to YouTube's RTMP endpoint and then moved to output when finished. Files are streamed one-by-one in glob (lexicographic) order, which also happens to be chronological order for `%Y%m%d_%H%M%S`-formatted filenames.

  • 4:31 pm — John Sherrell <dev@ohn.sh>

    cam: Configure MediaMTX to record wuuk path to fMP4 files, and drop `runOnDemand` option. This moves recording into the same process doing the proxying instead of requiring a separate always-running ffmpeg.

YouTube