EXIF就像视频一样 [英] EXIF like thing for Videos

查看:91
本文介绍了EXIF就像视频一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何标准方法可以从视频文件中获取信息?对于图像,我们拥有EXIF数据,可用于获取有关图像文件的日期/时间,大小等信息.我想知道视频中是否也有这种东西.

Is there any standard way to get information from a video file? For images we have EXIF data which can be used to get information about the date/time , size etc of the image file. I was wondering if there is such a thing for videos as well.

用例是-我有很多用数码相机拍摄的视频.我想将它们重命名为更有意义的名称,例如YYYY-MM-DD而不是Video_N. YYYY-MM-DD应该是视频拍摄的日期和时间.

The use case is - I have lot of videos which I shot from my digital camera. I want to rename them to something more meaningful like YYYY-MM-DD rather than Video_N . The YYYY-MM-DD should be the date and time when the video was shot.

任何使用Python,C/C ++,Perl的解决方案将不胜感激,但是如果您有其他语言的解决方案,请告诉我.

Any solution in Python, C/C++, Perl would be appreciated but if you have solution in other language, please do let me know.

谢谢.

推荐答案

exiftool 读取视频容器及其元数据.

exiftool reads video containers and their metadata.

这篇关于EXIF就像视频一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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