commit 5b74834ab0d5bb546c96734bf5fa36c6b2c7353b
parent f7ede02933c6a0d9151da545c67c793b4a66bd0e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 17 Mar 2020 12:27:22 +0100
Fix output naming with dots in file name
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/004-screencasts.html b/pages/004-screencasts.html
@@ -88,7 +88,7 @@ encode() {
ffmpeg -y -i "$1" \
-c:v libx264 -threads 0 -preset faster -pix_fmt yuv420p \
-c:a aac -crf 10 \
- "${1%%.*}_out.mp4"
+ "${1%.*}_out.mp4"
}
for f in "$@"; do
diff --git a/pages/004-screencasts.txt b/pages/004-screencasts.txt
@@ -83,7 +83,7 @@ encode() {
ffmpeg -y -i "$1" \
-c:v libx264 -threads 0 -preset faster -pix_fmt yuv420p \
-c:a aac -crf 10 \
- "${1%%.*}_out.mp4"
+ "${1%.*}_out.mp4"
}
for f in "$@"; do