#7127: ffprobe does not display multi language chapter titles
-------------------------------------+------------------------------------
             Reporter:  MelkorLord   |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  mkv          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by MelkorLord):

 Sorry for the reply delay.

 As suggested, I've tested with FFMPEG GIT (Wed, 11 Apr 2018 03:15:54 +0000
 (11:15 +0800)) and, as expected, I got exactly the same result :

 {{{
 % ffprobe -show_chapters ffmpeg_sample.mkv
 ffprobe version N-90649-g9825f77 Copyright (c) 2007-2018 the FFmpeg
 developers
   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
   configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared
   WARNING: library configuration mismatch
   avutil      configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   avcodec     configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   avformat    configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   avdevice    configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   avfilter    configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   avresample  configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   swscale     configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   swresample  configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   postproc    configuration: --prefix=/usr --toolchain=hardened
 --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
 --enable-gpl --disable-stripping --enable-avresample --enable-avisynth
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-
 libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse
 --enable-librubberband --enable-librsvg --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-
 libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal
 --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-
 libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv
 --enable-libx264 --enable-shared --enable-version3 --disable-doc
 --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libtesseract --enable-libvo_amrwbenc
   libavutil      56. 13.100 / 56. 13.100
   libavcodec     58. 17.100 / 58. 17.100
   libavformat    58. 11.101 / 58. 11.101
   libavdevice    58.  2.100 / 58.  2.100
   libavfilter     7. 14.100 /  7. 14.100
   libavresample   4.  0.  0 /  4.  0.  0
   libswscale      5.  0.102 /  5.  0.102
   libswresample   3.  0.101 /  3.  0.101
   libpostproc    55.  0.100 / 55.  0.100
 Input #0, matroska,webm, from '../ffmpeg_sample.mkv':
   Metadata:
     encoder         : libebml v1.3.4 + libmatroska v1.4.5
     creation_time   : 2018-04-11T07:13:50.000000Z
   Duration: 00:00:30.00, start: 0.000000, bitrate: 12 kb/s
     Chapter #0:0: start 0.000000, end 15.000000
     Metadata:
       title           : Chapitre UN
     Chapter #0:1: start 15.000000, end 30.000000
     Metadata:
       title           : No lang chapter
     Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR
 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc
 [CHAPTER]
 id=1628496511
 time_base=1/1000000000
 start=0
 start_time=0.000000
 end=15000000000
 end_time=15.000000
 TAG:title=Chapitre UN
 [/CHAPTER]
 [CHAPTER]
 id=-283108242
 time_base=1/1000000000
 start=15000000000
 start_time=15.000000
 end=30000000000
 end_time=30.000000
 TAG:title=No lang chapter
 [/CHAPTER]
 }}}

 I attached a MKV sample (generated as the real content is irrelevant)
 featuring 2 chapters. The first one is multi lang, FR and EN and the
 second chapter is "undefined" language.

 The chapters were edited with MKVToolNix GUI -
 https://mkvtoolnix.download/ -

 {{{
 % mkvinfo-text ffmpeg_sample.mkv
 [... stripped ...]
 |+ Chapters
 | + EditionEntry
 |  + EditionUID: 6415058955412629263
 |  + EditionFlagDefault: 0
 |  + EditionFlagHidden: 0
 |  + ChapterAtom
 |   + ChapterTimeStart: 00:00:00.000000000
 |   + ChapterTimeEnd: 00:00:15.000000000
 |   + ChapterUID: 11225451986743779967
 |   + ChapterDisplay
 |    + ChapterString: Chapter ONE
 |    + ChapterLanguage: eng
 |    + ChapterCountry: us
 |   + ChapterDisplay
 |    + ChapterString: Chapitre UN
 |    + ChapterLanguage: fre
 |    + ChapterCountry: fr
 |   + ChapterFlagHidden: 0
 |   + ChapterFlagEnabled: 1
 |  + ChapterAtom
 |   + ChapterTimeStart: 00:00:15.000000000
 |   + ChapterTimeEnd: 00:00:30.000000000
 |   + ChapterUID: 10299397000761711726
 |   + ChapterDisplay
 |    + ChapterString: No lang chapter
 |    + ChapterLanguage: und
 |   + ChapterFlagHidden: 0
 |   + ChapterFlagEnabled: 1
 [... stripped ...]
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7127#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac

Reply via email to