FFMPEG Command to Scale MP4 Video into All Popular Quality Versions 1080p, 720p, 480p, 360p, 240p
130 views
Jun 3, 2025
ffmpeg -i input.mp4 -filter:v scale=1920:1080 -c:v libx264 -crf 23 -preset fast 1080p.mp4 -filter:v scale=1280:720 -c:v libx264 -crf 23 -preset fast 720p.mp4 -filter:v scale=854:480 -c:v libx264 -crf 23 -preset fast 480p.mp4 -filter:v scale=640:360 -c:v libx264 -crf 23 -preset fast 360p.mp4 -filter:v scale=426:240 -c:v libx264 -crf 23 -preset fast 240p.mp4
View Video Transcript
0:00
uh hello guys welcome to this video so
0:03
in this video I will show you how to
0:05
basically scale or convert your videos
0:09
into various uh quality formats such as
0:12
whenever you try to upload a video in
0:13
different qualities i will show you
0:15
ffmpg command which will create all
0:18
these videos qualities instantly so you
0:21
can see we have a simple mp4 video in my
0:24
directory so I have given this command
0:27
in the description of this video so as
0:31
soon as I paste this command here so
0:33
this will actually scale or convert this
0:36
uh video to various quality types which
0:39
is uh 2 240p 480p full HD HD so it will
0:46
actually convert this single video and
0:49
it will create uh five versions of this
0:53
video in different qualities so let me
0:55
just replace the name here which is
0:58
1.MPP4 and execute this so now you will
1:01
see it will create these five qualities
1:04
of
1:05
videos 180p 720p 480p 360p and 240p so
1:10
it is just executing this command here
1:13
so just wait for the command to finish
1:16
so it's a very useful command because if
1:18
you try to upload a video on social
1:20
media in different qualities this
1:22
command will be very much helpful you
1:25
basically execute this command and then
1:27
it will create the five versions of this
1:30
which is
1:31
240p you can see that so with this
1:34
single command we actually generated
1:36
five versions of this
1:40
video so just wait for the command to
1:44
finish so you can see it is also showing
1:47
this progress bar it is processing this
1:50
video bit by bit and you can see that
1:55
so so I've given this command in the
1:58
description of this video so this is
2:01
actually the original video
2:03
here if I try to open this you will see
2:06
this is the original
2:08
video about
2:11
uh 2 minute 10 second this is actually
2:14
the length of the video so the command
2:17
will take time depending upon how much
2:19
is the length of the video so now it has
2:23
successfully processed it and it has
2:25
created five versions of this video in
2:27
different qualities here so you can see
2:30
that so we can try try to open this
2:32
video in
2:33
240p you can now see this is will be
2:36
little bit compressed and you can see
2:38
little bit blurry as well so this is
2:41
there in the 240p quality and now this
2:44
will be in the 360p
2:48
quality little bit better but still it
2:51
is
2:52
blurry and this this is the same process
2:55
youtube also follows the same process
2:57
whenever you try to upload a video on
2:59
YouTube it it basically makes five
3:02
versions of the video in different
3:04
qualities depending upon the internet
3:05
connection of the user so whenever they
3:08
are uh seeing the video it creates this
3:11
executes this command
3:13
okay and this is actually 720 here HD
3:17
version of the video
3:20
uh hello
3:23
and this is actually the 180p which is a
3:25
full HD
3:30
so you can see that so with this single
3:33
command uh now let me show you the
3:35
command here it is little bit complex
3:37
very long command so first of all we
3:39
provide the input here ffmppg- i input
3:43
file then we apply these filters dash
3:46
filter v we are scaling this video in
3:48
different five qualities here first of
3:50
all 920 by 1080p we are using this
3:53
encoder here lib x64 we are having the
3:56
CRF value which is 23 preset fast and
4:00
this is the first quality here 1080p
4:03
then again we are applying this second
4:04
filter which will scale this video
4:08
in 1280 by
4:10
720 this will be 720 here this will be
4:15
so here we are just having the scale
4:16
property here so you actually manipulate
4:19
the scale property in the video filter
4:21
you provide the width and the height and
4:23
it will scale down the video in
4:25
different qualities here so you can see
4:27
that so with this single command you can
4:30
generate the five versions of qualities
4:33
so the command is given in the
4:34
description and thank you very much for
4:36
watching this video and also check out
4:39
my website here which is
4:40
freemediatools.com
4:42
uh which contains thousands of tools
4:44
regarding audio video and image
#Media Streaming Devices
#Multimedia Software
#Online Video
#Photo & Video Sharing
#Video Sharing