ffmpeg 元数据
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您尝试过元数据标签吗?
-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