<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Video on blog</title><link>https://debiplobi.github.io/tags/video/</link><description>Recent content in Video on blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 26 Jul 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://debiplobi.github.io/tags/video/index.xml" rel="self" type="application/rss+xml"/><item><title>How to increase a video framerate</title><link>https://debiplobi.github.io/posts/increase-video-framerate/</link><pubDate>Sat, 26 Jul 2025 00:00:00 +0000</pubDate><guid>https://debiplobi.github.io/posts/increase-video-framerate/</guid><description>&lt;p&gt;We are going to use frame interpolation method to increase a video framerate using ffmpeg,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;With NVIDIA GPU Card&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ffmpeg -hwaccel cuda -i input.mp4 -c:a copy -c:v libx264 -vf &lt;span style="color:#e6db74"&gt;&amp;#34;minterpolate=&amp;#39;mi_mode=mci:mc_mode=aobmc:vsbmc=1&amp;#39;&amp;#34;&lt;/span&gt; -c:v h264_nvenc -preset slow -r &lt;span style="color:#ae81ff"&gt;60&lt;/span&gt; -vb 20M output.mp4
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;Without NVIDIA Card&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ffmpeg -i input.mp4 -c:a copy -c:v libx264 -vf &lt;span style="color:#e6db74"&gt;&amp;#34;minterpolate=mi_mode=mci:mc_mode=aobmc:vsbmc=1&amp;#34;&lt;/span&gt; -preset slow -r &lt;span style="color:#ae81ff"&gt;60&lt;/span&gt; -b:v 20M output.mp4
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Explanation:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;input.mp4&lt;/code&gt; is your input video that you want to convert
&lt;code&gt;-preset&lt;/code&gt; the slower it is the better
&lt;code&gt;-r 60&lt;/code&gt; is the framerate that you want to convert into
&lt;code&gt;output.mp4&lt;/code&gt; is the output file&lt;/p&gt;</description></item></channel></rss>