Opened 2 months ago

Closed 8 weeks ago

Last modified 7 weeks ago

#6425 closed enhancement (fixed)

Allow/Implement Chapters in WebM files

Reported by: radek.hvizdos Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: webm chapters
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
I am transcoding my existing H264/mp4 files to VP9/WebM using ffmpeg and have discovered that I am missing the chapters marks.

Maybe this was the case some time ago, but nowadays WebM supports a subset of matroska standard chapter specification: WebM Chapter specifications

How to reproduce:

./ffmpeg -v 9 -loglevel 99 -y -i out9.mkv -codec copy out9.webm
ffmpeg version N-86111-ga441aa90e8-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-8) 20170304
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 63.100 / 55. 63.100
  libavcodec     57. 96.101 / 57. 96.101
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 89.101 /  6. 89.101
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input url with argument 'out9.mkv'.
Reading option '-codec' ... matched as option 'codec' (codec name) with argument 'copy'.
Reading option 'out9.webm' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url out9.mkv.
Successfully parsed a group of options.
Opening an input file: out9.mkv.
[file @ 0x402b440] Setting default whitelist 'file,crypto'
Probing matroska,webm score:100 size:2048
[matroska,webm @ 0x402ad40] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0x402ad40] Before avformat_find_stream_info() pos: 6418 bytes read:33178 seeks:2 nb_streams:1
[matroska,webm @ 0x402ad40] All info found
[matroska,webm @ 0x402ad40] Setting avg frame rate based on r frame rate
[matroska,webm @ 0x402ad40] stream 0: start_time: 0.000 duration: -9223372036854776.000
[matroska,webm @ 0x402ad40] format: start_time: 0.000 duration: 9.920 bitrate=149 kb/s
[matroska,webm @ 0x402ad40] After avformat_find_stream_info() pos: 38842 bytes read:65946 seeks:2 frames:41
Input #0, matroska,webm, from 'out9.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-05-30T09:08:37.000000Z
  Duration: 00:00:09.92, start: 0.000000, bitrate: 149 kb/s
    Chapter #0:0: start 0.000000, end 1.000000
    Metadata:
      title           : 0
    Chapter #0:1: start 1.000000, end 2.000000
    Metadata:
      title           : 1
    Chapter #0:2: start 2.000000, end 3.000000
    Metadata:
      title           : 2
    Chapter #0:3: start 3.000000, end 4.000000
    Metadata:
      title           : 3
    Chapter #0:4: start 4.000000, end 5.000000
    Metadata:
      title           : 4
    Chapter #0:5: start 5.000000, end 6.000000
    Metadata:
      title           : 5
    Chapter #0:6: start 6.000000, end 7.000000
    Metadata:
      title           : 6
    Chapter #0:7: start 7.000000, end 8.000000
    Metadata:
      title           : 7
    Chapter #0:8: start 8.000000, end 9.000000
    Metadata:
      title           : 8
    Chapter #0:9: start 9.000000, end 9.920000
    Metadata:
      title           : 9
    Stream #0:0(eng), 41, 1/1000: Video: vp9 (Profile 0), 1 reference frame, yuv420p(tv), 512x288, 0/1, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      BPS             : 142475
      BPS-eng         : 142475
      DURATION        : 00:00:09.920000000
      DURATION-eng    : 00:00:09.920000000
      NUMBER_OF_FRAMES: 248
      NUMBER_OF_FRAMES-eng: 248
      NUMBER_OF_BYTES : 176669
      NUMBER_OF_BYTES-eng: 176669
      _STATISTICS_WRITING_APP: mkvmerge v12.0.0 ('Trust / Lust') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v12.0.0 ('Trust / Lust') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-05-30 09:08:37
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-30 09:08:37
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Successfully opened the file.
Parsing a group of options: output url out9.webm.
Applying option codec (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: out9.webm.
[file @ 0x40550c0] Setting default whitelist 'file,crypto'
Successfully opened the file.
Output #0, webm, to 'out9.webm':
  Metadata:
    encoder         : Lavf57.72.101
    Chapter #0:0: start 0.000000, end 1.000000
    Metadata:
      title           : 0
    Chapter #0:1: start 1.000000, end 2.000000
    Metadata:
      title           : 1
    Chapter #0:2: start 2.000000, end 3.000000
    Metadata:
      title           : 2
    Chapter #0:3: start 3.000000, end 4.000000
    Metadata:
      title           : 3
    Chapter #0:4: start 4.000000, end 5.000000
    Metadata:
      title           : 4
    Chapter #0:5: start 5.000000, end 6.000000
    Metadata:
      title           : 5
    Chapter #0:6: start 6.000000, end 7.000000
    Metadata:
      title           : 6
    Chapter #0:7: start 7.000000, end 8.000000
    Metadata:
      title           : 7
    Chapter #0:8: start 8.000000, end 9.000000
    Metadata:
      title           : 8
    Chapter #0:9: start 9.000000, end 9.920000
    Metadata:
      title           : 9
    Stream #0:0(eng), 0, 1/1000: Video: vp9 (Profile 0), 1 reference frame, yuv420p(tv), 512x288 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      BPS             : 142475
      BPS-eng         : 142475
      DURATION        : 00:00:09.920000000
      DURATION-eng    : 00:00:09.920000000
      NUMBER_OF_FRAMES: 248
      NUMBER_OF_FRAMES-eng: 248
      NUMBER_OF_BYTES : 176669
      NUMBER_OF_BYTES-eng: 176669
      _STATISTICS_WRITING_APP: mkvmerge v12.0.0 ('Trust / Lust') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v12.0.0 ('Trust / Lust') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-05-30 09:08:37
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-30 09:08:37
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Automatically inserted bitstream filter 'vp9_superframe'; args=''
[webm @ 0x4054380] get_metadata_duration returned: 9920000
[webm @ 0x4054380] Write early duration from metadata = 9920
[webm @ 0x4054380] Writing block at offset 3, size 4791, pts 0, dts 0, duration 0, keyframe 1
[webm @ 0x4054380] Writing block at offset 4801, size 516, pts 40, dts 40, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 5324, size 506, pts 80, dts 80, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 5837, size 526, pts 120, dts 120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 6370, size 462, pts 160, dts 160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 6839, size 468, pts 200, dts 200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 7314, size 476, pts 240, dts 240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 7797, size 539, pts 280, dts 280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 8343, size 515, pts 320, dts 320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 8865, size 574, pts 360, dts 360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 9446, size 523, pts 400, dts 400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 9976, size 589, pts 440, dts 440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 10572, size 588, pts 480, dts 480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 11167, size 569, pts 520, dts 520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 11743, size 571, pts 560, dts 560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 12321, size 570, pts 600, dts 600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 12898, size 4265, pts 640, dts 640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 17170, size 463, pts 680, dts 680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 17640, size 431, pts 720, dts 720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 18078, size 560, pts 760, dts 760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 18645, size 523, pts 800, dts 800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 19175, size 605, pts 840, dts 840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 19787, size 516, pts 880, dts 880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 20310, size 542, pts 920, dts 920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 20859, size 527, pts 960, dts 960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 21393, size 620, pts 1000, dts 1000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 22020, size 536, pts 1040, dts 1040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 22563, size 587, pts 1080, dts 1080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 23157, size 513, pts 1120, dts 1120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 23677, size 511, pts 1160, dts 1160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 24195, size 513, pts 1200, dts 1200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 24715, size 547, pts 1240, dts 1240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 25269, size 3091, pts 1280, dts 1280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 28367, size 444, pts 1320, dts 1320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 28818, size 470, pts 1360, dts 1360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 29295, size 513, pts 1400, dts 1400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 29815, size 571, pts 1440, dts 1440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 30393, size 549, pts 1480, dts 1480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 30949, size 481, pts 1520, dts 1520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 31437, size 479, pts 1560, dts 1560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 31923, size 491, pts 1600, dts 1600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 32421, size 511, pts 1640, dts 1640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 32939, size 483, pts 1680, dts 1680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 33429, size 437, pts 1720, dts 1720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 33873, size 2894, pts 1760, dts 1760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 36774, size 412, pts 1800, dts 1800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 37193, size 445, pts 1840, dts 1840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 37645, size 562, pts 1880, dts 1880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 38214, size 496, pts 1920, dts 1920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 38717, size 616, pts 1960, dts 1960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 39340, size 556, pts 2000, dts 2000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 39903, size 619, pts 2040, dts 2040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 40529, size 492, pts 2080, dts 2080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 41028, size 547, pts 2120, dts 2120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 41582, size 525, pts 2160, dts 2160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 42114, size 506, pts 2200, dts 2200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 42627, size 4044, pts 2240, dts 2240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 46678, size 436, pts 2280, dts 2280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 47121, size 458, pts 2320, dts 2320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 47586, size 494, pts 2360, dts 2360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 48087, size 444, pts 2400, dts 2400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 48538, size 437, pts 2440, dts 2440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 48982, size 470, pts 2480, dts 2480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 49459, size 490, pts 2520, dts 2520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 49956, size 498, pts 2560, dts 2560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 50461, size 495, pts 2600, dts 2600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 50963, size 482, pts 2640, dts 2640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 51452, size 479, pts 2680, dts 2680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 51938, size 465, pts 2720, dts 2720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 52410, size 472, pts 2760, dts 2760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 52889, size 473, pts 2800, dts 2800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 53369, size 508, pts 2840, dts 2840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 53884, size 4043, pts 2880, dts 2880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 57934, size 453, pts 2920, dts 2920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 58394, size 449, pts 2960, dts 2960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 58850, size 533, pts 3000, dts 3000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 59390, size 466, pts 3040, dts 3040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 59863, size 456, pts 3080, dts 3080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 60326, size 517, pts 3120, dts 3120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 60850, size 454, pts 3160, dts 3160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 61311, size 454, pts 3200, dts 3200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 61772, size 494, pts 3240, dts 3240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 62273, size 516, pts 3280, dts 3280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 62796, size 438, pts 3320, dts 3320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 63241, size 466, pts 3360, dts 3360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 63714, size 477, pts 3400, dts 3400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 64198, size 448, pts 3440, dts 3440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 64653, size 490, pts 3480, dts 3480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 65150, size 4384, pts 3520, dts 3520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 69541, size 428, pts 3560, dts 3560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 69976, size 447, pts 3600, dts 3600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 70430, size 461, pts 3640, dts 3640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 70898, size 390, pts 3680, dts 3680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 71295, size 456, pts 3720, dts 3720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 71758, size 468, pts 3760, dts 3760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 72233, size 468, pts 3800, dts 3800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 72708, size 451, pts 3840, dts 3840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 73166, size 469, pts 3880, dts 3880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 73642, size 462, pts 3920, dts 3920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 74111, size 454, pts 3960, dts 3960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 74572, size 555, pts 4000, dts 4000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 75134, size 486, pts 4040, dts 4040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 75627, size 514, pts 4080, dts 4080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 76148, size 465, pts 4120, dts 4120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 76620, size 2650, pts 4160, dts 4160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 79277, size 474, pts 4200, dts 4200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 79758, size 453, pts 4240, dts 4240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 80218, size 489, pts 4280, dts 4280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 80714, size 404, pts 4320, dts 4320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 81125, size 503, pts 4360, dts 4360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 81635, size 581, pts 4400, dts 4400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 82223, size 468, pts 4440, dts 4440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 82698, size 414, pts 4480, dts 4480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 83119, size 2819, pts 4520, dts 4520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 85945, size 415, pts 4560, dts 4560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 86367, size 464, pts 4600, dts 4600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 86838, size 422, pts 4640, dts 4640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 87267, size 476, pts 4680, dts 4680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 87750, size 580, pts 4720, dts 4720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 88337, size 431, pts 4760, dts 4760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 88775, size 547, pts 4800, dts 4800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 89329, size 383, pts 4840, dts 4840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 89719, size 490, pts 4880, dts 4880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 90216, size 2202, pts 4920, dts 4920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 92425, size 478, pts 4960, dts 4960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 92910, size 532, pts 5000, dts 5000, duration 0, keyframe 0
[webm @ 0x4054380] Starting new cluster at offset 93887 bytes, pts 5040dts 5040
[webm @ 0x4054380] Writing block at offset 4, size 580, pts 5040, dts 5040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 591, size 509, pts 5080, dts 5080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 1107, size 489, pts 5120, dts 5120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 1603, size 550, pts 5160, dts 5160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 2160, size 516, pts 5200, dts 5200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 2683, size 440, pts 5240, dts 5240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 3130, size 4940, pts 5280, dts 5280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 8077, size 347, pts 5320, dts 5320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 8431, size 359, pts 5360, dts 5360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 8797, size 409, pts 5400, dts 5400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 9213, size 355, pts 5440, dts 5440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 9575, size 379, pts 5480, dts 5480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 9961, size 384, pts 5520, dts 5520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 10352, size 410, pts 5560, dts 5560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 10769, size 356, pts 5600, dts 5600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 11132, size 352, pts 5640, dts 5640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 11491, size 385, pts 5680, dts 5680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 11883, size 343, pts 5720, dts 5720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 12233, size 410, pts 5760, dts 5760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 12650, size 384, pts 5800, dts 5800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 13041, size 349, pts 5840, dts 5840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 13397, size 427, pts 5880, dts 5880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 13831, size 3968, pts 5920, dts 5920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 17806, size 502, pts 5960, dts 5960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 18315, size 525, pts 6000, dts 6000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 18847, size 504, pts 6040, dts 6040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 19358, size 436, pts 6080, dts 6080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 19801, size 510, pts 6120, dts 6120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 20318, size 467, pts 6160, dts 6160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 20792, size 483, pts 6200, dts 6200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 21282, size 450, pts 6240, dts 6240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 21739, size 454, pts 6280, dts 6280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 22200, size 468, pts 6320, dts 6320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 22675, size 479, pts 6360, dts 6360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 23161, size 500, pts 6400, dts 6400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 23668, size 491, pts 6440, dts 6440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 24166, size 465, pts 6480, dts 6480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 24638, size 490, pts 6520, dts 6520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 25135, size 4565, pts 6560, dts 6560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 29707, size 398, pts 6600, dts 6600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 30112, size 407, pts 6640, dts 6640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 30526, size 445, pts 6680, dts 6680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 30978, size 368, pts 6720, dts 6720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 31353, size 410, pts 6760, dts 6760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 31770, size 363, pts 6800, dts 6800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 32140, size 423, pts 6840, dts 6840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 32570, size 399, pts 6880, dts 6880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 32976, size 515, pts 6920, dts 6920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 33498, size 394, pts 6960, dts 6960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 33899, size 422, pts 7000, dts 7000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 34328, size 411, pts 7040, dts 7040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 34746, size 415, pts 7080, dts 7080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 35168, size 435, pts 7120, dts 7120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 35610, size 417, pts 7160, dts 7160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 36034, size 4858, pts 7200, dts 7200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 40899, size 382, pts 7240, dts 7240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 41288, size 403, pts 7280, dts 7280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 41698, size 474, pts 7320, dts 7320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 42179, size 390, pts 7360, dts 7360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 42576, size 432, pts 7400, dts 7400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 43015, size 406, pts 7440, dts 7440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 43428, size 432, pts 7480, dts 7480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 43867, size 459, pts 7520, dts 7520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 44333, size 452, pts 7560, dts 7560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 44792, size 493, pts 7600, dts 7600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 45292, size 454, pts 7640, dts 7640, duration 0, keyframe 0                                                                                                                                  11:18
[webm @ 0x4054380] Writing block at offset 45753, size 461, pts 7680, dts 7680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 46221, size 413, pts 7720, dts 7720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 46641, size 465, pts 7760, dts 7760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 47113, size 436, pts 7800, dts 7800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 47556, size 5884, pts 7840, dts 7840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 53447, size 389, pts 7880, dts 7880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 53843, size 413, pts 7920, dts 7920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 54263, size 419, pts 7960, dts 7960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 54689, size 408, pts 8000, dts 8000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 55104, size 396, pts 8040, dts 8040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 55507, size 392, pts 8080, dts 8080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 55906, size 350, pts 8120, dts 8120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 56263, size 415, pts 8160, dts 8160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 56685, size 420, pts 8200, dts 8200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 57112, size 383, pts 8240, dts 8240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 57502, size 419, pts 8280, dts 8280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 57928, size 359, pts 8320, dts 8320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 58294, size 422, pts 8360, dts 8360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 58723, size 4746, pts 8400, dts 8400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 63476, size 313, pts 8440, dts 8440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 63796, size 313, pts 8480, dts 8480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 64116, size 365, pts 8520, dts 8520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 64488, size 309, pts 8560, dts 8560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 64804, size 344, pts 8600, dts 8600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 65155, size 383, pts 8640, dts 8640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 65545, size 332, pts 8680, dts 8680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 65884, size 360, pts 8720, dts 8720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 66251, size 372, pts 8760, dts 8760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 66630, size 369, pts 8800, dts 8800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 67006, size 411, pts 8840, dts 8840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 67424, size 388, pts 8880, dts 8880, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 67819, size 4339, pts 8920, dts 8920, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 72165, size 285, pts 8960, dts 8960, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 72457, size 295, pts 9000, dts 9000, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 72759, size 322, pts 9040, dts 9040, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 73088, size 334, pts 9080, dts 9080, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 73429, size 333, pts 9120, dts 9120, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 73769, size 383, pts 9160, dts 9160, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 74159, size 320, pts 9200, dts 9200, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 74486, size 397, pts 9240, dts 9240, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 74890, size 328, pts 9280, dts 9280, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 75225, size 392, pts 9320, dts 9320, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 75624, size 359, pts 9360, dts 9360, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 75990, size 4241, pts 9400, dts 9400, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 80238, size 328, pts 9440, dts 9440, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 80573, size 384, pts 9480, dts 9480, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 80964, size 446, pts 9520, dts 9520, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 81417, size 394, pts 9560, dts 9560, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 81818, size 404, pts 9600, dts 9600, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 82229, size 373, pts 9640, dts 9640, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 82609, size 418, pts 9680, dts 9680, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 83034, size 351, pts 9720, dts 9720, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 83392, size 361, pts 9760, dts 9760, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 83760, size 399, pts 9800, dts 9800, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 84166, size 418, pts 9840, dts 9840, duration 0, keyframe 0
[webm @ 0x4054380] Writing block at offset 84591, size 365, pts 9880, dts 9880, duration 0, keyframe 0
No more output streams to write to, finishing.
[webm @ 0x4054380] end duration = 9880
frame=  248 fps=0.0 q=-1.0 Lsize=     175kB time=00:00:09.88 bitrate= 144.8kbits/s speed=1.36e+03x
video:173kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.257719%
Input file #0 (out9.mkv):
  Input stream #0:0 (video): 248 packets read (176669 bytes);
  Total: 248 packets (176669 bytes) demuxed
Output file #0 (out9.webm):
  Output stream #0:0 (video): 248 packets muxed (176669 bytes);
  Total: 248 packets (176669 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x4030220] Statistics: 19 seeks, 21 writeouts
[AVIOContext @ 0x4033700] Statistics: 212032 bytes read, 2 seeks

The result output file lacks the chapters.

Attachments (1)

out9.mkv (180.9 KB) - added by radek.hvizdos 2 months ago.
Sample input file with chapters

Download all attachments as: .zip

Change History (4)

Changed 2 months ago by radek.hvizdos

Sample input file with chapters

comment:1 Changed 2 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Priority changed from normal to wish
  • Version changed from unspecified to git-master

comment:2 Changed 8 weeks ago by jamrial

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 7 weeks ago by radek.hvizdos

Thank you jamrial, the changes are working as expected.

Note: See TracTickets for help on using tickets.