You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
mss_enc_params.cmd<br />
<strong>Deliver</strong> <strong>High</strong> <strong>Quality</strong>, <strong>High</strong> <strong>Performance</strong> <strong>HEVC</strong> <strong>via</strong> <strong>Intel®</strong> <strong>Media</strong> <strong>Server</strong> <strong>Studio</strong><br />
@echo off<br />
set SEQ=%1<br />
set QPI=%2<br />
set /a QPB=%QPI%+1<br />
set /a QPP=%QPI%+1<br />
set OP=%3<br />
set DIR=Content<br />
set ODIR=Output\MSS_Bitstreams<br />
set RES=%4<br />
set FRATE=%5<br />
call :ResolutionSetup %RES% W H<br />
set "startTime=%time%"<br />
Codec\MSS\win_x64\bin\sample_encode.exe h265 -sw -f %FRATE% -u %OP% -async 2 -cqp -qpi %QPI% -<br />
qpp %QPP% -qpb %QPB% -w %W% -h %H% -i %DIR%\%SEQ%.yuv -<br />
o %ODIR%\msdk<strong>HEVC</strong>_%SEQ%_%OP%_qp%QPI%.h265<br />
set "stopTime=%time%"<br />
call :timeDiff diff startTime stopTime<br />
Codec\MSS\win_x64\bin\sample_decode.exe h265 -i %ODIR%\msdk<strong>HEVC</strong>_%SEQ%_%OP%_qp%QPI%.h265 -<br />
o %ODIR%\msdk<strong>HEVC</strong>_%SEQ%_%OP%_qp%QPI%_dec.yuv -p 15dd936825ad475ea34e35f3f54217a6<br />
Codec\PSNR.exe %DIR%\%SEQ%.yuv %ODIR%\msdk<strong>HEVC</strong>_%SEQ%_%OP%_qp%QPI%_dec.yuv %W% %H%<br />
echo Encoding time: %diff% msec. >> summary.txt<br />
goto :eof<br />
82<br />
:timeDiff<br />
setlocal<br />
call :timeToMS time1 "%~2"<br />
call :timeToMS time2 "%~3"<br />
set /a diff=time2-time1