[FFmpeg-trac] #2785(avformat:new): Matroska muxer produces non spec conformant files when adding chapters

FFmpeg trac at avcodec.org
Mon Jul 15 08:21:29 CEST 2013


#2785: Matroska muxer produces non spec conformant files when adding chapters
--------------------------------------+----------------------------------
               Reporter:  jamal       |                  Owner:
                   Type:  defect      |                 Status:  new
               Priority:  normal      |              Component:  avformat
                Version:  git-master  |               Keywords:  matroska
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+----------------------------------
 Take any file with chapters (Like the sample from ticket #1833) and remux
 it into an mkv file:

 {{{
 ./ffmpeg -i vorbis_chapter_extension_demo.ogg -c:a copy
 vorbis_chapter_extension_demo.mkv
 }}}

 Then open the resulting file with the spec conformance checker tool
 mkvalidator from http://www.matroska.org/downloads/mkvalidator.html.
 This shows up in the output:

 {{{
 ERR200: Missing element 'SimpleTag' in Tag at 4417
 ERR200: Missing element 'SimpleTag' in Tag at 4441
 ERR200: Missing element 'SimpleTag' in Tag at 4465
 ERR200: Missing element 'SimpleTag' in Tag at 4489
 }}}

 If you for example comment out the for() statement from
 http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/matroskaenc.c;h=7efda5ab6bbda78153947d39dfcef55d6fb7c8bf;hb=HEAD#l897
 (Which add tags to each chapter) and recompile ffmpeg, the resulting mkv
 file is valid.

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


More information about the FFmpeg-trac mailing list