quodlibet / mutagen

Python module for handling audio metadata

Home Page:https://mutagen.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ffmpeg + ogg vorbis: header remain warning

rmeissn opened this issue · comments

I've used Ear Tag to batch tag some ogg vorbis files. Ear Tag uses mutagen under the hood.

After tagging, ffmpegs ffprobe showed [ogg @ 0x556109c47000] 5929 bytes of comment header remain as a warning about the file, which wasn't there before tagging it. Over several files, the address and byte numbers change, but the warning remains.

The dev of Ear Tag requested to post the issue here. See https://gitlab.gnome.org/World/eartag/-/issues/83#note_1772588

This is due to tag padding: https://mutagen.readthedocs.io/en/latest/user/padding.html

packets[0] = vcomment_data + b"\x00" * new_padding

If ffmpeg has a good reason why this should print a warning, or if there is a better way to handle tag padding in oggvorbis, I'm open to ideas.