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/refs/heads/main?ds=inline;hp=e27988e9edab55c109d30ffce8b287ed6a4067a6 Add frame rate to FFmpeg command --- diff --git a/index.html b/index.html index 0b39234..f96180f 100644 --- a/index.html +++ b/index.html @@ -21,23 +21,90 @@ src: url("/inter-italic.woff2"); } + * { + box-sizing: border-box; + margin: 0; + padding: 0; + } + body { + padding: 24px; font-family: --inter; - font-size: 32px; + font-size: 24px; font-weight: 500; + line-height: 1.5; text-transform: lowercase; background-color: #f77ee5; } + :where(h2, h3, p, pre, ul):not(:first-child) { + margin-top: 0.5lh; + } + + h2, h3 { + font-size: 32px; + } + + pre { + white-space: pre-wrap; + + > code { + display: block; + padding: 24px; + } + } + + ul { + list-style-position: inside; + } + + time { + font-style: italic; + } + a { color: inherit; } + + code { + color: white; + background-color: black; + } + + #log { + margin-top: 64px; + padding-top: 64px; + border-top: 4px dashed black; + + > article > header > h3 { + margin-top: 0; + } + }

Hey there, I'm Ayo!

-

Here are some projects I'm working on: git.ayoreis.com.

+

Here are some projects I'm working on: git.ayoreis.com.

(the background colour is #f77ee5 btw :3)

- + +
+
+
+

(updated )

+

Speed up video in FFmpeg

+
+ +
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
  • + +
+
+