Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Play MKA file and show the Chapters name (Read 568 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Play MKA file and show the Chapters name

Hi all,

I have several mp3 file (>500) and I wuold like to merge them in just one file, with an index. I am using MKVToolNix to merge all the files in just one MKA file, creating a Chapter for each of them, it seems to work.

If I open the MKA file with VLC, the player correctly identify the Chapters, showing them in the timeline and in the list of Chapters. If I try with foobar2000 (I drag&drop the MKA file in the playlist), it is correctly shown as split in several items, one for each Chapter but I have no clue how to display the Chapter name (which is visible in VLC). So far I managed only to display %subsong%, which is a numeric index of the chapter, but not it's name.

Any advice if/how is it possible to show also the Chapter name of a MKA file in foobar2000?

Thank you!

Re: Play MKA file and show the Chapters name

Reply #1
I guess foobar2000 just can't show MKA file chapter names. But, if you want, you can tag your MKA file in foobar2000.

Re: Play MKA file and show the Chapters name

Reply #2
TOPIC SOLVED!  ;)

I have found some indications in another post:
https://hydrogenaud.io/index.php?topic=111531.0

Basically the behavior of foobar2000 depends on the presence of Global Tags in the MKA file. If any Global Tag is present then foobar2000 reads it and ignores the Chapters structure specified in the MKA file.

I found out that mkvmerge, the program I am using to merge the MP3s in a MKA file, writes by default some statistical information as Global Tags in the MKA file. This particular behavior is described here:
https://gitlab.com/mbunkus/mkvtoolnix/-/wikis/Track-statistics-tags

Luckily mkvmerge supports a specific option: --disable-track-statistics-tags that prevents the program from writing in the Global Tags.

As result I managed to obtain a MKA file without Global Tag, in this situation foobar2000 actually takes into consideration the chapters description in the MKA file and correctly display them as title, splitting the file in multiple items in the playlist, one for each chapter. It seems like a fallback solution that foobar2000 follows when Tags are not present.

Hope this will help someone else in the future.  :D

Re: Play MKA file and show the Chapters name

Reply #3
@Peter - this is a quite common application for generating Matroska, so maybe consider to handle the ways it writes tags?
High Voltage socket-nose-avatar

Re: Play MKA file and show the Chapters name

Reply #4
Can you please send me a short sample Matroska file where fb2k fails to show chapter names?
Samples that I generated all seem to work fine (chapter names shown).
We are the bork. Your software bugs will be added to our own. Resistance is futile.