Opened 3 years ago

Last modified 2 years ago

#3617 new defect

ffmpeg creates chapter marks in encoding unreadable to quicktime

Reported by: julian Owned by:
Priority: minor Component: avformat
Version: unspecified Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg creates chapter marks in MP4/MOV files in an encoding that is not expected by QuickTime?. therefore chaptermarks in files converted by ffmpeg that contain non-ASCII characters are displayed as garbage by QuickTime? Player

1.) download https://dl.dropboxusercontent.com/u/7221986/chaptermark.mkv
2,) open the file in VLC, see chaptermarks correctly displayed with german umlauts
3.)

%
ffmpeg -i chaptermark.mkv -acodec copy -vcodec copy -map 0  chaptermark.mp4

4.) open chaptermark.mp4 in QuickTime? Player, see chaptermarks being messed up
5.) other apps like "Subler" are able to create MP4s that have chaptermarks with Umlauts that display fine in QuickTime? Player

%ffmpeg -i chaptermark.mkv -acodec copy -vcodec copy -map 0  chaptermark.mp4
ffmpeg version 2.2.1-tessus Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 10 2014 05:10:42 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
  configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'chaptermark.mkv':
  Metadata:
    LANGUAGE        : eng
    ENCODER         : Lavf55.33.100
  Duration: 00:00:11.84, start: 0.080000, bitrate: 6776 kb/s
    Chapter #0.0: start 0.000000, end 456.709000
    Metadata:
      title           : Prolog: Ein Ring, sie zu knechten...
    Chapter #0.1: start 456.709000, end 635.471578
    Metadata:
      title           : Über Hobbits
    Chapter #0.2: start 635.471578, end 939.775578
    Metadata:
      title           : Das Auenland
    Chapter #0.3: start 939.775578, end 1198.408956
    Metadata:
      title           : Sehr alte Freunde
    Chapter #0.4: start 1198.408956, end 1532.534400
    Metadata:
      title           : Ein lang erwartetes Fest
    Chapter #0.5: start 1532.534400, end 1797.298911
    Metadata:
      title           : Leb wohl, lieber Bilbo
    Chapter #0.6: start 1797.298911, end 1930.598733
    Metadata:
      title           : Halte ihn geheim, bewahre ihn gut
    Chapter #0.7: start 1930.598733, end 2091.718000
    Metadata:
      title           : Isildurs Aufzeichnungen
    Chapter #0.8: start 2091.718000, end 2178.096000
    Metadata:
      title           : Im "Grünen Drachen"
    Chapter #0.9: start 2178.096000, end 2704.079778
    Metadata:
      title           : Der Schatten der Vergangenheit
    Chapter #0.10: start 2704.079778, end 2804.221489
    Metadata:
      title           : Der Zug der Elben
    Chapter #0.11: start 2804.221489, end 3081.331667
    Metadata:
      title           : Saruman der Weiße
    Chapter #0.12: start 3081.331667, end 3312.354000
    Metadata:
      title           : Querfeldein zu den Pilzen
    Chapter #0.13: start 3312.354000, end 3449.991000
    Metadata:
      title           : Die Bockenburger Fähre
    Chapter #0.14: start 3449.991000, end 3811.436022
    Metadata:
      title           : Im Gasthaus "Zum tänzelnden Pony"
    Chapter #0.15: start 3811.436022, end 4036.035000
    Metadata:
      title           : Die Nazgûl
    Chapter #0.16: start 4036.035000, end 4133.507000
    Metadata:
      title           : Die Mückenwassermoore
    Chapter #0.17: start 4133.507000, end 4235.860022
    Metadata:
      title           : Die Zerstörung Isengarts
    Chapter #0.18: start 4235.860022, end 4515.305867
    Metadata:
      title           : Ein Messer im Dunkeln
    Chapter #0.19: start 4515.305867, end 4666.540289
    Metadata:
      title           : Die Verliese Isengarts
    Chapter #0.20: start 4666.540289, end 5051.466489
    Metadata:
      title           : Flucht zur Furt
    Chapter #0.21: start 5051.466489, end 5172.420667
    Metadata:
      title           : Bruchtal
    Chapter #0.22: start 5172.420667, end 5381.504533
    Metadata:
      title           : Viele Begegnungen
    Chapter #0.23: start 5381.504533, end 5594.592400
    Metadata:
      title           : Das Schicksal des Rings
    Chapter #0.24: start 5594.592400, end 5754.001667
    Metadata:
      title           : Das zerbrochene Schwert
    Chapter #0.25: start 5754.001667, end 5852.892111
    Metadata:
      title           : Der Abendstern
    Chapter #0.26: start 5852.892111, end 6339.131000
    Metadata:
      title           : Elronds Rat
    Chapter #0.27: start 6339.131000, end 6412.954733
    Metadata:
      title           : Gilraens Grab
    Chapter #0.28: start 6412.954733, end 6516.349000
    Metadata:
      title           : Bilbos Geschenke
    Chapter #0.29: start 6516.349000, end 6593.760000
    Metadata:
      title           : Die Gefährten brechen auf
    Chapter #0.30: start 6593.760000, end 6779.571000
    Metadata:
      title           : Der Ring geht nach Süden
    Chapter #0.31: start 6779.571000, end 7065.857000
    Metadata:
      title           : Der Pass des Caradhras
    Chapter #0.32: start 7065.857000, end 7451.242000
    Metadata:
      title           : Moria
    Chapter #0.33: start 7451.242000, end 7841.590289
    Metadata:
      title           : Reise durch die Dunkelheit
    Chapter #0.34: start 7841.590289, end 8406.321000
    Metadata:
      title           : Balins Grab
    Chapter #0.35: start 8406.321000, end 8987.777000
    Metadata:
      title           : Die Brücke von Khazad-dûm
    Chapter #0.36: start 8987.777000, end 9180.427778
    Metadata:
      title           : Lothlórien
    Chapter #0.37: start 9180.427778, end 9617.447689
    Metadata:
      title           : Caras Galadhon
    Chapter #0.38: start 9617.447689, end 9957.454000
    Metadata:
      title           : Galadriels Spiegel
    Chapter #0.39: start 9957.454000, end 10058.805289
    Metadata:
      title           : Der kämpfende Uruk-hai
    Chapter #0.40: start 10058.805289, end 10381.335822
    Metadata:
      title           : Abschied von Lórien
    Chapter #0.41: start 10381.335822, end 10673.586111
    Metadata:
      title           : Der Große Strom
    Chapter #0.42: start 10673.586111, end 11061.348489
    Metadata:
      title           : Parth Galen
    Chapter #0.43: start 11061.348489, end 11497.284000
    Metadata:
      title           : Die Wege trennen sich
    Chapter #0.44: start 11497.284000, end 11659.612822
    Metadata:
      title           : Boromirs Abschied
    Chapter #0.45: start 11659.612822, end 12037.782289
    Metadata:
      title           : Die Straße gleitet fort...
    Chapter #0.46: start 12037.782289, end 12498.284000
    Metadata:
      title           : Abspann
    Chapter #0.47: start 12498.284000, end 13692.475000
    Metadata:
      title           : Fan Club Abspann
    Stream #0:0: Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
