Live video on the AT Protocol
at eli/fix-test-flake 12 lines 502 B view raw
1#!/bin/bash 2 3set -euo pipefail 4 5TMPDIR=$(mktemp -d) 6SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) 7$SCRIPT_DIR/../build-linux-amd64/streamplace clip --out "$TMPDIR/combined1.mp4" "$@" 8sleep 2 9$SCRIPT_DIR/../build-linux-amd64/streamplace clip --out "$TMPDIR/combined2.mp4" "$@" 10xxd "$TMPDIR/combined1.mp4" > "$TMPDIR/combined1.mp4.xxd" 11xxd "$TMPDIR/combined2.mp4" > "$TMPDIR/combined2.mp4.xxd" 12diff --color=always "$TMPDIR/combined1.mp4.xxd" "$TMPDIR/combined2.mp4.xxd"