Add ssim shell function

This commit is contained in:
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

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/") 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 # Audacious does not support symlinks; hack around that
function audacious-hack() ( function audacious-hack() (
IFS=$'\n' IFS=$'\n'