convert all files of type in directory

for i in *.ts; do ffmpeg -i "${i}" -c:v libx264 -c:a copy -c:s mov_text "${i%%.*}.mp4"; done

Revision #6
Created 2021-11-12 20:46:31 UTC by Peter Schlager
Updated 2022-05-24 09:53:41 UTC by Peter Schlager