I use this code to convert all mp4 files in a folder to mkv
for %f IN (*.mp4) DO ffmpeg -i "%f" -c copy -strict -2 "%~nf.mkv" However I'm looking for a way to convert .mp4 as well as .ts (telesync) files to mkv in one go. Right now I have to do it separately. Any help would be appreciated.
Thanks.
for %f IN (*.mp4 *.ts) DO ...