clear all;
clear classes;
clc;


referencevideos=ReferenceVideoCollection('*.mkv');
coders=VideoCoderCollection;

params.bitrate=[30000];

coders.add('H264VBR',params);
coders.add('H265VBR',params);

videometrics=VideoMetricsCollection;
videometrics.add('AVG-PSNR');
videometrics.add('AVG-SSIM');

CompressedVideos=coders.proc(referencevideos);
CompressedVideos.addmetrics(videometrics);
%CompressedVideos.calcmetrics;



