FFMPEG Command to Increase or Decrease the Pitch & Tempo of the Audio File in Terminal
148 views
Jun 3, 2025
ffmpeg -i input.mp3 -filter:a "asetrate=48000*1.25,atempo=0.8" output.mp3 ffmpeg -i input.mp3 -filter:a "asetrate=48000*0.75,atempo=1.33" output.mp3
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
increase the pitch of the audio file or
0:06
tempo of the audio file inside FMPG You
0:10
can apply a very much easy filter So you
0:13
can manipulate the pitch of the audio
0:15
file Pitch is a very important thing in
0:17
audio So it can either increase it or
0:21
decrease it So this is we have the
0:22
simple MP3 file here Let me play it This
0:25
is the normal Hello guys welcome to this
0:28
video So
0:29
in now to change the SPF fps to be 30 So
0:33
this is the original audio that we will
0:36
be manipulating right here So now just
0:38
open the command line and we will be
0:39
writing a simple ffmpg command here So
0:42
ffmppg dash i and then we provide this
0:45
input file here input.mpp3 So we
0:48
providing it this input file right here
0:50
After that we just need to apply the
0:52
filter right here So dash filter colon a
0:56
and in double quotes So there is this
0:58
filter right here which controls the
1:00
pitch which is a s e t r a t e astrate
1:06
and here you provide a numeric value So
1:08
let me provide here
1:11
48,000 So this is actually the command
1:14
here and you just need to multiply it
1:16
just by 1.25 if you want to increase the
1:19
pitch and then comma 8o you will say
1:24
0.8 I have given all these commands in
1:26
the description of this video So then we
1:29
simply say the output file name So you
1:31
can see inside this filter in double
1:33
quotes we are providing this a straight
1:35
filter and a tempo 0.8 and then this is
1:39
your output file So if I just uh execute
1:42
this command here and now just listen
1:44
this output
1:46
file Uh hello guys welcome to this video
1:49
So in this video I will show you how to
1:52
change uh
1:53
44 and then here we need to so you can
1:57
see the pitch of the the tone of the
2:00
audio file is
2:02
increased Similarly we can
2:05
uh execute the second command here which
2:08
will decrease the uh tone and the pitch
2:12
Again we provide the simple input file
2:15
but here in this case we increase the
2:17
value of tempo right here If you want to
2:20
decrease the pitch we increase this
2:23
value and then we multiply it same right
2:27
here So if I execute once again you will
2:31
now
2:32
see if I open this now just listen Uh
2:36
hello guys welcome to the studio So in
2:38
this video I will show you how to change
2:40
uh frame per second of a particular
2:43
video So in this way guys you can
2:45
manipulate your audio in increasing the
2:48
pitch decreasing the pitch So these are
2:50
special effects that you can apply The
2:52
this is actually a normal audio file
2:54
that I'm showing right here You can
2:55
apply this to any songs as well any
2:58
music that you have for copyright issues
3:01
I can't show you but you can play with
3:03
this command with any sort of it can be
3:06
a song it can be music as well You can
3:08
manipulate the pitch
3:10
So this is actually the command here I
3:13
have given all these commands in the
3:14
description of this video So thank you
3:16
very much for watching this video and
3:18
also check out my website
3:20
freemediattools.com which contains
3:22
thousands of tools regarding audio video
3:24
and image
#Multimedia Software
#Music Videos
#Software