From: Ayo Reis Date: Thu, 18 Sep 2025 20:15:59 +0000 (+0100) Subject: Add frame rate to FFmpeg command X-Git-Url: https://git.ayoreis.com/ayoreis.com.git/commitdiff_plain?ds=inline Add frame rate to FFmpeg command --- diff --git a/index.html b/index.html index f68fa47..f96180f 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,10 @@ list-style-position: inside; } + time { + font-style: italic; + } + a { color: inherit; } @@ -87,14 +91,15 @@
- +

(updated )

Speed up video in FFmpeg

-
ffmpeg -i input.mkv -vf "setpts=PTS/60" -an output.mp4
+
ffmpeg -i input.mkv -r 60 -vf "setpts=PTS/60" -an output.mp4
  • -i input.mkv input file
  • +
  • -r 60 frame rate
  • -vf "setpts=PTS/60" video filter, set presentation timespamp
  • -an no audio (unless you speed up audio too, the output's length will stay the same)
  • output.mp4 output file and format