Advertisement
Jousway

Encode using ffmpeg

Nov 21st, 2014
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.39 KB | None | 0 0
  1. @echo off
  2. cls
  3. set /p input=Input:
  4. set /p output=Output:
  5. set /p bitrate=Bitrate:
  6. set /p frate=Framerate:
  7. echo.
  8. echo %input% to %output% using %bitrate%kbit/s and %frate% fps
  9. echo.
  10. echo are these options correct?
  11. set /p yn=[Y/N]
  12. if not %yn%==y (
  13.     call encode.bat
  14.     exit
  15.     )
  16. cls
  17.  
  18. ffmpeg -i %input% -b:v %bitrate%k -r %frate% %output%
  19. echo.
  20. echo Converted %input% to %output%
  21. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement