Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因此,当将文件附加到 matroska 容器时,它们会获得一个名称,通常是它们的原始名称。但是,当您运行 Windows 并提供要附加的文件的完整路径时,ffmpeg 将该完整路径设置为附件的名称。如何重命名该附件,最好使用与附件过程相同的命令?
好的,几个月后我知道了解决方案:使用
-metadata:s:t filename="cover.jpg"
将 cover.jpg 替换为您想要存储在 matroska 文件中的文件名。如果您使用多个附件运行更复杂的内容,则流说明符 ( :s:t) 可能对您有所不同,请参阅 -map+metadata ffmpeg 文档
:s:t