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.
11 lines
403 B
Python
11 lines
403 B
Python
6 years ago
|
from pydub.utils import mediainfo
|
||
|
from pydub import AudioSegment
|
||
|
import argparse
|
||
|
|
||
|
ap = argparse.ArgumentParser("metadatatohtml")
|
||
|
ap.add_argument("mp3")
|
||
|
args = ap.parse_args()
|
||
|
|
||
|
sound= AudioSegment.from_file(args.mp3, format="mp3")
|
||
|
file=sound.export(args.mp3, tags={"title":"Channeling Speech", "narrator":"angeliki", "topic":"transcribing, translating, human microphone, mediating each other's speech"})
|