Also provide token documentation and a real example. Signed-off-by: Joseph B. Konno <thac0@tx0.org>
11 lines
240 B
Bash
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"
|