Created
September 22, 2014 05:15
-
-
Save helloitszak/e109ac1d61bd29027e56 to your computer and use it in GitHub Desktop.
Quick script to make using mpv frame dumping easier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 4 ]; then | |
echo "Usage: `basename $0` file starttime length outdir" | |
exit 1 | |
fi | |
mpv --no-audio --no-sub --start=$2 --length=$3 --vo=image:format=png:outdir=$4 "$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment