I'm not an expert in batch programming, my only skill is in C\C++. I'm not even sure how to go about this really.
I've got a bunch of videos like Video1.mp4, Video2.mp4 (that's not their actual names, but they do have numbers indicating beginning and end)
Basically I have this FFMPEG
command that I can use to convert all of these to an aspect ratio of 16:10 that looks something like this:
"ffmpeg -i "Section 1 Video 1.mp4" -aspect 16:10 OutSection 1 Video 1.mp4"
"ffmpeg -i "Section 1 Video 2.mp4" -aspect 16:10 OutSection 1 Video 2.mp4"
"ffmpeg -i "Section 2 Video 1.mp4" -aspect 16:10 OutSection 2 Video 1.mp4"
Now instead of writing this command over and over again, is there anyway for me to substitute the numbers for actual variables? I know that Section 1 ends at Video 27 and Section 2 ends at Video 26 and so on. Basically I need the loop to run 165 times so I don't need to write the command 165 times.
Or is this beyond the scope of capability of a mere batch program?