I would like to concaternate a fairly large list of videos using FFMPEG.
The following answer from another question is highly relevant:
https://stackoverflow.com/a/11175851/5065462.
I explain below why it isn't sufficient for me.
I'm using MP4
files.
I am using Windows 10. I'd like to write a bat
file with arguments. I'll then call this from either Command Prompt
or PowerShell
.
I want to automate Option 1 https://stackoverflow.com/a/11175851/5065462 to take as input a
txt
(or similar) file containing the filepaths for the videos to be concatenated. I'm happy with all the default[#:v] [#:a]
options.
An alternative option is just to write a small program, either in
Command Prompt
orpython3
is fine, which outputs a text string that I just copy+paste intocmd/PS
. Unfortunately, I'm not sure how to usepython
to get filenames.
Option 2 in https://stackoverflow.com/a/11175851/5065462 looks great. Unfortunatley, the stream-encoding has issues with my mp4
files. I found they are fixed by using Option 1 in the linked answer. However, I don't want to type every filename each time.