Source: http://stackoverflow.com/questions/7333232/concatenate-two-mp4-files-using-ffmpeg
ffmpeg -i myfile1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts int1.ts
ffmpeg -i myfile2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts int2.ts
ffmpeg -i "concat:int1.ts|int2.ts" -c copy -bsf:a aac_adtstoasc output.mp4
Comments
Post a Comment