clear all;
clear classes;
clc;


% referencevideos=ReferenceVideoCollection('*.mkv');
% coders=VideoCoderCollection;
% 
% params.bitrate=[10000 20000 50000];
% dcp.compressionlevel=[25 50 100];
% 
% coders.add('DCP',dcp);
% coders.add('H264IntraVBR',params);
% 
% videometrics=VideoMetricsCollection;
% videometrics.add('AVG-PSNR');
% videometrics.add('AVG-SSIM');
% 
% CompressedVideos=coders.proc(referencevideos);
% CompressedVideos.addmetrics(videometrics);
% CompressedVideos.calcmetrics;

load session3.mat

CompressedVideos.fcc;

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