The steps are as follows:

  1. Download required software FFmpeg 32/64 bit selection
  2. Copy this code and modify it

For%% a in ("D: source video directory *. ts") do ffmpeg - i "%% a" "D: converted directory %%~na. mp4"
pause
Create a new txt text, copy the code and modify it. Finally xxx.txt Suffix changed to xxx.bat ("xxx" stands for any name)

  1. hold xxx.bat Placed after decompression bin The directory contains three more exe If there is no file, the directory is wrong.
  2. Finally click xxx.bat function

Supplement:

In this way and with Format Factory The software is the same. At first, I thought it would be faster, but it didn't.