[英]reading codec info of a file in python
I have a container file, for eg a.mp4.我有一个容器文件,例如 a.mp4。 How do I read the audio codec and video codec info of this file using Python.
如何使用 Python 读取此文件的音频编解码器和视频编解码器信息。 I just need to find out the codec info.
我只需要找出编解码器信息。 Can anyone please help me?
谁能帮帮我吗?
You can use MediaInfo .您可以使用MediaInfo 。
There is a Python wrapper for it.它有一个Python 包装器。 You can also use the dll directly
也可以直接使用 dll
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.