ffmpeg将视频标题/名称添加为字幕轨道

问题描述 投票:0回答:1

是否有使用ffmpeg的简单方法来添加视频标题(mp4,mkv等)作为自定义字幕轨道(在整个视频过程中持续使用?

例如:视频持续时间为100秒的“ foo.mp4历险记”将从字幕轨道的第二个0-100嵌入字幕“ foo.mp4历险记?”

ffmpeg subtitle
1个回答
0
投票
WEBVTT 00:00:00.000 --> 00:01:40.00 The adventures of foo

并运行。

ffmpeg -i "The adventures of foo in.mkv" -i "The adventures of foo.vtt" -c copy -disposition:s:0 +default "The adventures of foo out.mkv"
© www.soinside.com 2019 - 2024. All rights reserved.