1 | initial version |
To create an output MP4 video with 720p resolution and 60fps using FFmpeg, you can use the following command line option:
ffmpeg -i input.ext -vf "scale=1280:720" -r 60 -c:v libx264 -preset fast -crf 20 -c:a aac -b:a 128k output.mp4
2 | No.2 Revision |
To create an output MP4 video with 720p resolution and 60fps using FFmpeg, you can use the following command line option:
ffmpeg -i input.ext -vf "scale=1280:720" -r 60 -c:v libx264 -preset fast -crf 20 -c:a aac -b:a 128k output.mp4
r 60
: Sets the output frame rate to 60fps.vf "scale=1280:720"
: This video filter option scales the video to 720p resolution (1280x720 pixels).