commit f661fe77fc75e82c85c352dd5ac7445a5c324da7
parent d2d458931d1377aa38d65631f02adca75e841f09
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 31 May 2020 23:05:31 +0200
Add function for creating video thumbnail
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/.profile b/.profile
@@ -153,6 +153,10 @@ randomman() {
}
alias or='plumb "$(randomfile)"'
+video-screenshot() {
+ ffmpeg -i "$1" -frames:v 1 "${1%.*}.jpg"
+}
+
alias julia-fast='julia --procs 1 --optimize=3 --math-mode=fast'
addtopath() {