[0:00] Uh hello guys uh welcome to this video. [0:02] So in this video I will show you a [0:04] ffmppg batch processing script or [0:08] command that you can actually run to [0:10] process multiple videos at a single [0:12] time. So if let's suppose if you have a [0:15] directory containing multiple videos [0:17] let's suppose it can contain either 10 [0:20] videos or it can contain 100 videos as [0:23] well. [0:24] So using this ffmppg script or command [0:27] that I will show you, it will process [0:29] and convert all these videos into MP3. [0:32] So it will extract all the sound from [0:34] this videos and save it as a MP3 file. [0:37] So just go to your command line and as [0:40] you can see we have four videos present [0:42] in my directory. So this is first, [0:45] second, third, fourth. All these videos [0:47] are in MP4 format MP4. So what I will do [0:51] is that I will convert all these four [0:53] videos into MP3. So just go to the [0:56] directory wherever your videos are [1:00] present. So simply open the command line [1:03] right here. So I just open command line [1:06] in the directory where all the videos [1:09] are present. So once you open it, this [1:12] is actually a very simple oneline [1:15] command that you simply write here for [1:18] and then you write percentage [1:22] sign I. So we are simply running a for [1:26] loop right here in the command line. So [1:28] for percentage sign I after that we just [1:32] need to say in and then parenthesis and [1:36] then we just need to write [1:38] here asterric sign right here and then [1:43] MP4. So this is essentially what it is [1:46] doing right here. It is looping through [1:47] all the videos which are present in this [1:49] folder. It is saying for and we have put [1:52] this placeholder variable I in and this [1:56] parenthesis is doing it [1:59] is MP4. So we are not providing names [2:02] right here. Names can be anything but we [2:05] just provided this extension that [2:07] ismpp4. So it is essentially it is [2:09] saying that if all the videos are [2:12] present in this folder is MP4. So one by [2:15] one it is uh do the processing of each [2:17] video and after that we just need to [2:20] execute the command here. So we simply [2:22] write [2:23] do [2:25] ffmppg dash i. So we take each video and [2:29] we execute this simple command ffmpg- i [2:32] and after that we just say in double [2:35] quotes percentage sign i. We take the [2:40] video and after that again we write uh [2:43] double quotes and we convert that video [2:46] into MP4. So we simply write here this [2:49] symbol which [2:52] is right in the keyboard right here. You [2:54] throw just put shift key you will see [2:58] this is actually the key right here and [3:01] then you [3:03] can [3:05] ni.mpp3. So I have given the command in [3:07] the description of this video. So you [3:09] can copy this command. So you just need [3:12] to write this [3:13] command in double quotes percentage sign [3:18] ni.mpp3. So as soon as I execute this [3:20] command right here, you will see it will [3:22] process each video and it will create [3:24] this MP3 file for each video in the same [3:27] directory. So you can see it will save [3:31] you a lot of time because if you have [3:33] thousands of videos present and if you [3:35] just want to convert videos into MP3 you [3:38] can just execute the script in the [3:40] command line and you will see the [3:43] processing has been complete and the [3:45] four MP3 videos have been created [3:47] automatically. So you can see if I so in [3:51] this video I will show you variable by [3:54] these three. So see it is extracted all [3:58] the sound. Here it [4:01] is dot [4:06] up do machine W6. So all the four videos [4:11] sound has been extracted which comes [4:14] right here four different MP3 files. So [4:17] I have given this command uh with a [4:20] little bit detailed article as well of [4:22] stra overflow.com where I got this [4:24] command. [4:26] So they have explained each option in [4:29] detail and after that they have also [4:31] given command from Linux. This command [4:34] will only work for Windows machine but [4:36] if you are on Mac or Linux they have [4:38] also given command from for that as [4:40] well. So you can refer this article. [4:44] I've given this article in the [4:45] description of this video. So if you are [4:47] on Linux or Mac, you basically copy this [4:49] command and it will do the same task for [4:52] you. So thank you very much for watching [4:54] this video and also check out my website [4:56] freemediattools.com [4:58] uh which contains thousands of tools [5:00] regarding audio, video and image.