From 4c87e3bda80b30613533c11ec201189999631dc3 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Mar 2025 18:03:22 -0300 Subject: bin/process: Add working version Despite being very, very, very slow. ffmpeg(1) says it runs at ~0.6x the video speed, so it takes even longer to process than to record. --- bin/process | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 bin/process diff --git a/bin/process b/bin/process new file mode 100755 index 0000000..7f2bea6 --- /dev/null +++ b/bin/process @@ -0,0 +1,58 @@ +#!/bin/sh +set -eu + +cd "${LIVEDIR:-~/Public/live/}" + +makefile_pre() { + cat <<'EOF' +.POSIX: +FFMFLAGS = -hide_banner -loglevel warning + + + +.SUFFIXES: +.SUFFIXES: .mpd .webmx + +.mpd.webmx: + cd $(?D) && ffmpeg $(FFMFLAGS) -i $(