master
Leo Coogan 3 years ago
parent 2be3f4c7f5
commit 8f2d1f81ff
No known key found for this signature in database
GPG Key ID: 3D7F617CDE5C9A9B

@ -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"' \;

@ -8,5 +8,3 @@ alias m="cd ~/Asiakirjat/Koulu/Math"
alias p="cd ~/Projektit" alias p="cd ~/Projektit"
alias r="cd ~/RE" alias r="cd ~/RE"
alias t="cd ~/Testi" alias t="cd ~/Testi"
alias v="cd ~/vimwiki"
alias vd="cd ~/vimwiki/diary"

Loading…
Cancel
Save