如何读取视频文件的时间长度信息

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

如何读取视频文件的时间长度信息

Alex Cheng
大家好, 我想用python 读取视频文件的时间长度信息, 请问如何去做, 谢谢。
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 如何读取视频文件的时间长度信息

IQDoctor
以前曾经做过相关的 ActiveX, 记忆中 windows 下, 可以通过调 mediaplayer 的
com接口加载
一段梅体文件, 然后有相应的方法可以获得长度.



chueng alex1985 写道:
> 大家好, 我想用python 读取视频文件的时间长度信息, 请问如何去做, 谢谢。
> ------------------------------------------------------------------------
>
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese