WEBVTT

00:00.480 --> 00:02.560
uh hello guys uh welcome to this video

00:02.560 --> 00:04.680
So in this video I will show you how to

00:04.680 --> 00:07.919
remove the audio from your video and

00:07.919 --> 00:10.120
replace it with a new

00:10.120 --> 00:12.800
audio and we will loop through if the

00:12.800 --> 00:15.519
audio length is shorter than the video

00:15.519 --> 00:19.119
So this is a very complex fmpp command

00:19.119 --> 00:21.600
but it's very easy to learn So it will

00:21.600 --> 00:24.160
basically do a lot of good things So we

00:24.160 --> 00:27.760
have a simple video file Let me play it

00:27.760 --> 00:31.439
So this is welcome variable created can

00:31.439 --> 00:33.680
see you can see it's a original video

00:33.680 --> 00:36.239
right here with my original voice here

00:36.239 --> 00:37.960
So what I command

00:37.960 --> 00:41.120
f what this ffmpg command will do it

00:41.120 --> 00:43.600
will remove this audio from this video

00:43.600 --> 00:44.680
mpg

00:44.680 --> 00:47.039
just first of all it will remove this

00:47.039 --> 00:50.000
audio and it will replace this with this

00:50.000 --> 00:53.039
beep sound you will

00:54.039 --> 00:57.600
see So it's a 1second beep sound MP3

00:57.600 --> 01:00.640
file If you see we have this beep in the

01:00.640 --> 01:03.440
same directory and we will first of all

01:03.440 --> 01:06.479
remove this audio and then replace this

01:06.479 --> 01:10.320
inside entirety with this beep sound So

01:10.320 --> 01:13.439
just open command line in the directory

01:13.439 --> 01:15.600
where all these assets are present and

01:15.600 --> 01:18.960
simply type here f ofmppg and then dash

01:18.960 --> 01:21.759
i to provide the input file name So

01:21.759 --> 01:24.119
input file name is 2.mpp4

01:24.119 --> 01:29.240
MP34 So after that we simply say dash

01:29.240 --> 01:32.119
stream and dash

01:32.119 --> 01:34.119
stream

01:34.119 --> 01:36.560
underscore So here we just need to write

01:36.560 --> 01:39.640
underscore loop

01:39.640 --> 01:44.439
dash loop and then dash

01:44.439 --> 01:48.640
1 and dash dash i And here we need to

01:48.640 --> 01:51.520
loop through this uh new audio If you

01:51.520 --> 01:53.600
see this is the name of the audio file

01:53.600 --> 01:57.079
So we simply say beep do

01:57.079 --> 02:00.479
mp3 and after that we just need to map

02:00.479 --> 02:02.960
to the entire video So we use this map

02:02.960 --> 02:08.280
filter dash map after that zero colon

02:08.280 --> 02:11.920
v So this is after that we simply write

02:11.920 --> 02:19.840
dash map 1 dot 1 a So just pause the

02:19.840 --> 02:21.920
video and just write whatever whatever

02:21.920 --> 02:24.319
I'm writing right here underscore a

02:24.319 --> 02:26.239
after that we need to simply copy the

02:26.239 --> 02:28.080
encoding settings For doing that we

02:28.080 --> 02:31.680
simply say dash c colon v So this will

02:31.680 --> 02:35.040
copy the encoding settings and here we

02:35.040 --> 02:40.879
simply write copy and dash

02:41.000 --> 02:43.840
shortest So it will take short amount of

02:43.840 --> 02:46.239
time and then the output file name So

02:46.239 --> 02:50.440
we'll say replaced dot

02:50.440 --> 02:53.680
mp4 So what this is command is doing

02:53.680 --> 02:56.000
guys we providing the input file then we

02:56.000 --> 02:58.720
are removing the original audio and

02:58.720 --> 03:01.840
replacing it with this new audio and we

03:01.840 --> 03:04.959
are looping through and we are copying

03:04.959 --> 03:07.280
the encoding settings and then this is

03:07.280 --> 03:09.440
your output file name So if I press the

03:09.440 --> 03:11.120
enter key and you will see it will

03:11.120 --> 03:14.159
process this uh input video file and it

03:14.159 --> 03:16.720
will create a new video file right here

03:16.720 --> 03:19.440
and if I try to open this you will see

03:19.440 --> 03:22.480
the audio is

03:25.800 --> 03:28.800
removed So you can as you can see the

03:28.800 --> 03:31.120
audio which was there in this video is

03:31.120 --> 03:33.120
completely removed and it has been

03:33.120 --> 03:37.120
replaced by a new audio This can be any

03:37.120 --> 03:40.720
music file as well You can replace it

03:40.720 --> 03:43.599
with any music which will appear for

03:43.599 --> 03:46.159
copyright issues I'm not I'm just using

03:46.159 --> 03:48.319
this beep sound So you can just have any

03:48.319 --> 03:52.239
MP3 file You can replace it with any new

03:52.239 --> 03:55.239
uh MP3 file that you

03:55.239 --> 03:58.319
recorded So this I've given this command

03:58.319 --> 04:01.000
in the description of this video So

04:01.000 --> 04:05.360
just execute this and it will do this it

04:05.360 --> 04:06.879
will remove the original audio and

04:06.879 --> 04:10.239
replace it by with uh whatever MP3 file

04:10.239 --> 04:12.480
that you want to use to the entirety of

04:12.480 --> 04:16.479
the video So this was a tutorial in fmpp

04:16.479 --> 04:18.239
which will save you a lot of time

04:18.239 --> 04:21.280
because uh many a times you want to

04:21.280 --> 04:25.360
replace audio inside your video for some

04:25.360 --> 04:27.680
reason So this command will in that

04:27.680 --> 04:30.560
situation will be very useful So I've

04:30.560 --> 04:32.240
given this command in the description of

04:32.240 --> 04:35.040
this video and also check out my website

04:35.040 --> 04:36.720
freemediatools.com

04:36.720 --> 04:38.880
uh which contains thousands of tools

04:38.880 --> 04:42.800
regarding audio video and image
