Add ssim shell function

legacy
Simon Bruder 2019-08-10 16:48:21 +00:00
parent a8143116f5
commit 0acc52f555
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,10 @@ function mkvextract-all-attachments() {
mkvextract $1 attachments $(mkvmerge --identify $1|grep "Attachment ID"|sed "s/Attachment ID \([0-9]*\): .*/\1/")
}
function ssim() {
ffmpeg -loglevel fatal -i "$1" -i "$2" -lavfi 'ssim=/dev/stdout' -f null -
}
# Audacious does not support symlinks; hack around that
function audacious-hack() (
IFS=$'\n'