-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mid3v2 not working with .opus files. #604
Comments
Pretty likely your file isn't a Ogg Opus file. If this indeed contains Opus encoded audio it's pretty likely that it is Matroska Opus, but Matroska containers are not yet supported by mutagen (see #3 and #396). If you have ffmpeg installed, can you run |
The issue got discussed on IRC and it turned out that the reason this brole was that the files got ID3 tags added to them. The command in the issue description also shows that mid3v2 was used on the Ogg Opus file, which is not supposed to be done as Ogg Opus does not use ID3 tags. Essentially this is not a bug. mid3v2 is not supposed to support Ogg tags, it is a direct replacement for id3v2 command. But a side effect seems to have been that mid3v2 added a ID3 tag block to the file. Not sure if this is inteded or should be prevented. See the discussion at https://chatlogs.metabrainz.org/libera/musicbrainz/2023-03-27/?msg=5152125&page=2 |
I understood Mutagen to be what Picard uses to modify the tags on my .opus
files, I further expected that Mutagen did it for all of the files Picard
tags and that was apparently fallacious. I took "Mutagen is a Python
module to handle audio metadata. It supports ASF, FLAC, MP4, Monkey’s
Audio, MP3, Musepack, *Ogg Opus*, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg
Vorbis," to mean that the CLI tool that does tagging tags all those files
including .opus files, you know, because that is what Picard uses to tag
files... I don't know if there's a way to make more clear what mid3v2 does
*not* do—of if it's moot since I'm the only one who would see it that way.
…On Mon, Apr 10, 2023 at 12:36 PM Philipp Wolfer ***@***.***> wrote:
The issue got discussed on IRC and it turned out that the reason this
brole was that the files got ID3 tags added to them. The command in the
issue description also shows that mid3v2 was used on the Ogg Opus file,
which is not supposed to be done as Ogg Opus does not use ID3 tags.
Essentially this is not a bug. mid3v2 is not supposed to support Ogg tags,
it is a direct replacement for id3v2 command. But a side effect seems to
have been that mid3v2 added a ID3 tag block to the file. Not sure if this
is inteded or should be prevented.
See the discussion at
https://chatlogs.metabrainz.org/libera/musicbrainz/2023-03-27/?msg=5152125&page=2
—
Reply to this email directly, view it on GitHub
<#604 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEC3GVM4PXNKLPSTWDVBJTXAQZINANCNFSM6AAAAAAWHXTGWQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Actually I think nothing should be changed, as this is exactly the behavior the original
The result is a file that only contains a ID3 block. But you can also run As |
From the README: "Mutagen is a Python module to handle audio metadata. It supports ASF, FLAC, M4A, Monkey's Audio, MP3, Musepack, Ogg Opus, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, WavPack, OptimFROG, and AIFF audio files."
I was expecting that the mutagen package would be able to retag the Album/TALB field of .opus files and be able to read them based on the second sentence above. What I found is that it mid3v2 doesn't modify .opus tags and mutagen-inspect does not "load and print information about an [opus] audio file and its tags:"
The text was updated successfully, but these errors were encountered: