This file contains hidden or 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
import json | |
import sys | |
for vmaf_log in sys.argv[1:]: | |
with open(vmaf_log) as f: | |
data = json.load(f) | |
per_frame_metrics = {} | |
per_frame_metrics["psnr_y"] = \ |
This file contains hidden or 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 ruby | |
require 'open3' | |
require 'json' | |
ffmpeg_bin = '/usr/local/bin/ffmpeg' | |
target_il = -24.0 | |
target_lra = +11.0 | |
target_tp = -2.0 | |
samplerate = '48k' |