Chapters not working

Issue description:

Using my local device as source I have audiobooks with chapters mainly as opus files. These files are properly scanned and added to the library using the metadata from the tags apart from the chapters.

According to the documentation an icon should appear in the player screen but it doesn’t. Same result when I add a m4b file with chapters.

So am I expecting something wrong or are these chapters not supported?

Logs:

Upload description: leschranz

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Local device

Screenshots:

     

Chapters are extracted during playback I need logs during playback + one of the file https://upload.symfonium.app

I have uploaded both a new log and one of my books.

What tool do you use to add chapters like that and what are the apps supporting that ?

The chapters are added using ffmpeg and a txt file for the metadata, which basically looks like this:

Blockzitat
;FFMETADATA1
encoder=Lavf62.0.102
[CHAPTER]
TIMEBASE=1/1000
START=0
END=1713371
title=Prologue
[CHAPTER]
TIMEBASE=1/1000
START=1713371
END=2621656
title=Part I / Chapter 1

I guess ffmpeg decides what to write as metadata because that format can be used for mp3, m4b, opus.

These chapters are recognized in Voice, foobar2000 and Antennapod (that’s what I have used so far).

Well unfortunately opus does not have an official way to describe chapters and so they just write tags with 3 digits increments without an indication that there’s chapters and chapters counts

That’s not an official way to do that … Can you upload an mp3 and m4b tagged with the same command to see what tags it use for those formats ? (and Flac if you can)

I have uploaded the requested files for you. And you said “not an official way”, however it is at least the official way how chapters are defined in opus files (see here).

Can you confirm there was chapters in the FLAC file? Can’t find tags or anything related to that and neither ffmpeg.

Sorry, but there were indeed no chapters in the flac, apparently ffmpeg did not add them. I have uploaded another flac file where I added the chapters with kid3. As per specifications the chapters are vorbis comments, just like for opus. However I have not yet found a player that reads the flac chapters.

Ok thanks, all four files will be supported in next release.

Excellent, thank you!