#!/bin/sh
# Apply the same privacy mask to the incidental workspace label in both recordings.
# Usage: sh redact.sh input.mp4 output.mp4
ffmpeg -y -i "$1" -vf "drawbox=x=2050:y=150:w=380:h=60:color=0x111111:t=fill,drawtext=text='Workspace redacted':x=2060:y=165:fontsize=25:fontcolor=white,scale=1280:800" -an -map_metadata -1 -c:v libx264 -crf 18 "$2"
