Add option to call VMAF in compare_videos.py.

VMAF compares videos on several metrics and produces a unified score.

Calling it from compare_videos required passing in a path to a VMAF
directory, where there should be a C++ wrapper executable and a model.
For now, the relative paths to those are constant.

VMAF needs to compare aligned videos in YUV format, so two videos
(ref and test) will be saved by frame_analyzer after it has aligned
them.

Bug: webrtc:9642
Change-Id: Idddfcf6b1b235e7f925696ffc38938fb84c4ff9e
Reviewed-on: https://webrtc-review.googlesource.com/102140
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Commit-Queue: Paulina Hensman <phensman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24876}
This commit is contained in:
Paulina Hensman
2018-09-28 08:24:57 +02:00
committed by Commit Bot
parent 1ee9160a2e
commit e307d56bd7
3 changed files with 98 additions and 23 deletions

View File

@ -10,7 +10,6 @@
#include "rtc_tools/video_file_writer.h"
#include <cmath>
#include <string>
#include "api/video/i420_buffer.h"