The script will find all the `.ts` files in that directory (NO SUBFOLDERS), then, using the `ffmpy` module in python, run `ffmpeg` on all the files to convert them to `mp4` files. It will put the transcoded file in the same directory as the original file. The script does NOT remove the original file. If you want to delete the original file, you can add the `--deleteOriginal` parameter to the command and if the transcoded file is between 0.25 and 1.2 times the size of the original it will delete the original.
0 commit comments