Files
sdf-util/anonradio/transcode.bash
T
thac0 c23f39a4e5 anonradio: add ffmpeg transcode preset
Also provide token documentation and a real example.

Signed-off-by: Joseph B. Konno <thac0@tx0.org>
2025-05-31 19:19:09 +00:00

11 lines
240 B
Bash

#!/usr/bin/env bash
# SPDX-License-Identifier: 0BSD
if [ -z $1 ] || [ -z $2 ]; then
echo "ERROR: expecting 2 arguments: input file (1) and output file (2)"
exit 1
fi
FFMPEG_DATADIR="$PWD" \
ffmpeg -i "$1" -fpre transcode.ffpreset "$2"