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.
我有一个带有嵌入式封面艺术的 flac 源文件,以及在保留封面艺术的同时将其转换为 mka 的内容。问题是 matroska 需要附加封面艺术。我可以使用提取原始封面
ffmpeg -i target.flac -vcodec copy cover.jpg
然后使用-attach. 我的问题是,是否有任何方法不从文件加载附加数据,而是从第一个命令(作为流)加载并内联执行此操作。
-attach
不,matroska muxer 只接受归类为附件类型的流。目前,只有使用-attach. 只有像 MP4 这样的多路复用器才能处理带有附加图片处置标记的流,并且处置可以内联分配。