onutesaul76555

FFmpeg resolution converter

Oct 30th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. @echo off
  2. cls
  3. title Video to SWF Converter
  4. ffmpeg -i input.mp4 -s 1280x720 output.swf
  5. cls
  6. ffmpeg -i output.swf -s 1280x720 convertedswf.mp4
  7. cls
  8. echo Successfully Converted!
  9. echo.
  10. echo Playing video...
  11. ffplay -i convertedswf.mp4
  12. pause
  13. exit
  14.  
  15. // @echo off means if command is entered, keep it hide
  16. // cls means if command entered needs to clear
  17. // -i means its a file location
  18. // input.mp4 input file
  19. // -s means is a resolution size of file
  20. // output.mp4 means is a converted file of video
  21. // echo. It means a blank text
  22. // ffplay means a FFmpeg player
  23. // pause means when waiting for user presses any key
  24. // exit means is an exit program
  25. -FFmpeg resolution sizes-
  26. // the resolutions
  27. // 240x240 - 240p resolution
  28. // 640x360 - 360p
  29. // 640x480 - 480p
  30. // 800x600 - second 480p
  31. // 1024x768 - not 720p
  32. // 1280x720 - 720p
  33. // 1366x768 - 720p
  34. // 1400x900 - 720p
  35. // 1400x1050 - 720p
  36. // 1600x900 - 720p
  37. // 1920x1080 - 1080p
  38. // 1920x1200 - 1080p
  39. // 2048x1536 - 1440p
  40. // 2560x1440 - 1440p
  41. // 2560x1920 - 4K
  42. // 3840x2160 - 4K (Awesome YouTubers)
  43. // 7680x4320 - 8K (Extreme YouTubers)
  44. // 15360×8640 - 16K (Very powerful)
  45. -FFmpeg convert sizes-
  46. 144p - ffmpeg -i input.mp4 -s 256x144 -r 8 output.mp4
  47. 240p - ffmpeg -i input.mp4 -s 426x240 -r 17 output.mp4
  48. 360p - ffmpeg -i input.mp4 -s 640x360 output.mp4
  49. 480p - ffmpeg -i input.mp4 -s 854x480 output.mp4
  50. 720p - ffmpeg -i input.mp4 -s 1280x720 -r 60 output.mp4
  51. 1080p - ffmpeg -i input.mp4 -s 1920x1080 -r 60 output.mp4
  52. 1440p - ffmpeg -i input.mp4 -s 2560x1440 -r 60 output.mp4
  53. 4k - ffmpeg -i input.mp4 -s 3840x2160 -r 24 output.mp4
  54. 8k - ffmpeg -i input.mp4 -s 7680x4320 -r 20 output.mp4
  55.  
  56. Resolution converter
Add Comment
Please, Sign In to add comment