Opened 9 years ago

Closed 8 years ago

#1833 closed enhancement (fixed)

Vorbis Comment Chapter Extension (for Opus, Vorbis, Flac, etc.)

Reported by: auphonic Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: ogg
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


More and more people (especially in the german speaking podcasting scene) use the new chapter extension for opus, ogg vorbis, flac etc., see:

This enables chapter marks for all fileformats, which use the vorbis comments metadata system (opus, ogg vorbis, flac, speex, etc.).

It would be really cool, if ffmpeg could support this new standard - as it is already possible to show chapters in MP4/M4A files. This is especially interesting for podcaster, audiobooks, lecture recordings, etc. and with the new opus format!

Furthermore it should be quite easy to implement. If you need any further information or some example files, let me know and I will provide them!

Attachments (1)

vorbis_chapter_extension_demo.ogg (104.5 KB ) - added by auphonic 9 years ago.
Vorbis Chapter Extension Example

Download all attachments as: .zip

Change History (4)

comment:1 by Carl Eugen Hoyos, 9 years ago

Component: undeterminedavformat
Keywords: ogg added

Please add (a link to) a sample file and please add complete, uncut output of "ffmpeg -i sample".

by auphonic, 9 years ago

Vorbis Chapter Extension Example

comment:2 by auphonic, 9 years ago

Sorry, I forgot an example file - it is attached.
It is a 20sec file with 4 chapters.

Here is the output of ffmpeg -i vorbis_chapter_extension_demo.ogg:

holzi@holzi-dell:~/Desktop$ ffmpeg -i vorbis_chapter_extension_demo.ogg 
ffmpeg version N-44622-g16e52c8 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 20 2012 12:42:58 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-ffplay --disable-ffserver --disable-avdevice --enable-bzlib --enable-libopencore-amrnb --enable-libfreetype --enable-libopencore-amrwb --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libopus
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 56.100 / 54. 56.100
  libavformat    54. 27.101 / 54. 27.101
  libavfilter     3. 16.104 /  3. 16.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, ogg, from 'vorbis_chapter_extension_demo.ogg':
  Duration: 00:00:19.84, start: 0.000000, bitrate: 43 kb/s
    Stream #0:0: Audio: vorbis, 44100 Hz, mono, s16, 40 kb/s
      TITLE           : vorbis chapter extension demo
      DATE            : 2012
      ENCODED_BY      :
      ENCODED-BY      :
      CHAPTER001      : 00:00:00.000
      CHAPTER001NAME  : start
      CHAPTER002      : 00:00:05.000
      CHAPTER002NAME  : Five Seconds
      CHAPTER003      : 00:00:10.500
      CHAPTER003NAME  : Ten point 5 seconds
      CHAPTER004      : 00:00:15.000
      CHAPTER004NAME  : 15 sec - over soon
At least one output file must be specified

(I did not set an output file here)

comment:3 by Carl Eugen Hoyos, 8 years ago

Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

Fixed by James Almer in 04b9836.

Thank you for the report and the sample!

Note: See TracTickets for help on using tickets.