Introduction
Introduction Statistics Contact Development Disclaimer Help
ffmpeg-effect: use variable substitution to find file extension - annna - Annna…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 4dca6070b022091b9c930d82cd6216ab3fb70b8d
parent dc1a42da2436a97d07f0eaf98baf269e82100b0e
Author: Anders Damsgaard <[email protected]>
Date: Fri, 21 Oct 2022 20:31:26 +0200
ffmpeg-effect: use variable substitution to find file extension
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M ffmpeg-effect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -80,7 +80,7 @@ replace_face() {
if is_image $input;
then
- ext="$(printf '%s' "$input" | awk -F. '{print $NF}')"
+ ext="${input##*.}"
tmp=/tmp/replace_face_$$.$ext
else
tmp="/tmp/replace_face_$$.mkv"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.