Add ssim shell function
This commit is contained in:
parent
a8143116f5
commit
0acc52f555
|
@ -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'
|
||||||
|
|
Reference in a new issue