FFMPEG Command to Add Gaussian Blur to Image in Terminal
27 views
Jun 3, 2025
ffmpeg -i input.jpg -vf "gblur=sigma=5" output.jpg
View Video Transcript
0:00
uh hello guys welcome to this video So
0:02
in this video I'll show you how to blur
0:05
a image file using a fmpg command So we
0:09
are taking a very simple image file here
0:11
which is a jpg image So if you want to
0:14
blur this
0:16
image so you can actually execute a very
0:19
simple ffmpg command So just write here
0:22
ffmpg i and just give the input file
0:25
name which is
0:26
profile.jpg And there is a video filter
0:28
you can apply in ffmppg which is blur
0:31
filter gshian blur in double quotes you
0:33
write here g blur and then you give
0:37
basically the value here gb blur is
0:40
equal to sigma and here you can control
0:42
the amount of blur in numeric value So
0:45
let me provide 10 and then followed by
0:48
the output file name So simply say blur
0:52
blur dot
0:54
jpg So very simple command It actually
0:57
takes your input image file Then we
1:00
apply this video filter which is gshian
1:02
blur Sigma is equal to the actual value
1:05
of the amount of blur that you want to
1:07
apply And this is the output image file
1:10
So as I enter you will see it will
1:12
create a another image file and it
1:16
will you will see it will blur the image
1:21
So you can see it has applied this
1:23
blurred effect and you can adjust the
1:26
blur here and accordingly using this
1:28
command just adjust the value here Let
1:31
me provide
1:32
two sigma value too
1:36
So so higher the value higher will be
1:39
the amount of blur So just make sure if
1:41
you want more blur you can increase this
1:46
value So you can see now the amount of
1:49
blur is
1:51
more So in this easy way you can blur
1:55
the image inside
2:04
JPG So in this way you can see that the
2:07
image is successfully blurred So can see
2:11
So thank you very much for watching this
2:13
video and also check out my website
2:15
freemediattools.com
2:17
uh which contains thousands of tools