[0:00] Uh hello guys uh welcome to this video. [0:02] So in this video I will show you how to [0:04] write a batch processing script in [0:08] ffmppg to resize the multiple images [0:10] which are present in the directory in a [0:12] folder. So you can see we have these [0:15] images present which contains jpg png [0:19] images. So what I will need to do I need [0:21] to resize all these images to a [0:23] particular width and height using [0:24] ffmppg. For this I will just write a [0:27] simple batch script which will [0:30] automatically do the job for us. So we [0:33] will just create this resize dotbat [0:37] script. Let's see bat script. So right [0:41] here I have given the script in the [0:43] description of this video. So first of [0:45] all what we will do echo of we will make [0:48] a new [0:49] directory. So we make [0:52] directory resized. We will create this [0:55] folder and after that we will just run a [0:58] simple for [1:00] loop and uh you can see it is giving me [1:04] suggestions. So first of all we will [1:06] target all the png files png and then [1:10] for those we will simply execute this [1:12] command fmpp i and [1:17] inside double quotes we will simply [1:19] write uh percentage [1:22] sign and for each image we will be [1:25] applying this video filter which will be [1:27] the scaling filter [1:29] scale and inside the scale filter you [1:32] can actually provide uh whichever [1:34] dimension [1:36] uh you want to resize your image. So [1:38] first of all will be the width. So I [1:40] will resize to 800 width 600 [1:43] height and then you just need to give in [1:46] double [1:47] quotes the name of the output file which [1:50] will be resized [1:56] slash. So what I will do I will simply [1:59] copy paste the [2:02] script. So this is a script guys. So we [2:05] first of all make this folder. Once you [2:07] execute the script, this will create a [2:09] brand new folder resized inside this. It [2:12] will actually [2:14] uh target all the files right here which [2:17] starts from PNG, JPG, JPG. And for all [2:21] those files, we will resize it to 800 by [2:25] 600. And once we will complete, we'll [2:28] print out this message resizing [2:30] complete. So now it will detect all [2:32] these images which are present in the [2:33] directory which starts from PNG or JPG. [2:36] You will see that if I execute this uh [2:39] bat script [2:41] just you will see it will resize all [2:44] these images in the command line and it [2:47] will create this folder resized if you [2:50] see and you will see all the images are [2:53] being resized. You can cross check by [2:56] going to properties going to details. [2:58] You will see the width is 800 600. You [3:02] can target any image here. You can go to [3:05] details. You will see the width and the [3:08] height is 800 600. So in this easy way [3:11] guys, you can actually resize the bulk [3:14] images by this uh bat processing script [3:17] in ffmpg to resize multiple images to a [3:20] particular width and height. You can see [3:22] all your images have been successfully [3:24] resized. So this is a very important [3:26] script. I've given the script in the [3:28] description of this video. You can just [3:30] do this for all your images which are [3:32] there. [3:33] And also check out my website guys [3:36] freemediattools.com which contains [3:38] thousands of tools regarding audio