[FFmpeg-trac] #8420(avformat:new): MP4 duration is not correct

FFmpeg trac at avcodec.org
Tue Dec 10 04:24:49 EET 2019


#8420: MP4 duration is not correct
-------------------------------------+-------------------------------------
             Reporter:  manuelyuan   |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  avformat     |                  Version:  git-
             Keywords:  mp4          |  master
  duration                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
 一.Summary of the bug:
 When using ffmpeg to convert the video with dynamic frame rate, the result
 video duration is incorrect.
 1.Input duration:
 ffmpeg -i mp4_duration_is_incorrect.mp4
 ....
 Duration: 00:00:03.05, start: 0.000000, bitrate: 1130 kb/s
 ....

 2.Output duration:
 ffmpeg -i output.mp4
 ....
 Duration: 00:00:05.60, start: 0.000000, bitrate: 316 kb/s
 ....

 二.How to reproduce:
 {{{
 % ffmpeg -v 9 -loglevel 99 -i mp4_duration_is_incorrect.mp4 -vcodec
 libx264 -vsync 0 output.mp4
 ffmpeg version N-95578-g1c3b70e Copyright (c) 2000-2019 the FFmpeg
 developers
   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-5)
   configuration: --pkg-config-flags=--static --extra-
 cflags='-I/data/manuelyuan/ffmpeg_4_0_new/ffmpeg_4_0/ffmpeg_build/include
 -fPIC' --extra-ldflags='-lc -lm -lz -lpthread
 -L/data/manuelyuan/ffmpeg_4_0_new/ffmpeg_4_0/ffmpeg_build/lib/ -lx264
 -Wl,-Bsymbolic' --disable-shared --enable-gpl --enable-libx264
   libavutil      56. 35.101 / 56. 35.101
   libavcodec     58. 60.100 / 58. 60.100
   libavformat    58. 33.100 / 58. 33.100
   libavdevice    58.  9.100 / 58.  9.100
   libavfilter     7. 66.100 /  7. 66.100
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
   libpostproc    55.  6.100 / 55.  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 '-i' ... matched as input url with argument
 'mp4_duration_is_incorrect.mp4'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'libx264'.
 Reading option '-vsync' ... matched as option 'vsync' (video sync method)
 with argument '0'.
 Reading option 'output.mp4' ... 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 vsync (video sync method) with argument 0.
 Successfully parsed a group of options.
 Parsing a group of options: input url mp4_duration_is_incorrect.mp4.
 Successfully parsed a group of options.
 Opening an input file: mp4_duration_is_incorrect.mp4.
 [NULL @ 0x330f500] Opening 'mp4_duration_is_incorrect.mp4' for reading
 [file @ 0x330ff40] Setting default whitelist 'file,crypto'
 Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'ftyp' parent:'root' sz: 24 8
 431279
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] ISO: File Type Major Brand: mp42
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'moov' parent:'root' sz: 1913
 32 431279
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'mvhd' parent:'moov' sz: 108 8
 1905
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] time scale = 1000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'meta' parent:'moov' sz: 119
 116 1905
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'hdlr' parent:'meta' sz: 33 8
 111
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] ctype=[0][0][0][0]
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stype=mdta
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'keys' parent:'meta' sz: 43 41
 111
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'ilst' parent:'meta' sz: 35 84
 111
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'[0][0][0][1]' parent:'ilst'
 sz: 27 8 27
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'trak' parent:'moov' sz: 643
 235 1905
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'tkhd' parent:'trak' sz: 92 8
 635
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'mdia' parent:'trak' sz: 543
 100 635
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'mdhd' parent:'mdia' sz: 32 8
 535
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'hdlr' parent:'mdia' sz: 44 40
 535
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] ctype=[0][0][0][0]
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stype=vide
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'minf' parent:'mdia' sz: 459 84
 535
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'vmhd' parent:'minf' sz: 20 8
 451
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'dinf' parent:'minf' sz: 36 28
 451
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'dref' parent:'dinf' sz: 28 8
 28
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] Unknown dref type 0x206c7275 size 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stbl' parent:'minf' sz: 395 64
 451
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stsd' parent:'stbl' sz: 155 8
 387
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] size=139 4CC=avc1 codec_type=0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'avcC' parent:'stsd' sz: 37 8
 53
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'pasp' parent:'stsd' sz: 16 45
 53
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stts' parent:'stbl' sz: 88 163
 387
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] track[0].stts.entries = 9
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1,
 sample_duration=236625
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=3026
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=3006
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=3038
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=3003
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=4, sample_duration=3015
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=3044
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=2993
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=2, sample_duration=3014
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stss' parent:'stbl' sz: 24 251
 387
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] keyframe_count = 2
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stsz' parent:'stbl' sz: 72 275
 387
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_size = 0 sample_count = 13
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stsc' parent:'stbl' sz: 28 347
 387
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] track[0].stsc.entries = 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stco' parent:'stbl' sz: 20 375
 387
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 0, offset
 9b6c, dts 0, size 62863, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 1, offset
 190fb, dts 236625, size 55727, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 2, offset
 26aaa, dts 239651, size 27934, distance 1, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 3, offset
 2d7c8, dts 242657, size 29630, distance 2, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 4, offset
 34b86, dts 245695, size 16641, distance 3, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 5, offset
 38c87, dts 248698, size 28289, distance 4, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 6, offset
 3fb08, dts 251713, size 21404, distance 5, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 7, offset
 44ea4, dts 254728, size 26695, distance 6, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 8, offset
 4b6eb, dts 257743, size 23446, distance 7, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 9, offset
 51281, dts 260758, size 30881, distance 8, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 10, offset
 58b22, dts 263802, size 35011, distance 9, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 11, offset
 613e5, dts 266795, size 12240, distance 10, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 0, sample 12, offset
 643b5, dts 269809, size 20730, distance 11, keyframe 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'trak' parent:'moov' sz: 1035
 878 1905
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'tkhd' parent:'trak' sz: 92 8
 1027
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'mdia' parent:'trak' sz: 935
 100 1027
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'mdhd' parent:'mdia' sz: 32 8
 927
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'hdlr' parent:'mdia' sz: 44 40
 927
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] ctype=[0][0][0][0]
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stype=soun
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'minf' parent:'mdia' sz: 851 84
 927
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'smhd' parent:'minf' sz: 16 8
 843
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'dinf' parent:'minf' sz: 36 24
 843
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'dref' parent:'dinf' sz: 28 8
 28
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] Unknown dref type 0x206c7275 size 12
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stbl' parent:'minf' sz: 791 60
 843
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stsd' parent:'stbl' sz: 91 8
 783
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] size=75 4CC=mp4a codec_type=1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] audio channels 2
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] version =0, isom =1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'esds' parent:'stsd' sz: 39 8
 39
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] MPEG-4 description: tag=0x03 len=25
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] MPEG-4 description: tag=0x04 len=17
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] esds object type id 0x40
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] MPEG-4 description: tag=0x05 len=2
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] Specific MPEG-4 header len=2
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] mp4a config channels 2 obj 2 ext obj
 0 sample rate 48000 ext sample rate 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stts' parent:'stbl' sz: 32 99
 783
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] track[1].stts.entries = 2
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=1, sample_duration=1024
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_count=142,
 sample_duration=1024
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stsz' parent:'stbl' sz: 592
 131 783
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] sample_size = 0 sample_count = 143
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stsc' parent:'stbl' sz: 40 723
 783
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] track[1].stsc.entries = 2
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'stco' parent:'stbl' sz: 28 763
 783
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 0, offset
 c99, dts 0, size 241, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 1, offset
 d8a, dts 1024, size 241, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 2, offset
 e7b, dts 2048, size 252, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 3, offset
 f77, dts 3072, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 4, offset
 106d, dts 4096, size 249, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 5, offset
 1166, dts 5120, size 256, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 6, offset
 1266, dts 6144, size 260, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 7, offset
 136a, dts 7168, size 260, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 8, offset
 146e, dts 8192, size 247, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 9, offset
 1565, dts 9216, size 318, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 10, offset
 16a3, dts 10240, size 301, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 11, offset
 17d0, dts 11264, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 12, offset
 18c6, dts 12288, size 241, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 13, offset
 19b7, dts 13312, size 241, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 14, offset
 1aa8, dts 14336, size 260, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 15, offset
 1bac, dts 15360, size 255, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 16, offset
 1cab, dts 16384, size 238, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 17, offset
 1d99, dts 17408, size 240, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 18, offset
 1e89, dts 18432, size 245, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 19, offset
 1f7e, dts 19456, size 257, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 20, offset
 207f, dts 20480, size 259, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 21, offset
 2182, dts 21504, size 262, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 22, offset
 2288, dts 22528, size 250, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 23, offset
 2382, dts 23552, size 238, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 24, offset
 2470, dts 24576, size 250, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 25, offset
 256a, dts 25600, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 26, offset
 2660, dts 26624, size 237, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 27, offset
 274d, dts 27648, size 258, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 28, offset
 284f, dts 28672, size 249, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 29, offset
 2948, dts 29696, size 239, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 30, offset
 2a37, dts 30720, size 245, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 31, offset
 2b2c, dts 31744, size 287, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 32, offset
 2c4b, dts 32768, size 243, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 33, offset
 2d3e, dts 33792, size 297, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 34, offset
 2e67, dts 34816, size 238, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 35, offset
 2f55, dts 35840, size 306, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 36, offset
 3087, dts 36864, size 238, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 37, offset
 3175, dts 37888, size 238, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 38, offset
 3263, dts 38912, size 273, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 39, offset
 3374, dts 39936, size 237, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 40, offset
 3461, dts 40960, size 254, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 41, offset
 355f, dts 41984, size 248, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 42, offset
 3657, dts 43008, size 252, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 43, offset
 3753, dts 44032, size 270, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 44, offset
 3861, dts 45056, size 248, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 45, offset
 3959, dts 46080, size 255, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 46, offset
 3a58, dts 47104, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 47, offset
 3b4a, dts 48128, size 245, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 48, offset
 3c3f, dts 49152, size 271, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 49, offset
 3d4e, dts 50176, size 249, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 50, offset
 3e47, dts 51200, size 295, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 51, offset
 3f6e, dts 52224, size 238, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 52, offset
 405c, dts 53248, size 283, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 53, offset
 4177, dts 54272, size 301, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 54, offset
 42a4, dts 55296, size 273, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 55, offset
 43b5, dts 56320, size 233, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 56, offset
 449e, dts 57344, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 57, offset
 4590, dts 58368, size 310, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 58, offset
 46c6, dts 59392, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 59, offset
 47bc, dts 60416, size 272, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 60, offset
 48cc, dts 61440, size 264, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 61, offset
 49d4, dts 62464, size 240, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 62, offset
 4ac4, dts 63488, size 243, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 63, offset
 4bb7, dts 64512, size 245, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 64, offset
 4cac, dts 65536, size 249, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 65, offset
 4da5, dts 66560, size 234, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 66, offset
 4e8f, dts 67584, size 252, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 67, offset
 4f8b, dts 68608, size 259, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 68, offset
 508e, dts 69632, size 247, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 69, offset
 5185, dts 70656, size 289, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 70, offset
 52a6, dts 71680, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 71, offset
 539c, dts 72704, size 251, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 72, offset
 5497, dts 73728, size 288, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 73, offset
 55b7, dts 74752, size 298, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 74, offset
 56e1, dts 75776, size 235, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 75, offset
 57cc, dts 76800, size 248, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 76, offset
 58c4, dts 77824, size 232, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 77, offset
 59ac, dts 78848, size 236, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 78, offset
 5a98, dts 79872, size 264, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 79, offset
 5ba0, dts 80896, size 248, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 80, offset
 5c98, dts 81920, size 248, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 81, offset
 5d90, dts 82944, size 256, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 82, offset
 5e90, dts 83968, size 294, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 83, offset
 5fb6, dts 84992, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 84, offset
 60ac, dts 86016, size 251, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 85, offset
 61a7, dts 87040, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 86, offset
 6299, dts 88064, size 270, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 87, offset
 63a7, dts 89088, size 247, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 88, offset
 649e, dts 90112, size 289, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 89, offset
 65bf, dts 91136, size 251, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 90, offset
 66ba, dts 92160, size 237, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 91, offset
 67a7, dts 93184, size 239, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 92, offset
 6896, dts 94208, size 250, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 93, offset
 6990, dts 95232, size 250, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 94, offset
 6a8a, dts 96256, size 251, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 95, offset
 6b85, dts 97280, size 247, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 96, offset
 6c7c, dts 98304, size 253, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 97, offset
 6d79, dts 99328, size 266, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 98, offset
 6e83, dts 100352, size 252, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 99, offset
 6f7f, dts 101376, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 100, offset
 7071, dts 102400, size 252, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 101, offset
 716d, dts 103424, size 260, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 102, offset
 7271, dts 104448, size 254, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 103, offset
 736f, dts 105472, size 259, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 104, offset
 7472, dts 106496, size 258, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 105, offset
 7574, dts 107520, size 259, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 106, offset
 7677, dts 108544, size 243, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 107, offset
 776a, dts 109568, size 257, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 108, offset
 786b, dts 110592, size 281, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 109, offset
 7984, dts 111616, size 287, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 110, offset
 7aa3, dts 112640, size 254, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 111, offset
 7ba1, dts 113664, size 344, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 112, offset
 7cf9, dts 114688, size 244, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 113, offset
 7ded, dts 115712, size 229, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 114, offset
 7ed2, dts 116736, size 240, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 115, offset
 7fc2, dts 117760, size 240, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 116, offset
 80b2, dts 118784, size 249, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 117, offset
 81ab, dts 119808, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 118, offset
 829d, dts 120832, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 119, offset
 838f, dts 121856, size 248, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 120, offset
 8487, dts 122880, size 274, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 121, offset
 8599, dts 123904, size 266, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 122, offset
 86a3, dts 124928, size 244, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 123, offset
 8797, dts 125952, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 124, offset
 8889, dts 126976, size 244, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 125, offset
 897d, dts 128000, size 252, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 126, offset
 8a79, dts 129024, size 240, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 127, offset
 8b69, dts 130048, size 243, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 128, offset
 8c5c, dts 131072, size 259, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 129, offset
 8d5f, dts 132096, size 246, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 130, offset
 8e55, dts 133120, size 241, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 131, offset
 8f46, dts 134144, size 255, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 132, offset
 9045, dts 135168, size 255, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 133, offset
 9144, dts 136192, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 134, offset
 9236, dts 137216, size 283, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 135, offset
 9351, dts 138240, size 247, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 136, offset
 9448, dts 139264, size 253, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 137, offset
 9545, dts 140288, size 264, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 138, offset
 964d, dts 141312, size 295, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 139, offset
 9774, dts 142336, size 240, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 140, offset
 9864, dts 143360, size 233, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 141, offset
 994d, dts 144384, size 301, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] AVIndex stream 1, sample 142, offset
 9a7a, dts 145408, size 242, distance 0, keyframe 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'free' parent:'root' sz: 1280
 1945 431279
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] type:'mdat' parent:'root' sz: 428062
 3225 431279
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] on_parse_exit_offset=3225
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 28.666667 0.018224
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 28.750000 0.015714
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 28.833333 0.013390
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 28.916667 0.011252
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.000000 0.009300
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.083333 0.007534
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.166667 0.005954
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.250000 0.004560
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.333333 0.003352
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.416667 0.002329
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.500000 0.001493
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.583333 0.000843
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.666667 0.000379
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.750000 0.000100
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.833333 0.000008
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.916667 0.000101
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 30.000000 0.000381
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 31.000000 0.018240
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 59.000000 0.005973
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 60.000000 0.001523
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 120.000000 0.006092
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 29.970030 0.000259
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] rfps: 59.940060 0.001035
     Last message repeated 1 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] Before avformat_find_stream_info()
 pos: 3225 bytes read:32768 seeks:0 nb_streams:2
 [h264 @ 0x3311280] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 0x3311280] nal_unit_type: 8(PPS), nal_ref_idc: 3
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 1, dts 21333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 2, dts 42667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 3, dts 64000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 4, dts 85333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 5, dts 106667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 6, dts 128000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 7, dts 149333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 8, dts 170667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 9, dts 192000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 10, dts 213333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 11, dts 234667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 12, dts 256000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 13, dts 277333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 14, dts 298667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 15, dts 320000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 16, dts 341333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 17, dts 362667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 18, dts 384000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 19, dts 405333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 20, dts 426667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 21, dts 448000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 22, dts 469333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 23, dts 490667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 24, dts 512000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 25, dts 533333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 26, dts 554667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 27, dts 576000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 28, dts 597333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 29, dts 618667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 30, dts 640000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 31, dts 661333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 32, dts 682667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 33, dts 704000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 34, dts 725333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 35, dts 746667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 36, dts 768000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 37, dts 789333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 38, dts 810667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 39, dts 832000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 40, dts 853333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 41, dts 874667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 42, dts 896000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 43, dts 917333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 44, dts 938667
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 45, dts 960000
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 46, dts 981333
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 0, dts 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 47, dts 1002667
 [h264 @ 0x3311280] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 0x3311280] Format yuv420p chosen by get_format().
 [h264 @ 0x3311280] Reinit context to 720x1280, pix_fmt: yuv420p
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] All info found
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0: start_time: 0.000
 duration: 0.436
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1: start_time: 0.000
 duration: 3.051
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] format: start_time: 0.000 duration:
 3.051 (estimate from stream) bitrate=1130 kb/s
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] After avformat_find_stream_info()
 pos: 102651 bytes read:95631 seeks:1 frames:48
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mp4_duration_is_incorrect.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     creation_time   : 2019-06-20T01:50:45.000000Z
     com.android.version: 6.0
   Duration: 00:00:03.05, start: 0.000000, bitrate: 1130 kb/s
     Stream #0:0(eng), 1, 1/90000: Video: h264 (Baseline), 1 reference
 frame (avc1 / 0x31637661), yuv420p(left), 720x1280, 0/1, 7189 kb/s, SAR
 1:1 DAR 9:16, 4.29 fps, 29.83 tbr, 90k tbn, 180k tbc (default)
     Metadata:
       creation_time   : 2019-06-20T01:50:45.000000Z
       handler_name    : VideoHandle
     Stream #0:1(eng), 47, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
 48000 Hz, stereo, fltp, 95 kb/s (default)
     Metadata:
       creation_time   : 2019-06-20T01:50:45.000000Z
       handler_name    : SoundHandle
 Successfully opened the file.
 Parsing a group of options: output url output.mp4.
 Applying option vcodec (force video codec ('copy' to copy stream)) with
 argument libx264.
 Successfully parsed a group of options.
 Opening an output file: output.mp4.
 [file @ 0x3316e40] Setting default whitelist 'file,crypto'
 Successfully opened the file.
 detected 12 logical cores
 [h264 @ 0x3338bc0] nal_unit_type: 7(SPS), nal_ref_idc: 3
 [h264 @ 0x3338bc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [graph_1_in_0_1 @ 0x364e700] Setting 'time_base' to value '1/48000'
 [graph_1_in_0_1 @ 0x364e700] Setting 'sample_rate' to value '48000'
 [graph_1_in_0_1 @ 0x364e700] Setting 'sample_fmt' to value 'fltp'
 [graph_1_in_0_1 @ 0x364e700] Setting 'channel_layout' to value '0x3'
 [graph_1_in_0_1 @ 0x364e700] tb:1/48000 samplefmt:fltp samplerate:48000
 chlayout:0x3
 [format_out_0_1 @ 0x364eb40] Setting 'sample_fmts' to value 'fltp'
 [format_out_0_1 @ 0x364eb40] Setting 'sample_rates' to value
 '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
 [AVFilterGraph @ 0x33562c0] query_formats: 4 queried, 9 merged, 0 already
 done, 0 delayed
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
     Last message repeated 47 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 47, dts 1002667
 [h264 @ 0x3338bc0] nal_unit_type: 5(IDR), nal_ref_idc: 3
 [h264 @ 0x3338bc0] Format yuv420p chosen by get_format().
 [h264 @ 0x3338bc0] Reinit context to 720x1280, pix_fmt: yuv420p
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 48, dts 1024000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 49, dts 1045333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 50, dts 1066667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 51, dts 1088000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 52, dts 1109333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 53, dts 1130667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 54, dts 1152000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 55, dts 1173333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 56, dts 1194667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 57, dts 1216000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 58, dts 1237333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 59, dts 1258667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 60, dts 1280000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 61, dts 1301333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 62, dts 1322667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 63, dts 1344000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 64, dts 1365333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 65, dts 1386667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 66, dts 1408000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 67, dts 1429333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 68, dts 1450667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 69, dts 1472000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 70, dts 1493333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 71, dts 1514667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 72, dts 1536000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 73, dts 1557333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 74, dts 1578667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 75, dts 1600000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 76, dts 1621333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 77, dts 1642667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 78, dts 1664000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 79, dts 1685333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 80, dts 1706667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 81, dts 1728000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 82, dts 1749333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 83, dts 1770667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 84, dts 1792000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 85, dts 1813333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 86, dts 1834667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 87, dts 1856000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 88, dts 1877333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 89, dts 1898667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 90, dts 1920000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 91, dts 1941333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 92, dts 1962667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 93, dts 1984000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 94, dts 2005333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 95, dts 2026667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 96, dts 2048000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 97, dts 2069333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 98, dts 2090667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 99, dts 2112000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 100, dts 2133333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 101, dts 2154667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 102, dts 2176000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 103, dts 2197333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 104, dts 2218667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 105, dts 2240000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 106, dts 2261333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 107, dts 2282667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 108, dts 2304000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 109, dts 2325333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 110, dts 2346667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 111, dts 2368000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 112, dts 2389333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 113, dts 2410667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 114, dts 2432000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 115, dts 2453333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 116, dts 2474667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 117, dts 2496000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 118, dts 2517333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 119, dts 2538667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 120, dts 2560000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 121, dts 2581333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 122, dts 2602667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 123, dts 2624000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 124, dts 2645333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 125, dts 2666667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 126, dts 2688000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 127, dts 2709333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 128, dts 2730667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 129, dts 2752000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 130, dts 2773333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 131, dts 2794667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 132, dts 2816000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 133, dts 2837333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 134, dts 2858667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 135, dts 2880000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 136, dts 2901333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 137, dts 2922667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 138, dts 2944000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 139, dts 2965333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 140, dts 2986667
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 141, dts 3008000
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 1, sample 142, dts 3029333
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 1, dts 2629167
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 2, dts 2662789
 [h264 @ 0x33593c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 3, dts 2696189
 [h264 @ 0x3346180] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 4, dts 2729944
 [h264 @ 0x348e200] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 5, dts 2763311
 [h264 @ 0x34aa980] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 [h264 @ 0x34c70c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 6, dts 2796811
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 7, dts 2830311
 [h264 @ 0x34e3800] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 8, dts 2863811
 [h264 @ 0x34fff40] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 9, dts 2897311
 [h264 @ 0x351c5c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 [h264 @ 0x3538d40] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 10, dts 2931133
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 11, dts 2964389
 [h264 @ 0x3555480] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x330f500] stream 0, sample 12, dts 2997878
 [h264 @ 0x3571bc0] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 [h264 @ 0x358e2c0] nal_unit_type: 1(Coded slice of a non-IDR picture),
 nal_ref_idc: 2
 [graph 0 input from stream 0:0 @ 0x3364c80] Setting 'video_size' to value
 '720x1280'
 [graph 0 input from stream 0:0 @ 0x3364c80] Setting 'pix_fmt' to value '0'
 [graph 0 input from stream 0:0 @ 0x3364c80] Setting 'time_base' to value
 '1/90000'
 [graph 0 input from stream 0:0 @ 0x3364c80] Setting 'pixel_aspect' to
 value '1/1'
 [graph 0 input from stream 0:0 @ 0x3364c80] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0x3364c80] Setting 'frame_rate' to value
 '179/6'
 [graph 0 input from stream 0:0 @ 0x3364c80] w:720 h:1280 pixfmt:yuv420p
 tb:1/90000 fr:179/6 sar:1/1 sws_param:flags=2
 [format @ 0x36f71c0] Setting 'pix_fmts' to value
 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
 [AVFilterGraph @ 0x33639c0] query_formats: 4 queried, 3 merged, 0 already
 done, 0 delayed
 [libx264 @ 0x3336d40] using mv_range_thread = 24
 [libx264 @ 0x3336d40] using SAR=1/1
 [libx264 @ 0x3336d40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX FMA3 AVX2 LZCNT BMI2
 [libx264 @ 0x3336d40] profile High, level 3.1
 [libx264 @ 0x3336d40] cent APD MTS
 Output #0, mp4, to 'output.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: isommp42
     com.android.version: 6.0
     encoder         : Lavf58.33.100
     Stream #0:0(eng), 0, 1/11456: Video: h264 (libx264), 1 reference frame
 (avc1 / 0x31637661), yuv420p(left), 720x1280 [SAR 1:1 DAR 9:16], 0/1, q=-1
 --1, 29.83 fps, 11456 tbn, 29.83 tbc (default)
     Metadata:
       creation_time   : 2019-06-20T01:50:45.000000Z
       handler_name    : VideoHandle
       encoder         : Lavc58.60.100 libx264
     Side data:
       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
     Stream #0:1(eng), 0, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
 48000 Hz, stereo, fltp, delay 1024, 128 kb/s (default)
     Metadata:
       creation_time   : 2019-06-20T01:50:45.000000Z
       handler_name    : SoundHandle
       encoder         : Lavc58.60.100 aac
 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
 if it occurs once at the start per stream)
     Last message repeated 13 times
 [out_0_0 @ 0x3ba18c0] EOF on sink link out_0_0:default.
 cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:1] (this is harmless
 if it occurs once at the start per stream)
 [out_0_1 @ 0x364efc0] EOF on sink link out_0_1:default.
 No more output streams to write to, finishing.
 [libx264 @ 0x3336d40] frame=   0 QP=13.90 NAL=3 Slice:I Poc:0   I:3600 P:0
 SKIP:0    size=73627 bytes
 [libx264 @ 0x3336d40] frame=   1 QP=22.65 NAL=2 Slice:P Poc:8   I:876
 P:2538 SKIP:186  size=20338 bytes
 [libx264 @ 0x3336d40] frame=   2 QP=24.40 NAL=2 Slice:B Poc:4   I:168
 P:1899 SKIP:1452 size=7474 bytes
 [libx264 @ 0x3336d40] frame=   3 QP=25.39 NAL=0 Slice:B Poc:2   I:197
 P:1497 SKIP:1851 size=5153 bytes
 [libx264 @ 0x3336d40] frame=   4 QP=25.53 NAL=0 Slice:B Poc:6   I:40
 P:1660 SKIP:1888 size=3347 bytes
 [libx264 @ 0x3336d40] frame=   5 QP=23.65 NAL=2 Slice:P Poc:16  I:592
 P:2745 SKIP:263  size=16064 bytes
 [libx264 @ 0x3336d40] frame=   6 QP=24.55 NAL=2 Slice:B Poc:12  I:84
 P:2056 SKIP:1432 size=6015 bytes
 [libx264 @ 0x3336d40] frame=   7 QP=26.12 NAL=0 Slice:B Poc:10  I:23
 P:1742 SKIP:1821 size=3386 bytes
 [libx264 @ 0x3336d40] frame=   8 QP=26.42 NAL=0 Slice:B Poc:14  I:30
 P:1806 SKIP:1757 size=3310 bytes
 [libx264 @ 0x3336d40] frame=   9 QP=26.22 NAL=2 Slice:P Poc:24  I:711
 P:2514 SKIP:375  size=11142 bytes
 [libx264 @ 0x3336d40] frame=  10 QP=24.54 NAL=2 Slice:B Poc:20  I:225
 P:2462 SKIP:869  size=9259 bytes
 [libx264 @ 0x3336d40] frame=  11 QP=25.99 NAL=0 Slice:B Poc:18  I:83
 P:1888 SKIP:1624 size=4347 bytes
 [libx264 @ 0x3336d40] frame=  12 QP=26.40 NAL=0 Slice:B Poc:22  I:54
 P:1839 SKIP:1687 size=4280 bytes
 frame=   13 fps=0.0 q=-1.0 Lsize=     216kB time=00:00:03.05 bitrate=
 580.7kbits/s speed=10.2x
 video:164kB audio:50kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 1.080486%
 Input file #0 (mp4_duration_is_incorrect.mp4):
   Input stream #0:0 (video): 13 packets read (391491 bytes); 13 frames
 decoded;
   Input stream #0:1 (audio): 143 packets read (36563 bytes); 143 frames
 decoded (146432 samples);
   Total: 156 packets (428054 bytes) demuxed
 Output file #0 (output.mp4):
   Output stream #0:0 (video): 13 frames encoded; 13 packets muxed (167781
 bytes);
   Output stream #0:1 (audio): 143 frames encoded (146432 samples); 144
 packets muxed (51287 bytes);
   Total: 157 packets (219068 bytes) muxed
 156 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0x3365200] Statistics: 2 seeks, 4 writeouts
 [libx264 @ 0x3336d40] frame I:1     Avg QP:13.90  size: 73627
 [libx264 @ 0x3336d40] frame P:3     Avg QP:24.17  size: 15848
 [libx264 @ 0x3336d40] frame B:9     Avg QP:25.48  size:  5175
 [libx264 @ 0x3336d40] consecutive B-frames:  7.7%  0.0%  0.0% 92.3%
 [libx264 @ 0x3336d40] mb I  I16..4: 19.4% 40.2% 40.5%
 [libx264 @ 0x3336d40] mb P  I16..4:  8.9% 11.1%  0.2%  P16..4: 53.8% 13.5%
 4.9%  0.0%  0.0%    skip: 7.6%
 [libx264 @ 0x3336d40] mb B  I16..4:  1.5%  1.3%  0.0%  B16..8: 45.1%  3.1%
 0.3%  direct: 4.3%  skip:44.4%  L0:45.1% L1:52.2% BI: 2.7%
 [libx264 @ 0x3336d40] 8x8 transform intra:45.8% inter:82.0%
 [libx264 @ 0x3336d40] coded y,uvDC,uvAC intra: 51.2% 74.8% 30.4% inter:
 11.6% 30.0% 0.3%
 [libx264 @ 0x3336d40] i16 v,h,dc,p: 29% 27% 20% 24%
 [libx264 @ 0x3336d40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 20% 31%  4%  3%
 3%  3%  5%  5%
 [libx264 @ 0x3336d40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 24%  9%  6%  7%
 7%  7%  6%  6%
 [libx264 @ 0x3336d40] i8c dc,h,v,p: 46% 23% 22%  9%
 [libx264 @ 0x3336d40] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 0x3336d40] ref P L0: 69.1% 20.9%  7.8%  2.3%
 [libx264 @ 0x3336d40] ref B L0: 96.0%  3.4%  0.6%
 [libx264 @ 0x3336d40] ref B L1: 98.0%  2.0%
 [libx264 @ 0x3336d40] kb/s:444.83
 [aac @ 0x333a500] Qavg: 674.402
 [AVIOContext @ 0x3318240] Statistics: 457027 bytes read, 3 seeks

 }}}

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


More information about the FFmpeg-trac mailing list