-vf 字幕="左.srt" -vf 字幕="礼.srt"
下面这部分工作正常,但是如何给 hstack 代码的每个视频添加字幕?我将代码移到上面的命令周围,但没有成功
FFPLAY.EXE -f lavfi "电影=Left.mkv:seek_point=174,setpts=PTS-STARTPTS[v0];电影=Rite.mkv:seek_point=174,setpts=PTS-STARTPTS[v1];[v0][v1]hstack"
谢谢大家
答案1
找到了
白色字幕
FFPLAY.EXE" -f lavfi "movie=Left.mkv:seek_point=20.2, scale=704:-1,subtitles=Left.SRT, setpts=PTS-STARTPTS[v0];movie=Right.mkv:seek_point=6.2,scale=704:-1,subtitles=Right.srt, setpts=PTS-STARTPTS[v1];[v0][v1]hstack"
黄色白色字幕(额外)
FFPLAY.EXE" -f lavfi "movie=Left.mkv:seek_point=20.2, scale=704:-1,subtitles=.SRT:force_style='Fontsize=18,PrimaryColour=&H0000FFFF', setpts=PTS-STARTPTS[v0];movie=Right.mkv:seek_point=6.2,scale=704:-1,subtitles=.srt:force_style='Fontsize=18,PrimaryColour=&H0000FFFF', setpts=PTS-STARTPTS[v1];[v0][v1]hstack"