FFMPEG Command to Separate Vocals & Music and Create Karaoke From MP3 Audio in Terminal
47 views
Jun 3, 2025
ffmpeg -i song.mp3 -af pan="stereo|c0=c0|c1=-1*c1" -ac 1 karaoke.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
separate uh vocals and music uh
0:07
separately inside ffmpg So if you have a
0:11
music file or a song that you want to
0:13
separate the vocals and the music
0:16
separately and create a karaoke effect
0:19
you can actually use this ffmpg command
0:21
that I will show you
0:23
So let me just take a very simple MP3
0:27
file right here This is actually a MP3
0:29
audio file If I try to open this you
0:32
will see Hello guys
0:34
I have a simple simple now to change the
0:38
so this is actually the file and now I
0:40
will apply this command here Uh I've
0:41
given this command in the description of
0:43
this video So as soon as you apply this
0:46
command the command simply actually
0:48
takes the input audio file
0:51
fmppi song.mpp3 MP3 and then it actually
0:54
applies this audio filter which is AF
0:58
and then pan is equal to stereo So this
1:01
is actually the effect in double quotes
1:03
that we are applying right here the
1:05
filter and then this is your output file
1:09
name/ AC1 karaoke mp3 So as soon as I
1:13
execute this So just need
1:20
to So now you can see the command
1:22
executed successfully and it created
1:24
this cavity file right here And if you
1:28
try to open this
1:29
uh you will see the vocals will be
1:37
removed So now you can see the vocals
1:40
are completely removed
1:42
And uh you can try this command with a
1:46
audio file which actually is a song
1:48
which contains both music and vocals
1:51
because for copyright issues I can't
1:53
show you a specific song right here But
1:57
uh you can try this with any song or any
2:01
song that is there It will remove the
2:04
vocals from it and you will be able to
2:06
hear hear the music So I've given this
2:09
command in the description of this video
2:11
So it actually this command really works
2:14
very well to create the karaoke effect
2:17
It separates the vocals and the music So
2:20
I've given this command So thank you
2:22
very much for watching this video and
2:24
also check out my website
2:27
freemediatools.com which contains
2:28
thousands of tools
#Multimedia Software
#Music & Audio
#Music Streams & Downloads
#Music Videos
#Vocals & Show Tunes