willsonlincake 发表于 2022-4-9 01:47:43

TinyTag获取视频属性

from tinytag import TinyTag

# Pass the filename into the
# Tinytag.get() method and store
# the result in audio variable
audio = TinyTag.get("GeeksForGeeks_Audio.m4a")

# Use the attributes
# and Display
print("Title:" + audio.title)
print("Artist: " + audio.artist)
页: [1]
查看完整版本: TinyTag获取视频属性