Convert HDZero TS file to MP4 file by Golang
- Clone repository
git clone https://github.com/ZhouYixun/hdzero-ts-to-mp4.git- Put your ts files to
inputfolder - Download ffmpeg in here -> https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z
- After downloading, unzip it and find
ffmpeg.exein thebinfolder and copy it to thesame directoryasmain.go - Run command
./ts2mp4.exe- Your mp4 files are converted in
outputfolder now!