Comments (4)
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 ffprobe [filename]
on the file? If the output says something like "Input #0, matroska" then it is a matroska file and unsupported. If it says "Input #0, ogg" it's supposed to work.
from mutagen.
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
from mutagen.
from mutagen.
Related Issues (20)
- Write into FLAC files via cli HOT 1
- File objects with no tags cast to boolean as false
- wav file bps incorrectly identified as absurdly high value HOT 3
- Unclear what the build system is HOT 5
- Mutagen updates ID3v1 tags but does not save ID3v2 tags HOT 4
- MP4.save() makes phone videos unreadable (Invalid NAL unit size)
- Having problems figuring out how to write to ID3 tags for MP3's HOT 3
- Updating APIC tag leads to empty cover art on Spotify's local files
- Performance on NFS-mounted files much helped by specifying buffering HOT 1
- mutagen-inspect shows tag data but mid3cp shows HOT 4
- OGG Vorbis file save fails: mutagen.ogg.error: unable to read full header; got b'\x00\x00' HOT 3
- Can't open wav ripped from DVD audio: Invalid Chunk - ordinal not in range(128) HOT 6
- OGG Vorbis: wrong (playback) duration / length reported on opus audio HOT 1
- "Universal" audio metadata class HOT 3
- Extensible wave format support HOT 2
- FLAC objects that compare equal do not have the same hash value
- Unable to add artwork to `.ogg` [vorbis] file HOT 9
- Add support for Audiobooks (.m4b) tags to EasyMP4
- Help with implementing ID3v3.2 spec in dart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mutagen.