【发布时间】:2020-09-26 04:05:50
【问题描述】:
我按照以下步骤操作:
-
添加了黑条
-vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1" 来源:How to add black borders to video
-
添加了字幕(“刻录”到视频中)
ffmpeg -i "imput.mp4" -lavfi "subtitles=subtitles.srt:force_style='Alignment=0,OutlineColour=&H100000000,BorderStyle=3,Outline=1,Shadow=0,Fontsize=18,MarginL=5 ,MarginV=25'" -crf 1 -c:a copy "output.mp4" 来源:ffmpeg subtitles alignment and position
现在我不知道如何将字幕放置在视频下方或黑屏中。
编辑:添加屏幕截图以澄清
【问题讨论】: