#!/bin/bash
# FFmpeg video thumbnail wrapper
# Args: input output timestamp
INPUT="$1"
OUTPUT="$2"
TIMESTAMP="${3:-1}"
ffmpeg -y -ss "$TIMESTAMP" -i "$INPUT" -frames:v 1 "$OUTPUT"
