I would like to concatenate 3 mp4 videos into one avi video for every folder of a directory, with FFMPEG on Windows 7.
I have started this way:
ffmpeg -f concat -i mylist.txt -c copy E:\EA2014\EX14R\EX14R.avi
with mylist.txt being:
file 'E:\EA2014\EX14R\DCIM\100GOPRO\GOPR0001.MP4' file 'E:\EA2014\EX14R\DCIM\100GOPRO\GP010001.MP4' file 'E:\EA2014\EX14R\DCIM\100GOPRO\GP020001.MP4'
This works fine. Now, I would like to automate it because I have lots of those folders full of videos to merge. I tried with this to start with:
printf "file '$s'\n" .E\EA2014\EX14R\DCIM\100GOPRO\*.MP4 >> mylist.txt
But it tells me that
"printf is not recognized as an internal or external command, operable program or batch file"
Is it because I work in Windows? Anyone could help me achieve it in another way?
Needless to say that I am a newbie!
Thanks!