clear all;
clear classes;
clc;


% referencevideos=ReferenceVideoCollection('*.mkv');
% coders=VideoCoderCollection;
% 
% params.bitrate=[500 1000 2000 5000];
% 
% 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;

load session1.mat

CompressedVideos.fcc;

 [refdata,matdata]=CompressedVideos.makestatistics;
 save(sprintf('refdata_matdata_video_session1_%d.mat',...
     round(10000*rand)),'refdata','matdata');
 
 makeplots(0,'refdata_matdata_video_session1*.mat');
