简体   繁体   English

是否有 python package 从 AVI、MP4 和 MKV 读取和更新元数据?

[英]Is there a python package to Read and update metadata from AVI, MP4 and MKV?

Does a python package exist for changing the metadata from video files like AVI, MP4 and MKV?是否存在用于更改 AVI、MP4 和 MKV 等视频文件的元数据的 python package?

I google a lot of stuff, but much of this was outdatet or only for pictures or audio files.我用谷歌搜索了很多东西,但其中大部分已经过时或仅适用于图片或音频文件。

Tried to read the headers of the files but got only binarys.试图读取文件的标题,但只得到二进制文件。

Is a python package available to change 'Title, Genre, Year.. ' in the files? python package 是否可用于更改文件中的“标题、类型、年份..”?

Regards问候

You can use the tinytag python package to access read the media files meta data.您可以使用 tinytag python package 来访问读取媒体文件元数据。 kindly refer the below library.请参考以下库。 https://pypi.org/project/tinytag/ https://pypi.org/project/tinytag/

Thank you,谢谢,

Sadly it is for read only and supports only mp4, not the other media types.遗憾的是它是只读的,只支持 mp4,不支持其他媒体类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM