如何从视频文件中检索元数据
我用手机录制了视频。现在,对于我的桌面应用程序,我需要检索开始录制视频的时间戳。 我想我必须访问元数据,所以我尝试使用 JMF(我用它在我的应用程序上播放视频),但我认为它不提供视频文件的元数据,或者直到现在我还没有找到它! 如果我使用类 java.util.Properties,使用列表方法它不会检索任何内容(返回空列表)。 如果我使用 java.io.File,我只能检索文件的最后修改时间,而不能检索视频的最后修改时间。
那么如何获取开始录制视频的时间呢? 请帮我! 渡渡鸟
I recorded a video using my phone. Now, for my desktop application, I need to retrieve the timestamp of when I start recording video.
I suppose I have to access metadata, so I tried using JMF (which I use to play video on my app), but I think it doesn't provide metadata of a video file, or until now I've not found it!
If I use the class java.util.Properties, using the list method it doesn't retrieve anything (returns an empty list).
If I use the java.io.File, I can only retrieve the last modified of the file, but not of the video.
So how can I retrieve the time of starting recording video?
Please help me!
Dodo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论