I am using Windows 10 as my OS and ffmpeg as my tool of choice. I have a folder containing 20 video files in .ts format and 20 audio files in .aac format. I would like to merge the audio and the video files and have 20 output files. So far I am only able to merge a single video file with a single audio file to create a single output mp4 file. I am doing this using the following code in the command prompt:
ffmpeg -i file1.ts -i file1.aac -c:v copy -c:a copy output1.mp4
Is there a way that I can perform the task above for many audio and video files at once instead of doing one combination at a time. Kindly assist. Thanks.