From 1d97ba199e8189484048967f510c31fdcd19455f Mon Sep 17 00:00:00 2001 From: fabian Date: Fri, 24 Feb 2023 16:10:12 +0100 Subject: [PATCH] removed obsolete save file --- scripts/reencode_m4a.sh.save | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 scripts/reencode_m4a.sh.save diff --git a/scripts/reencode_m4a.sh.save b/scripts/reencode_m4a.sh.save deleted file mode 100755 index 9d74d93..0000000 --- a/scripts/reencode_m4a.sh.save +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -for file in ./*.m4a; do - map=''; - if [[ $# > 0 && $1 == 'map' ]]; then - map='-map 0:0'; - fi - vbr=''; - if [[ $# > 1 && $2 == 'vbr' ]]; then - vbr='libfdk_aac -profile:a aac_he -b:a 64k'; - else - map="$map copy" - fi - dest=../reencode - if [[ !(-d $dest) ]]; then - mkdir $dest - fi - echo "ffmpeg -i '$file' -c:a $vbr $map -movflags +faststart '$dest/$file'"; - ffmpeg -i "$file" -c:a $vbr $map -movflags +faststart "$dest/$file"; -done