Advertisement
f11894

VVenC

Sep 14th, 2020
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. @echo off
  2. for %%i in ("%~dp0.") do set benchmark_bat="%%~dpivideo_benchmark.bat"
  3. :loop
  4. if "%~1"=="" goto end
  5. for %%a in (5, 4, 3, 2, 1) do (
  6. for /L %%i in (60,-5,30) do call %benchmark_bat% -codec libaom -i "%~1" -o "%~n1_libaom_c%%a_2pass_q%%i.mp4" -cmd "--ivf --cpu-used=%%a --threads=8 --tile-columns=2 --tile-rows=2 --pass=2 --passes=2 --kf-max-dist=32 --end-usage=q --cq-level=%%i" -csvsuf c%%a_2pass_q
  7. )
  8. set num=1
  9. for %%a in (faster, fast, medium, slow) do (
  10. for /L %%i in (34,-2,22) do call %benchmark_bat% -codec VVenC -i "%~1" -o "%~n1_VVenC_%%num%%_%%a_q%%i.vvc" -cmd "--preset %%a --threads 8 --qpa 0 --qp %%i" -csvsuf %%num%%_%%a_q
  11. set /a num+=1
  12. )
  13. shift
  14. goto loop
  15. :end
  16. exit /b
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement