ffmpeg_utils/to-frames.sh
2023-08-12 23:21:37 +03:00

11 lines
117 B
Bash
Executable File

#!/bin/sh
[ -z "$1" ] && {
echo "usage: $0 FILENAME"
exit 1
}
set -e
ffmpeg -i "$1" -qscale:v 2 output_%03d.jpg