From 8f2d1f81ffcb2b23f6786646f248d7a9151f6563 Mon Sep 17 00:00:00 2001 From: Leo Coogan Date: Tue, 11 Apr 2023 16:36:50 -0400 Subject: [PATCH] update --- bin/ffconv-av | 8 ++++++++ dat/db-c | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 bin/ffconv-av diff --git a/bin/ffconv-av b/bin/ffconv-av new file mode 100755 index 0000000..e0b6efd --- /dev/null +++ b/bin/ffconv-av @@ -0,0 +1,8 @@ +#!/bin/dash +#Untested +# Public domain, you probably couldn't even copyright a script this short +# update to use this command if on deb +#find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=650x480 -c:v libx265 -vtag hvc1 -c:a copy -crf 18 -preset veryslow "${i%.*}-x265.mp4" && rm -f "$i"' \; + +# update to use this command if on rpm +find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=650x480 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset veryslow "${i%.*}-x265.mp4" && rm -f "$i"' \; diff --git a/dat/db-c b/dat/db-c index 0efffe6..46cb78f 100644 --- a/dat/db-c +++ b/dat/db-c @@ -8,5 +8,3 @@ alias m="cd ~/Asiakirjat/Koulu/Math" alias p="cd ~/Projektit" alias r="cd ~/RE" alias t="cd ~/Testi" -alias v="cd ~/vimwiki" -alias vd="cd ~/vimwiki/diary"