Skip to content

Instantly share code, notes, and snippets.

/*
Compile with g++ -std=c++20 or clang++ -std=c++20.
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
#!/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 -

Keybase proof

I hereby claim:

  • I am Stephen-Seo on github.
  • I am seodisparate (https://keybase.io/seodisparate) on keybase.
  • I have a public key whose fingerprint is 42FF 94BC C39D 4250 2666 DDF7 09AF 4A24 DDCB BE28

To claim this, I am signing this object:

@Stephen-Seo
Stephen-Seo / build.gradle
Last active August 31, 2019 18:34
a build.gradle scipt that builds multilib c++ and for windows (mingw-w64) (currently for Gradle 2.2 nightly, check earlier revisions for earlier versions of Gradle compatibility)
apply plugin: 'cpp'
model {
buildTypes {
debug
release
}
platforms {