FFMPEG-获取创建和/或修改日期 [英] FFMPEG - Get creation and/or modification date

查看:239
本文介绍了FFMPEG-获取创建和/或修改日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力从服务器上托管的MP4文件中获取修改日期.

I'm trying hard to get the modification date from a MP4 file hosted on my server.

我尝试了以下库:

ffmpeg -i video.mp4

没有任何运气.我所得到的只是工期和其他一些字段,但我无法获得修改日期.我也尝试过ffprobe,它也不存在.

Without any luck. All I get is duration and a few other fields but I'm not able to get modification date. I tried ffprobe as well and it is not there either.

有什么建议吗?

非常感谢

推荐答案

我检查了您,确实,mp4在MDHD中具有修改时间条目,但未导出(请参见增强请求,以将此元数据功能添加到FFmpeg,但现在不会.无法帮助您,您将需要其他工具来阅读此字段.

I checked for you, and indeed, mp4 has a modification time entry in the MDHD, but it's not exported (see code). You can file an enhancement request to get this metadata feature added to FFmpeg, but right now it won't help you and you'll need another tool to read this field.

这篇关于FFMPEG-获取创建和/或修改日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