[FFmpeg-trac] #7940(undetermined:new): FFMETADATA fails to create a CTOC frame when adding chapters to MP3 files.

FFmpeg trac at avcodec.org
Tue Jun 4 15:15:36 EEST 2019


#7940: FFMETADATA fails to create a CTOC frame when adding chapters to MP3 files.
-------------------------------------+-------------------------------------
             Reporter:  yknivag      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 * What you were trying to accomplish?
  * Trying to add chapters to an MP3 file using `FFMETADATA`.

 * The problem you encountered?
  * The id3v2.3 metadata written was incomplete. `CHAP` frames were
 correctly created for every `[CHAPTER]` section in the `FFMETADATA` file,
 but no `CTOC` frame was created.
  * Without the `CTOC` frame the chapters are un-navigable in a wide
 variety of podcasting software.  Furthermore the id3 standard requires
 `CTOC` to be added wherever `CHAP` frames are present.

 * The exact command line you were using?
  * I used the command and file structure from the official documentation
 here - https://www.ffmpeg.org/ffmpeg-formats.html#Metadata-1

 * Version of ffmpeg used?
  * ffmpeg version 3.4.6-0ubuntu0.18.04.1

 * Comment
  * This method of adding both standard metadata and chapters using a
 simple `FFMETADATA` file is to be commended for it's simplicity but it's
 failure to add a `CTOC` frame means it is fundamentally flawed.  Either
 the functionality to add chapters should work (ie follow the ID3 standard)
 or it should not be present in non-beta versions.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7940>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list