Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Crop works but 25fps
- #
- # set /p input=What is the Input filename, eg input.ts:
- # set /p output=What is the Output filename lowercase
- # ffmpeg -i %input% -r 1 frame.bmp
- # mspaint frame.bmp
- # set /p width=What is the width (pixels cropped left + right subtracted from 1920):
- # set /p height=What is the height (pixels cropped top + bottom subtracted from 1080):
- # set /p left=How many pixels to crop from the left:
- # set /p top=How many pixels to crop from the top:
- # set /p crf=What crf do you want to use:
- # 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
- # %output%.bat
- # pause
- #
- # 50fps but no crop
- #
- # set /p input=What is the Input filename, eg input.ts:
- # set /p output=What is the Output filename lowercase, copy and paste bat filename without .bat:
- # set /p crf=What crf do you want to use:
- # 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
- # pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement