Good ideas and conversation. No ads, no tracking. Login or Take a Tour!
I don't know why, but the ffmpeg wiki says you can avoid generating the input file. I'd be tempted to just loop through the sub directories (ls -d */) and copy/paste the wiki example.