Bug: Opus files metadata parsing issue #143

Closed
opened 2026-04-24 22:59:27 +02:00 by adam · 3 comments
Owner

Originally created by @mx03 on GitHub (Dec 22, 2021).

Opus files (ogg) metadata (vorbis comment/id3) dont get parsed. Chapters works.

Update:
Probably because the mp3 can has only one stream and ogg format multiple, the tags are embedded inside the stream.

ffprobe mp3:
raw.format.tags

ffprobe opus/ogg:
raw.streams[streamNumber].tags

ffprobe examples:
meta.mp3.json.txt
meta.opus.json.txt

Originally created by @mx03 on GitHub (Dec 22, 2021). Opus files (ogg) metadata (vorbis comment/id3) dont get parsed. Chapters works. Update: Probably because the mp3 can has only one stream and ogg format multiple, the tags are embedded inside the stream. ffprobe mp3: `raw.format.tags` ffprobe opus/ogg: `raw.streams[streamNumber].tags` ffprobe examples: [meta.mp3.json.txt](https://github.com/advplyr/audiobookshelf/files/7765343/meta.mp3.json.txt) [meta.opus.json.txt](https://github.com/advplyr/audiobookshelf/files/7765344/meta.opus.json.txt)
adam closed this issue 2026-04-24 22:59:28 +02:00
Author
Owner

@advplyr commented on GitHub (Dec 23, 2021):

Ah yeah, didn't think about that. We can add an additional check for stream tags if format tags are not found.

@advplyr commented on GitHub (Dec 23, 2021): Ah yeah, didn't think about that. We can add an additional check for stream tags if format tags are not found.
Author
Owner

@advplyr commented on GitHub (Dec 25, 2021):

In v1.6.47 the prober will fallback to using the tags on the audio stream.
I didn't actually test this since I don't have any audio files like that.

@advplyr commented on GitHub (Dec 25, 2021): In `v1.6.47` the prober will fallback to using the tags on the audio stream. I didn't actually test this since I don't have any audio files like that.
Author
Owner

@mx03 commented on GitHub (Dec 25, 2021):

Thanks works perfect!

@mx03 commented on GitHub (Dec 25, 2021): Thanks works perfect!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#143