标签:
把4个视频(1.f4v, 2.f4v, 3.f4v, 4.f4v)合并成一个文件(out.mp4)
基本无损,而且速度飞快!
ffmpeg.exe -i 1.f4v -vcodec copy -acodec copy -vbsf h264_mp4toannexb 1.ts
#-vcodec copy -acodec copy can also be -c copy
ffmpeg.exe -i 2.f4v -vcodec copy -acodec copy -vbsf h264_mp4toannexb 2.ts
ffmpeg.exe -i 3.f4v -vcodec copy -acodec copy -vbsf h264_mp4toannexb 3.ts
ffmpeg.exe -i 4.f4v -vcodec copy -acodec copy -vbsf h264_mp4toannexb 4.ts
ffmpeg.exe -i "concat:1.ts|2.ts|3.ts|4.ts" -acodec copy -vcodec copy -absf aac_adtstoasc out.mp4
标签:
原文地址:http://www.cnblogs.com/roronoa-sqd/p/5370472.html