import ffmpeg
input= "input.mkv"
output = "output.mkv"
title = "Clinton Abraham"
try:
datas = 'title=' + title
mains = ffmpeg.input(input)
nemos = mains.output(output, map="0", metadata=datas, c="copy")
nemos.run(quiet=True)
print("METADATA MODIFIED ✅")
except ffmpeg.Error as e:
print(e.stderr.decode('utf-8'))
Now how to edit -metadata:s:v, -metadata:s:a , -metadata:s:s 🤔