使用 -ss 参数 截取01:23:45的一帧为output.jpg ffmpeg -ss 01:23:45 -i input -vframes 1 -q:v 2 output.jpg 插入一个图 image.png 片到 input.mp4 介于0 ~ 20秒 ffmpeg -i input.mp4 -i image.png \ -filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,0,20)'" \ -pix_fmt yuv420p -c:a copy \ output.mp4 overlay=25:25 表示距离left top 分别是25px 25pxenable='between(t,0,20)' 插入0 到 20秒 具体请看:http://superuser.com/question...
使用
-ss
参数 截取01:23:45的一帧为output.jpg插入一个图
image.png
片到input.mp4
介于0 ~ 20秒overlay=25:25
表示距离left top 分别是25px 25pxenable='between(t,0,20)'
插入0 到 20秒具体请看:http://superuser.com/question...