ffmpeg 元数据

发布于 2025-01-03 09:05:26 字数 109 浏览 1 评论 0原文

我正在使用 libavformat(即 C 库)将 MPEG4/H264 编码为 mp4 文件,我想向 MP4 文件添加一些元数据,例如日期/时间。有人可以告诉我如何做到这一点吗?

谢谢。

I am encoding MPEG4/H264 to an mp4 file using libavformat (i.e. C libraries) I would like to add some metadata to the MP4 file such as date/time. Can someone give me some indication of how this can be done?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

就是爱搞怪 2025-01-10 09:05:26

您尝试过元数据标签吗?
-metadata title="我的标题" blahoutput.mp4

http://ffmpeg.org/ffmpeg.html# Main-options

查看一下你也可以使用 -timestamp 选项

did you try the metadata tag?
-metadata title="My Title" blahoutput.mp4

http://ffmpeg.org/ffmpeg.html#Main-options

looking it over you can also use the -timestamp option

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文