Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 8937

Batch merge sets of video files?

$
0
0

I have 158 folders, each containing 5-15 video files that are each a few minutes long. I would like to merge all of the videos into one video per folder, and delete the rest.

The folders are named as dates in a certain year with gaps between them (01.11, 01.12, 01.13, 01.14, 01.18 ... 01.28, 02.01, etc.), and the files in them are named as follows:

ds_AAAAA_BB_CCC_480.mp4

The first blank (AAAAA) is a number that is the same for all files in that folder. For folder 01.11, the number is 03075, and it goes up by one for each folder after that.

The second blank (BB) is the order of the files, from 01 to however many files are in that folder.

The third blank (CCC) is a set of three letters that varies per file and can be ignored.

For a couple examples, the first file in the first folder (01.11) is ds_03075_01_nws_480.mp4. The last (7th) file in the fourth folder (01.14) is ds_03078_07_zen_480.mp4.

Ideally, I'd like the new files to be in a separate folder (just to make it easy to delete the old files), and named in a format like 01_11.mp4, 01_12.mp4, and so on, but any naming convention there would be fine.

Does anyone have any suggestions as to how to go about this?


Viewing all articles
Browse latest Browse all 8937

Trending Articles