How to get ToC from M4B files?

Arun Mani J J.ArunMani at
Sat Nov 5 17:27:03 UTC 2022

Hii all
I'm creating an audio player using Playbin of Gstreamer and GTK ( The player perfectly plays M4B files but I'm not getting any GstMessage of type Gst.MessageType.TOC. I tested using both files from internet and manually converting an MP3 to M4B, it doesn't work.
However Celluloid ( is able to display the ToC. I have attached the link to an MWE of the player and a sample M4B file (*).

The GStreamer related packages in my system:
$ apt list --installed | grep 'gst'
gir1.2-gst-plugins-base-1.0/testing,now 1.20.3-2 amd64 [installed,automatic]
gir1.2-gstreamer-1.0/testing,now 1.20.3-1 amd64 [installed,automatic]
gstreamer1.0-gl/testing,now 1.20.3-2 amd64 [installed,automatic]
gstreamer1.0-gtk3/testing,now 1.20.3-1+b1 amd64 [installed,automatic]
gstreamer1.0-libav/testing,now 1.20.3-1+b1 amd64 [installed,automatic]
gstreamer1.0-packagekit/testing,now 1.2.5-3+b1 amd64 [installed]
gstreamer1.0-pipewire/testing,now 0.3.59-1+b1 amd64 [installed,automatic]
gstreamer1.0-plugins-bad/testing,now 1.20.3-2+b1 amd64 [installed,automatic]
gstreamer1.0-plugins-base/testing,now 1.20.3-2 amd64 [installed]
gstreamer1.0-plugins-good/testing,now 1.20.3-1+b1 amd64 [installed]
gstreamer1.0-x/testing,now 1.20.3-2 amd64 [installed,automatic]
libgstreamer-gl1.0-0/testing,now 1.20.3-2 amd64 [installed,automatic]
libgstreamer-plugins-bad1.0-0/testing,now 1.20.3-2+b1 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/testing,now 1.20.3-2 amd64 [installed,automatic]
libgstreamer1.0-0/testing,now 1.20.3-1 amd64 [installed,automatic]

- Player -
- Audio -

(*) The audio file is obtained from, under CC0 license.

Thanks for reading :)
Thanks for GStreamer!
Arun Mani J

(I have not subscribed to the mailing list, so please CC me in replies)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list