Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- title Video to SWF Converter
- ffmpeg -i input.mp4 -s 1280x720 output.swf
- cls
- ffmpeg -i output.swf -s 1280x720 convertedswf.mp4
- cls
- echo Successfully Converted!
- echo.
- echo Playing video...
- ffplay -i convertedswf.mp4
- pause
- exit
- // @echo off means if command is entered, keep it hide
- // cls means if command entered needs to clear
- // -i means its a file location
- // input.mp4 input file
- // -s means is a resolution size of file
- // output.mp4 means is a converted file of video
- // echo. It means a blank text
- // ffplay means a FFmpeg player
- // pause means when waiting for user presses any key
- // exit means is an exit program
- -FFmpeg resolution sizes-
- // the resolutions
- // 240x240 - 240p resolution
- // 640x360 - 360p
- // 640x480 - 480p
- // 800x600 - second 480p
- // 1024x768 - not 720p
- // 1280x720 - 720p
- // 1366x768 - 720p
- // 1400x900 - 720p
- // 1400x1050 - 720p
- // 1600x900 - 720p
- // 1920x1080 - 1080p
- // 1920x1200 - 1080p
- // 2048x1536 - 1440p
- // 2560x1440 - 1440p
- // 2560x1920 - 4K
- // 3840x2160 - 4K (Awesome YouTubers)
- // 7680x4320 - 8K (Extreme YouTubers)
- // 15360×8640 - 16K (Very powerful)
- -FFmpeg convert sizes-
- 144p - ffmpeg -i input.mp4 -s 256x144 -r 8 output.mp4
- 240p - ffmpeg -i input.mp4 -s 426x240 -r 17 output.mp4
- 360p - ffmpeg -i input.mp4 -s 640x360 output.mp4
- 480p - ffmpeg -i input.mp4 -s 854x480 output.mp4
- 720p - ffmpeg -i input.mp4 -s 1280x720 -r 60 output.mp4
- 1080p - ffmpeg -i input.mp4 -s 1920x1080 -r 60 output.mp4
- 1440p - ffmpeg -i input.mp4 -s 2560x1440 -r 60 output.mp4
- 4k - ffmpeg -i input.mp4 -s 3840x2160 -r 24 output.mp4
- 8k - ffmpeg -i input.mp4 -s 7680x4320 -r 20 output.mp4
- Resolution converter
Add Comment
Please, Sign In to add comment