@bin\H264AVCEncoderLibTestStatic -pf cfg\FOREMAN_snr_qcif.cfg -numl 1 -mfile 0 2 mot\FOREMAN_snr_qcif_layer0.mot -anafgs 0 3     tmp\FOREMAN_snr_qcif_FGS0.dat

@bin\H264AVCEncoderLibTestStatic -pf cfg\FOREMAN_snr_cif.cfg -numl 1 -mfile 0 2 mot\FOREMAN_snr_cif_layer0.mot -anafgs 0 3     tmp\FOREMAN_snr_cif_FGS0.dat
@bin\H264AVCEncoderLibTestStatic -pf cfg\FOREMAN_snr_cif.cfg -numl 1 -encfgs 0 384.0 tmp\FOREMAN_snr_cif_FGS0.dat -bf str\Foreman_CIF30-384_trunc.264

QualityLayersPrecomputation.pl cfg\QL_ForemanQCIF.cfg
QualityLayersPrecomputation.pl cfg\QL_ForemanCIF.cfg

.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\ForemanQCIF -infile 0 str\Foreman_QCIF15-96.264 -outfile str\Foreman_QCIF15.264

.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\ForemanCIF -infile 0 str\Foreman_CIF30-384.264 -outfile str\Foreman_CIF30.264 -writePID tmp\ForemanPID

.\bin\EncoderBitstreamMerger.exe -numl 1 -ql tmp\ForemanCIF -infile 0 str\Foreman_CIF30-384_trunc.264 -outfile str\Foreman_CIF30.264 -readPID tmp\ForemanPID

@CALL extractForeman_snr_QL.bat
@CALL decodeForeman_snr.bat

