试了很多种方法 要么合并处理起来很慢 要么有损 所以只能先将mp4转到ts流 ffmpeg -i X.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb X.ts 最后ts合并√