1. 缩放frame
ffmpeg -i input.h264 -vf scale=w=width:h=height output.h264 (tmp.h264)
2. 截取video
ffmpeg -i input.h264 -ss 00:00:00.991 -t 1.1 -c:v copy output.h264
-ss 为起始时间
-t 为持续时间
3. 合并video
ffmpeg -i concat:"video1.h264|video2.h264" -c copy output.h264
NOTE:合并video的分辨率需要一致