MakeBat.m
970 Bytes
clear all;
sequence=["CrowdRun_768x768_50_8bit_444","DucksTakeOff_768x768_50_8bit_444",
"OldTownCross_768x768_50_8bit_444","ParkJoy_768x768_50_8bit_444",
"ArenaOfValor_768x768_60_8bit_444","GlassHalf_768x768_24_8bit_444"];
Cfg=["CrowdRun_RGB_8bit","DucksTakeOff_RGB_16bit",
"OldTownCross_RGB_8bit","ParkJoy_RGB_8bit",
"ArenaOfValor_RGB","GlassHalf_RGB_8bit"];
QP=["22","27","32","37"];
fr="60";
f="120";
i=3;
seq=sequence{i};
cfg=Cfg{i};
for j=1:4
qp=QP{j};
enc="EncoderApp.exe -c encoder_randomaccess_vtm.cfg -c "+cfg+".cfg -i input\\"+seq+".rgb -b output\\decoder\\str_"+seq+"_qp"+qp+".bin -q "+qp+" -fr "+fr+" -f "+f+" --ReconFile=output\\decoder\\rec_"+seq+"_qp"+qp+".bin -fs 0 > output\\encoder\\"+seq+"_qp"+qp+".log";
dec="DecoderApp.exe -b output\\decoder\\str_"+seq+"_qp"+qp+".bin -o output\\decoder\\"+seq+"_qp"+qp+".rgb > output\\decoder\\"+seq+"_qp"+qp+".log";
fprintf(enc,"\n");
fprintf("\n\n");
fprintf(dec,"\n");
fprintf("\n\n");
end