获取mp4文件的持续时间 [英] Obtain the duration of a mp4 file

查看:342
本文介绍了获取mp4文件的持续时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用python 3.3了解mp4文件的持续时间.我搜索并尝试使用酶,原子来做到这一点,但我找不到获取这些的方法.

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.

感谢您的时间.

推荐答案

许多先前回答的问题都与该问题有关:

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?

这篇关于获取mp4文件的持续时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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