Aaron Schif
Aaron Schif

Reputation: 2442

Edit MP4 metadata using Python

I need to give attributes (meta data) to a file in python code on Linux, specifically Ubuntu.

Specifically I need to set the author, title, album, etc. on MP4 files.

Upvotes: 9

Views: 20762

Answers (2)

JayRizzo
JayRizzo

Reputation: 3636

I know this post is ancient, but, If anyone is interested I put together some basic example python code.

I am focused on MP3s but going to expand it, just working on a custom MP3 Player with TKinter & Mutagen.

This example is strictly using Mutagen: https://github.com/JayRizzo/MP3Player/blob/master/mp3TagEditor.py

Upvotes: 1

aesptux
aesptux

Reputation: 128

You could try with Mutagen or Tagpy

Both seem very straightforward, but I don't have any experience with them.

Upvotes: 7

Related Questions