File 'chaptermark.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'chaptermark.mp4':
  Metadata:
    LANGUAGE        : eng
    encoder         : Lavf55.33.100
    Chapter #0.0: start 0.000000, end 456.629000
    Metadata:
      title           : Prolog: Ein Ring, sie zu knechten...
    Chapter #0.1: start 456.629000, end 635.391578
    Metadata:
      title           : Über Hobbits
    Chapter #0.2: start 635.391578, end 939.695578
    Metadata:
      title           : Das Auenland
    Chapter #0.3: start 939.695578, end 1198.328956
    Metadata:
      title           : Sehr alte Freunde
    Chapter #0.4: start 1198.328956, end 1532.454400
    Metadata:
      title           : Ein lang erwartetes Fest
    Chapter #0.5: start 1532.454400, end 1797.218911
    Metadata:
      title           : Leb wohl, lieber Bilbo
    Chapter #0.6: start 1797.218911, end 1930.518733
    Metadata:
      title           : Halte ihn geheim, bewahre ihn gut
    Chapter #0.7: start 1930.518733, end 2091.638000
    Metadata:
      title           : Isildurs Aufzeichnungen
    Chapter #0.8: start 2091.638000, end 2178.016000
    Metadata:
      title           : Im "Grünen Drachen"
    Chapter #0.9: start 2178.016000, end 2703.999778
    Metadata:
      title           : Der Schatten der Vergangenheit
    Chapter #0.10: start 2703.999778, end 2804.141489
    Metadata:
      title           : Der Zug der Elben
    Chapter #0.11: start 2804.141489, end 3081.251667
    Metadata:
      title           : Saruman der Weiße
    Chapter #0.12: start 3081.251667, end 3312.274000
    Metadata:
      title           : Querfeldein zu den Pilzen
    Chapter #0.13: start 3312.274000, end 3449.911000
    Metadata:
      title           : Die Bockenburger Fähre
    Chapter #0.14: start 3449.911000, end 3811.356022
    Metadata:
      title           : Im Gasthaus "Zum tänzelnden Pony"
    Chapter #0.15: start 3811.356022, end 4035.955000
    Metadata:
      title           : Die Nazgûl
    Chapter #0.16: start 4035.955000, end 4133.427000
    Metadata:
      title           : Die Mückenwassermoore
    Chapter #0.17: start 4133.427000, end 4235.780022
    Metadata:
      title           : Die Zerstörung Isengarts
    Chapter #0.18: start 4235.780022, end 4515.225867
    Metadata:
      title           : Ein Messer im Dunkeln
    Chapter #0.19: start 4515.225867, end 4666.460289
    Metadata:
      title           : Die Verliese Isengarts
    Chapter #0.20: start 4666.460289, end 5051.386489
    Metadata:
      title           : Flucht zur Furt
    Chapter #0.21: start 5051.386489, end 5172.340667
    Metadata:
      title           : Bruchtal
    Chapter #0.22: start 5172.340667, end 5381.424533
    Metadata:
      title           : Viele Begegnungen
    Chapter #0.23: start 5381.424533, end 5594.512400
    Metadata:
      title           : Das Schicksal des Rings
    Chapter #0.24: start 5594.512400, end 5753.921667
    Metadata:
      title           : Das zerbrochene Schwert
    Chapter #0.25: start 5753.921667, end 5852.812111
    Metadata:
      title           : Der Abendstern
    Chapter #0.26: start 5852.812111, end 6339.051000
    Metadata:
      title           : Elronds Rat
    Chapter #0.27: start 6339.051000, end 6412.874733
    Metadata:
      title           : Gilraens Grab
    Chapter #0.28: start 6412.874733, end 6516.269000
    Metadata:
      title           : Bilbos Geschenke
    Chapter #0.29: start 6516.269000, end 6593.680000
    Metadata:
      title           : Die Gefährten brechen auf
    Chapter #0.30: start 6593.680000, end 6779.491000
    Metadata:
      title           : Der Ring geht nach Süden
    Chapter #0.31: start 6779.491000, end 7065.777000
    Metadata:
      title           : Der Pass des Caradhras
    Chapter #0.32: start 7065.777000, end 7451.162000
    Metadata:
      title           : Moria
    Chapter #0.33: start 7451.162000, end 7841.510289
    Metadata:
      title           : Reise durch die Dunkelheit
    Chapter #0.34: start 7841.510289, end 8406.241000
    Metadata:
      title           : Balins Grab
    Chapter #0.35: start 8406.241000, end 8987.697000
    Metadata:
      title           : Die Brücke von Khazad-dûm
    Chapter #0.36: start 8987.697000, end 9180.347778
    Metadata:
      title           : Lothlórien
    Chapter #0.37: start 9180.347778, end 9617.367689
    Metadata:
      title           : Caras Galadhon
    Chapter #0.38: start 9617.367689, end 9957.374000
    Metadata:
      title           : Galadriels Spiegel
    Chapter #0.39: start 9957.374000, end 10058.725289
    Metadata:
      title           : Der kämpfende Uruk-hai
    Chapter #0.40: start 10058.725289, end 10381.255822
    Metadata:
      title           : Abschied von Lórien
    Chapter #0.41: start 10381.255822, end 10673.506111
    Metadata:
      title           : Der Große Strom
    Chapter #0.42: start 10673.506111, end 11061.268489
    Metadata:
      title           : Parth Galen
    Chapter #0.43: start 11061.268489, end 11497.204000
    Metadata:
      title           : Die Wege trennen sich
    Chapter #0.44: start 11497.204000, end 11659.532822
    Metadata:
      title           : Boromirs Abschied
    Chapter #0.45: start 11659.532822, end 12037.702289
    Metadata:
      title           : Die Straße gleitet fort...
    Chapter #0.46: start 12037.702289, end 12498.204000
    Metadata:
      title           : Abspann
    Chapter #0.47: start 12498.204000, end 13692.395000
    Metadata:
      title           : Fan Club Abspann
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 16k tbn, 1k tbc (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=  294 fps=0.0 q=-1.0 Lsize=    9795kB time=00:00:11.64 bitrate=6893.1kbits/s    
video:9788kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.076756%

Change History (3)

comment:1 Changed 2 years ago by julian

i had to move to uploaded file to reproduce the issue here:

http://www.filehosting.org/file/details/501455/ffmpeg_3617_chaptermark.mkv

comment:2 Changed 2 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords mov added
  • Priority changed from normal to minor

comment:3 Changed 2 years ago by gjdfgh

mp4 chapters are not standardized. Thus it can't be fixed.

Note: See TracTickets for help on using tickets.