Endil

keyframes

Oct 19th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.53 KB | None | 0 0
  1. @echo off
  2. title Video2Keyframes
  3. set "x264=x264"
  4. for %%a in ("*.mkv","*.mp4","*.avi") do (
  5.     echo.
  6.     "%x264%" --pass 1 --preset veryfast --scenecut 95 --min-keyint 3 --keyint 600 -o NUL "%%a"
  7.     rename "x264_2pass.log" "%%~na_keyframes.log"
  8.     del "@echo off
  9. title Video2Keyframes
  10. set "x264=x264"
  11. for %%a in ("*.mkv","*.mp4","*.avi") do (
  12.     echo.
  13.     "%x264%" --pass 1 --preset veryfast --scenecut 95 --min-keyint 3 --keyint 600 -o NUL "%%a"
  14.     rename "x264_2pass.log" "%%~na_keyframes.log"
  15.     del "x264_2pass.log.mbtree"
  16. )
  17. pause"
  18. )
  19. pause
Advertisement
Add Comment
Please, Sign In to add comment