5 回复
求思路,检测头文件可以吗
简单来说,是不要重造轮子,用 go 去调用 ffmpeg,方法:
ffmpeg -v error -i file.avi -f null - 2>error.log
How can I check the integrity of a video file (avi, mpeg, mp4…)?
https://superuser.com/questions/100288/how-can-i-check-the-integrity-of-a-video-file-avi-mpeg-mp4

