Advertisement
Guest User

Untitled

a guest
Aug 14th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. # Crop works but 25fps
  2. #
  3. # set /p input=What is the Input filename, eg input.ts:
  4. # set /p output=What is the Output filename lowercase
  5. # ffmpeg -i %input% -r 1 frame.bmp
  6. # mspaint frame.bmp
  7. # set /p width=What is the width (pixels cropped left + right subtracted from 1920):
  8. # set /p height=What is the height (pixels cropped top + bottom subtracted from 1080):
  9. # set /p left=How many pixels to crop from the left:
  10. # set /p top=How many pixels to crop from the top:
  11. # set /p crf=What crf do you want to use:
  12. # ffmpeg.exe -y -i %input% -sws_flags spline -sn -vf yadif=1:0 -vf crop=%width%:%height%:%left%:%top% -s 1280x720 -c:v libx264 -preset slow -crf %crf% -acodec copy %output%.mkv
  13. # %output%.bat
  14. # pause
  15. #
  16. # 50fps but no crop
  17. #
  18. # set /p input=What is the Input filename, eg input.ts:
  19. # set /p output=What is the Output filename lowercase, copy and paste bat filename without .bat:
  20. # set /p crf=What crf do you want to use:
  21. # ffmpeg.exe -y -i %input% -sws_flags spline -sn -vf yadif=1:0 -s 1280x720 -c:v libx264 -preset slow -crf %crf% -acodec copy %output%.mkv
  22. # pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement