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
input
folder - Download ffmpeg in here -> https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z
- After downloading, unzip it and find
ffmpeg.exe
in thebin
folder and copy it to thesame directory
asmain.go
- Run command
./ts2mp4.exe
- Your mp4 files are converted in
output
folder now!