You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
272 B
Python

from pydub import AudioSegment
from pydub.utils import mediainfo
print (mediainfo("podcasts/3_podcast.mp3"))
# sound= AudioSegment.from_file("podcasts/3_podcast.mp3", format="mp3")
# file=sound.export("out.mp3", tags={"podcaster":"lain"})
# print (mediainfo("out.mp3"))