Support for Chapters in m4b files

Abhinandan Ramprasath abhiin1947 at gmail.com
Tue Feb 19 16:58:16 UTC 2013


This is regarding the bug: https://bugs.kde.org/show_bug.cgi?id=240409

The file attached decodes m4b files and displays the chapter markers and
the time. To compile it please install the "libmp4v2-dev" package ( add
option -lmp4v2 while compiling ). For this to work I need the file path and
file name, but the Meta::TrackPtr class provides everything but that
information.

Here are questions I really need help with answering

How can I obtain the filepath and filename?

One of the comments previously mentioned that mp4v2 was removed, so it is
possible for me to add it back again? or should I program the offset
calculation for the chapters myself? If it is okay to add, How do i add?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130219/eec1c7bd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.cpp
Type: text/x-c++src
Size: 2594 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130219/eec1c7bd/attachment.cpp>


More information about the Amarok-devel mailing list