📌  相关文章
📜  ffmpeg 向视频添加多个文本 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:04.232000             🧑  作者: Mango

代码示例1
ffmpeg -i input.m4 -vf "[in]drawtext=text='Stack Overflow': \
fontcolor=white: borderw=2: fontfile=Arial Black: fontsize=w*0.04: \
x=(w-text_w)-(w*0.04): y=(h-text_h)-(w*0.04): enable='between(t,0,6)', \
drawtext=text='Stack Overflow': fontcolor=white: borderw=2: \
fontfile=Arial Black: fontsize=w*0.04: x=(w-text_w)/2: y=(h-text_h)/2: \
enable='between(t,7,10)'[out]" -codec:a copy output2.mp4