#!/usr/bin/env bash
set -euo pipefail
# Both recordings use the same privacy mask. The sidebar remains visible.
# Directory labels in the picker and run context were hidden before recording.
ffmpeg -v error -i "$1" -vf "drawbox=x=800:y=100:w=1500:h=1100:color=black:t=fill:enable='between(t,7,15.5)',drawtext=text='Synthetic replay details masked for directory privacy':x=820:y=330:fontsize=24:fontcolor=gray:enable='between(t,7,15.5)',scale=1280:800" -c:v libx264 -crf 20 -pix_fmt yuv420p -an "$2"
