FFMPEG Command to Change FPS & Speed of Video Using fps Filter in Terminal
49 views
Jun 3, 2025
ffmpeg -i 2.mp4 -filter:v fps=30 framerate.mp4
View Video Transcript
0:00
uh hello guys welcome to this video so
0:02
in this video I will show you how to
0:04
change uh frame per second of a
0:07
particular video or also speed of a
0:09
video using FMPG right in the terminal
0:12
so you can see we have a simple video
0:14
right here
0:17
1.mpp4 and
0:19
uh now to change the FPS we simply write
0:22
here f ofmppg then we provide the input
0:25
file by using this flag here dash i so
0:28
we need provide the name of the file
0:30
here
0:32
1.mpp4 and then here we need to apply a
0:35
filter to apply the filter we simply
0:38
write here dash filter colon v so this
0:42
is actually the format here dash filter
0:44
colon v and after that here we just need
0:47
to specify the fps so you can just input
0:51
any numeric value here fps maybe 30 60
0:55
90
0:57
so let me just provide FPS to be 30 and
1:01
then the output file name so what this
1:06
command will do which will actually take
1:08
this input file right here that we
1:10
provide it will apply this filter and
1:13
change the frame per second of this
1:15
video to 30 frame per second FPS frame
1:19
rate and this is your output file so
1:21
just enter and you will see the command
1:23
will process this video and it will
1:25
actually create this output file right
1:27
in the same
1:30
directory so FPS is generally used if
1:34
you want to change the speed of the
1:37
video so generally higher FPS videos are
1:42
little bit smoother in running you can
1:44
see the output file is created if I open
1:47
this
1:48
file uh hello guys welcome to the
1:51
website and download so this is 30 frame
1:53
per second each second how many frames
1:56
are captured this is meant by FPS so
1:59
higher the FPS value smoother will be
2:02
the video and now if I change this
2:04
command let's suppose I change FPS to
2:07
one so now
2:08
the output video if you see the video
2:12
will be little bit uh stuck stucky video
2:16
the output video and only one frame per
2:19
second will be there so guys welcome to
2:22
this video so in this video I'll show
2:24
you how to fix this
2:26
so you can just see
2:29
the output video here with FPS is equal
2:33
to one so in this way you can also
2:34
change the speed of the video as well
2:37
so it doesn't affect the audio of the
2:40
video audio is not affected but uh just
2:44
the FPS you can just manipulate directly
2:47
using this command it's very
2:49
easy so just take the input video and
2:52
here in inside this FPS you change the
2:55
FPS of the video and thank you very much
2:58
for watching this video and also check
3:00
out my website
3:02
freemediatools.com which contains
3:04
thousands of tools
#Multimedia Software