Obtain the duration of a mp4 file [duplicate]

一曲冷凌霜 提交于 2019-12-13 09:55:22

问题


I need to know the duration of a mp4 file with python 3.3. I search and try to do this with enzyme, atom, but i can't find the way to obtain these.

Thanks for your time.


回答1:


A number of previously answered questions deal with this issue:

  • How to get the duration of a video in Python?
  • Get total length of videos in a particular directory in python
  • Get dimensions of a video file
  • mpeg-2 library to extract video duration
  • Python native library to read metadata from videos?


来源:https://stackoverflow.com/questions/20097853/obtain-the-duration-of-a-mp4-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!