Created
June 16, 2022 10:58
-
-
Save Stephen-Seo/c2985e561a829b0d6b021d746bb44941 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
echo "Expecting \"$1\" to be reference and \"$2\" to be distorted" | |
sleep 2 | |
set -ve | |
ffmpeg -i "$1" -i "$2" \ | |
-lavfi "[0:v]setpts=PTS-STARTPTS[reference];[1:v]setpts=PTS-STARTPTS[distorted];[distorted][reference]libvmaf" \ | |
-f null - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment