Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#6447 closed defect (worksforme)

libavcodec mjpeg huffman code segfaults with -qscale:v 2 on gcc 6.3.0

Reported by: Alexander Eichhorn Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: mjpeg crash
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Segfault in ff_mjpegenc_huffman_compute_bits when qscale param is set. I'm not sure if fixing qscale with the new optimal huffman encoder is even intended to work, but at least I did not expect a segfault.

The interesting piece here is that the segfault happens only on Alpine Linux 3.6 (probably due to gcc 6.3.0). Cross-check on OSX with clang-800.0.42.1 did not segfault. Using -huffman default did also work as expected.

How to reproduce:

% ffmpeg -v 9 -loglevel 99  -i test.mp4 -an -vframes 1 -q:v 2 -huffman optimal -f image2 test.jpeg
ffmpeg version N-86395-g497a4b554c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (Alpine 6.3.0)
  configuration: --enable-gpl --enable-nonfree --enable-avresample --enable-avfilter --enable-postproc --enable-pic --enable-pthreads --enable-libvorbis --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --disable-doc --disable-decoder=prores --disable-protocols --disable-network --disable-ffplay --disable-ffprobe --disable-ffserver --enable-protocol=file
  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. 91.100 /  6. 91.100
  libavresample   3.  6.  0 /  3.  6.  0
  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 '-i' ... matched as input url with argument 'test.mp4'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '1'.
Reading option '-q:v' ... matched as option 'q' (use fixed quality scale (VBR)) with argument '2'.
Reading option '-huffman' ... matched as AVOption 'huffman' with argument 'optimal'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option 'test.jpeg' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url test.mp4.
Successfully parsed a group of options.
Opening an input file: test.mp4.
[NULL @ 0x7f86702cb7c0] Opening 'test.mp4' for reading
[file @ 0x7f86702cbe80] Setting default whitelist 'file,crypto'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'ftyp' parent:'root' sz: 32 8 94332
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'moov' parent:'root' sz: 2356 40 94332
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'mvhd' parent:'moov' sz: 108 8 2348
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'trak' parent:'moov' sz: 2111 116 2348
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'tkhd' parent:'trak' sz: 92 8 2103
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'edts' parent:'trak' sz: 36 100 2103
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'elst' parent:'edts' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] duration=5000 time=1024 rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'mdia' parent:'trak' sz: 1975 136 2103
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'mdhd' parent:'mdia' sz: 32 8 1967
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'hdlr' parent:'mdia' sz: 45 40 1967
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stype=vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'minf' parent:'mdia' sz: 1890 85 1967
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'vmhd' parent:'minf' sz: 20 8 1882
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'dinf' parent:'minf' sz: 36 28 1882
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'dref' parent:'dinf' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stbl' parent:'minf' sz: 1826 64 1882
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stsd' parent:'stbl' sz: 190 8 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] size=174 4CC=avc1 codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'avcC' parent:'stsd' sz: 53 8 88
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'colr' parent:'stsd' sz: 19 61 88
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] nclx: pri 1 trc 1 matrix 1 full 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'pasp' parent:'stsd' sz: 16 80 88
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stts' parent:'stbl' sz: 24 198 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] sample_count=125, sample_duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stss' parent:'stbl' sz: 20 222 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] keyframe_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'ctts' parent:'stbl' sz: 1016 242 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] track[0].ctts.entries = 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] dts shift 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stsc' parent:'stbl' sz: 28 1258 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stsz' parent:'stbl' sz: 520 1286 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] sample_size = 0 sample_count = 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'stco' parent:'stbl' sz: 20 1806 1818
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 0, offset 964, dts 0, size 19739, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 1, offset 567f, dts 512, size 1120, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 2, offset 5adf, dts 1024, size 362, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 3, offset 5c49, dts 1536, size 677, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 4, offset 5eee, dts 2048, size 526, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 5, offset 60fc, dts 2560, size 507, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 6, offset 62f7, dts 3072, size 421, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 7, offset 649c, dts 3584, size 778, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 8, offset 67a6, dts 4096, size 440, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 9, offset 695e, dts 4608, size 752, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 10, offset 6c4e, dts 5120, size 516, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 11, offset 6e52, dts 5632, size 471, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 12, offset 7029, dts 6144, size 310, distance 12, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 13, offset 715f, dts 6656, size 133, distance 13, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 14, offset 71e4, dts 7168, size 593, distance 14, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 15, offset 7435, dts 7680, size 527, distance 15, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 16, offset 7644, dts 8192, size 431, distance 16, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 17, offset 77f3, dts 8704, size 781, distance 17, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 18, offset 7b00, dts 9216, size 412, distance 18, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 19, offset 7c9c, dts 9728, size 1296, distance 19, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 20, offset 81ac, dts 10240, size 538, distance 20, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 21, offset 83c6, dts 10752, size 453, distance 21, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 22, offset 858b, dts 11264, size 291, distance 22, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 23, offset 86ae, dts 11776, size 2451, distance 23, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 24, offset 9041, dts 12288, size 615, distance 24, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 25, offset 92a8, dts 12800, size 625, distance 25, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 26, offset 9519, dts 13312, size 85, distance 26, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 27, offset 956e, dts 13824, size 154, distance 27, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 28, offset 9608, dts 14336, size 652, distance 28, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 29, offset 9894, dts 14848, size 87, distance 29, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 30, offset 98eb, dts 15360, size 541, distance 30, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 31, offset 9b08, dts 15872, size 418, distance 31, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 32, offset 9caa, dts 16384, size 789, distance 32, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 33, offset 9fbf, dts 16896, size 432, distance 33, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 34, offset a16f, dts 17408, size 719, distance 34, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 35, offset a43e, dts 17920, size 460, distance 35, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 36, offset a60a, dts 18432, size 477, distance 36, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 37, offset a7e7, dts 18944, size 304, distance 37, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 38, offset a917, dts 19456, size 138, distance 38, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 39, offset a9a1, dts 19968, size 596, distance 39, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 40, offset abf5, dts 20480, size 530, distance 40, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 41, offset ae07, dts 20992, size 422, distance 41, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 42, offset afad, dts 21504, size 775, distance 42, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 43, offset b2b4, dts 22016, size 429, distance 43, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 44, offset b461, dts 22528, size 1309, distance 44, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 45, offset b97e, dts 23040, size 467, distance 45, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 46, offset bb51, dts 23552, size 503, distance 46, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 47, offset bd48, dts 24064, size 308, distance 47, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 48, offset be7c, dts 24576, size 3269, distance 48, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 49, offset cb41, dts 25088, size 615, distance 49, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 50, offset cda8, dts 25600, size 647, distance 50, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 51, offset d02f, dts 26112, size 84, distance 51, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 52, offset d083, dts 26624, size 185, distance 52, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 53, offset d13c, dts 27136, size 609, distance 53, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 54, offset d39d, dts 27648, size 82, distance 54, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 55, offset d3ef, dts 28160, size 536, distance 55, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 56, offset d607, dts 28672, size 400, distance 56, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 57, offset d797, dts 29184, size 797, distance 57, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 58, offset dab4, dts 29696, size 436, distance 58, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 59, offset dc68, dts 30208, size 723, distance 59, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 60, offset df3b, dts 30720, size 512, distance 60, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 61, offset e13b, dts 31232, size 469, distance 61, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 62, offset e310, dts 31744, size 316, distance 62, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 63, offset e44c, dts 32256, size 144, distance 63, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 64, offset e4dc, dts 32768, size 587, distance 64, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 65, offset e727, dts 33280, size 532, distance 65, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 66, offset e93b, dts 33792, size 416, distance 66, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 67, offset eadb, dts 34304, size 766, distance 67, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 68, offset edd9, dts 34816, size 426, distance 68, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 69, offset ef83, dts 35328, size 1294, distance 69, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 70, offset f491, dts 35840, size 511, distance 70, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 71, offset f690, dts 36352, size 466, distance 71, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 72, offset f862, dts 36864, size 319, distance 72, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 73, offset f9a1, dts 37376, size 3172, distance 73, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 74, offset 10605, dts 37888, size 612, distance 74, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 75, offset 10869, dts 38400, size 621, distance 75, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 76, offset 10ad6, dts 38912, size 111, distance 76, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 77, offset 10b45, dts 39424, size 176, distance 77, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 78, offset 10bf5, dts 39936, size 635, distance 78, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 79, offset 10e70, dts 40448, size 84, distance 79, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 80, offset 10ec4, dts 40960, size 544, distance 80, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 81, offset 110e4, dts 41472, size 408, distance 81, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 82, offset 1127c, dts 41984, size 775, distance 82, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 83, offset 11583, dts 42496, size 418, distance 83, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 84, offset 11725, dts 43008, size 725, distance 84, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 85, offset 119fa, dts 43520, size 488, distance 85, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 86, offset 11be2, dts 44032, size 500, distance 86, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 87, offset 11dd6, dts 44544, size 295, distance 87, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 88, offset 11efd, dts 45056, size 147, distance 88, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 89, offset 11f90, dts 45568, size 568, distance 89, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 90, offset 121c8, dts 46080, size 517, distance 90, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 91, offset 123cd, dts 46592, size 422, distance 91, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 92, offset 12573, dts 47104, size 778, distance 92, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 93, offset 1287d, dts 47616, size 450, distance 93, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 94, offset 12a3f, dts 48128, size 1294, distance 94, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 95, offset 12f4d, dts 48640, size 515, distance 95, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 96, offset 13150, dts 49152, size 482, distance 96, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 97, offset 13332, dts 49664, size 308, distance 97, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 98, offset 13466, dts 50176, size 3014, distance 98, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 99, offset 1402c, dts 50688, size 596, distance 99, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 100, offset 14280, dts 51200, size 560, distance 100, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 101, offset 144b0, dts 51712, size 89, distance 101, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 102, offset 14509, dts 52224, size 126, distance 102, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 103, offset 14587, dts 52736, size 598, distance 103, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 104, offset 147dd, dts 53248, size 88, distance 104, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 105, offset 14835, dts 53760, size 520, distance 105, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 106, offset 14a3d, dts 54272, size 400, distance 106, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 107, offset 14bcd, dts 54784, size 750, distance 107, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 108, offset 14ebb, dts 55296, size 393, distance 108, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 109, offset 15044, dts 55808, size 684, distance 109, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 110, offset 152f0, dts 56320, size 507, distance 110, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 111, offset 154eb, dts 56832, size 461, distance 111, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 112, offset 156b8, dts 57344, size 288, distance 112, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 113, offset 157d8, dts 57856, size 126, distance 113, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 114, offset 15856, dts 58368, size 586, distance 114, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 115, offset 15aa0, dts 58880, size 527, distance 115, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 116, offset 15caf, dts 59392, size 416, distance 116, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 117, offset 15e4f, dts 59904, size 730, distance 117, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 118, offset 16129, dts 60416, size 415, distance 118, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 119, offset 162c8, dts 60928, size 1073, distance 119, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 120, offset 166f9, dts 61440, size 540, distance 120, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 121, offset 16915, dts 61952, size 496, distance 121, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 122, offset 16b05, dts 62464, size 308, distance 122, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 123, offset 16c39, dts 62976, size 615, distance 123, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] AVIndex stream 0, sample 124, offset 16ea0, dts 63488, size 476, distance 124, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] Offset DTS by ctts[0].duration: 1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] Processing st: 0, edit list 0 - media time: 1024, duration: 64000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 0 @ 0, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 512 @ 1, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 1024 @ 2, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 1536 @ 3, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 2048 @ 4, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 2560 @ 5, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 3072 @ 6, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 3584 @ 7, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 4096 @ 8, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 4608 @ 9, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 5120 @ 10, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 5632 @ 11, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 6144 @ 12, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 6656 @ 13, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 7168 @ 14, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 7680 @ 15, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 8192 @ 16, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 8704 @ 17, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 9216 @ 18, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 9728 @ 19, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 10240 @ 20, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 10752 @ 21, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 11264 @ 22, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 11776 @ 23, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 12288 @ 24, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 12800 @ 25, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 13312 @ 26, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 13824 @ 27, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 14336 @ 28, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 14848 @ 29, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 15360 @ 30, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 15872 @ 31, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 16384 @ 32, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 16896 @ 33, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 17408 @ 34, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 17920 @ 35, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 18432 @ 36, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 18944 @ 37, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 19456 @ 38, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 19968 @ 39, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 20480 @ 40, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 20992 @ 41, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 21504 @ 42, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 22016 @ 43, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 22528 @ 44, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 23040 @ 45, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 23552 @ 46, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 24064 @ 47, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 24576 @ 48, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 25088 @ 49, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 25600 @ 50, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 26112 @ 51, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 26624 @ 52, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 27136 @ 53, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 27648 @ 54, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 28160 @ 55, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 28672 @ 56, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 29184 @ 57, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 29696 @ 58, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 30208 @ 59, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 30720 @ 60, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 31232 @ 61, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 31744 @ 62, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 32256 @ 63, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 32768 @ 64, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 33280 @ 65, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 33792 @ 66, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 34304 @ 67, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 34816 @ 68, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 35328 @ 69, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 35840 @ 70, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 36352 @ 71, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 36864 @ 72, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 37376 @ 73, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 37888 @ 74, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 38400 @ 75, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 38912 @ 76, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 39424 @ 77, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 39936 @ 78, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 40448 @ 79, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 40960 @ 80, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 41472 @ 81, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 41984 @ 82, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 42496 @ 83, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 43008 @ 84, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 43520 @ 85, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 44032 @ 86, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 44544 @ 87, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 45056 @ 88, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 45568 @ 89, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 46080 @ 90, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 46592 @ 91, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 47104 @ 92, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 47616 @ 93, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 48128 @ 94, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 48640 @ 95, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 49152 @ 96, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 49664 @ 97, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 50176 @ 98, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 50688 @ 99, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 51200 @ 100, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 51712 @ 101, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 52224 @ 102, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 52736 @ 103, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 53248 @ 104, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 53760 @ 105, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 54272 @ 106, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 54784 @ 107, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 55296 @ 108, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 55808 @ 109, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 56320 @ 110, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 56832 @ 111, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 57344 @ 112, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 57856 @ 113, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 58368 @ 114, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 58880 @ 115, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 59392 @ 116, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 59904 @ 117, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 60416 @ 118, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 60928 @ 119, ctts: 2560, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 61440 @ 120, ctts: 1024, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 61952 @ 121, ctts: 0, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 62464 @ 122, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 62976 @ 123, ctts: 1536, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] shifted frame pts, curr_cts: 63488 @ 124, ctts: 512, ctts_count: 125
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'udta' parent:'moov' sz: 129 2227 2348
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'meta' parent:'udta' sz: 121 8 121
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'hdlr' parent:'meta' sz: 33 8 109
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stype=mdta
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'keys' parent:'meta' sz: 31 41 109
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'ilst' parent:'meta' sz: 45 72 109
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'[0][0][0][1]' parent:'ilst' sz: 37 8 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'free' parent:'root' sz: 8 2396 94332
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] type:'mdat' parent:'root' sz: 91936 2404 94332
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] on_parse_exit_offset=2404
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] Before avformat_find_stream_info() pos: 2404 bytes read:32768 seeks:0 nb_streams:1
[h264 @ 0x7f866ecd5780] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7f866ecd5780] nal_unit_type: 8, nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 0, dts -80000
[h264 @ 0x7f866ecd5780] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0x7f866ecd5780] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0x7f866ecd5780] user data:"x264 - core 148 r2728 4d5c8b0 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[h264 @ 0x7f866ecd5780] Reinit context to 1280x720, pix_fmt: yuvj420p
[h264 @ 0x7f866ecd5780] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0: start_time: 0.000 duration: 5.000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] format: start_time: 0.000 duration: 5.000 bitrate=150 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] After avformat_find_stream_info() pos: 22143 bytes read:32768 seeks:0 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.100
  Duration: 00:00:05.00, start: 0.000000, bitrate: 150 kb/s
    Stream #0:0(und), 1, 1/12800: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuvj420p(pc, bt709, left), 1280x720 [SAR 1:1 DAR 16:9], 0/1, 147 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Successfully opened the file.
Parsing a group of options: output url test.jpeg.
Applying option an (disable audio) with argument 1.
Applying option vframes (set the number of video frames to output) with argument 1.
Applying option q:v (use fixed quality scale (VBR)) with argument 2.
Applying option f (force format) with argument image2.
Successfully parsed a group of options.
Opening an output file: test.jpeg.
Successfully opened the file.
detected 4 logical cores
[h264 @ 0x7f866eedb8e0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7f866eedb8e0] nal_unit_type: 8, nal_ref_idc: 3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 1, dts -40000
[h264 @ 0x7f866eedb8e0] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0x7f866eedb8e0] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0x7f866eedb8e0] user data:"x264 - core 148 r2728 4d5c8b0 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[h264 @ 0x7f866eedb8e0] Reinit context to 1280x720, pix_fmt: yuvj420p
[h264 @ 0x7f866eedb8e0] no picture
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 2, dts 0
[h264 @ 0x55eada5cb820] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 0x55eada5cb820] no picture
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 3, dts 40000
[h264 @ 0x55eada6128a0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 4, dts 80000
[h264 @ 0x55eada62dc00] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 5, dts 120000
[h264 @ 0x55eada648f60] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f86702cb7c0] stream 0, sample 6, dts 160000
[h264 @ 0x7f866eedb8e0] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 0x55eada5cb820] nal_unit_type: 1, nal_ref_idc: 0
[graph 0 input from stream 0:0 @ 0x55eada98f840] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 0x55eada98f840] Setting 'pix_fmt' to value '12'
[graph 0 input from stream 0:0 @ 0x55eada98f840] Setting 'time_base' to value '1/12800'
[graph 0 input from stream 0:0 @ 0x55eada98f840] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x55eada98f840] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x55eada98f840] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x55eada98f840] w:1280 h:720 pixfmt:yuvj420p tb:1/12800 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0x55eada990060] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
[format @ 0x55eada990060] Setting 'pix_fmts' to value 'yuvj420p|yuvj422p|yuvj444p'
[AVFilterGraph @ 0x55eada98f340] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[mjpeg @ 0x55eada5a48a0] intra_quant_bias = 96 inter_quant_bias = 0
[mjpeg @ 0x55eada9e64e0] intra_quant_bias = 96 inter_quant_bias = 0
[mjpeg @ 0x55eadaa3c3a0] intra_quant_bias = 96 inter_quant_bias = 0
[mjpeg @ 0x55eadaa92240] intra_quant_bias = 96 inter_quant_bias = 0
[mjpeg @ 0x7f866f6879c0] intra_quant_bias = 96 inter_quant_bias = 0
Output #0, image2, to 'test.jpeg':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.72.101
    Stream #0:0(und), 0, 1/25: Video: mjpeg, 1 reference frame, yuvj420p(pc, left), 1280x720 [SAR 1:1 DAR 16:9], 0/1, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc57.96.101 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Clipping frame in rate conversion by 0.000008
No more output streams to write to, finishing.
Segmentation fault (core dumped)

GDB Backtrace

Core was generated by `./ffmpeg_g -v 9 -loglevel 99 -i test.mp4 -an -vframes 1 -q:v 2 -huffman optima'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055c83049d7f3 in ff_mjpegenc_huffman_compute_bits (prob_table=prob_table@entry=0x7f2f6e3355f0, distincts=distincts@entry=0x7f2f6e334df0, size=size@entry=86, max_length=max_length@entry=16) at libavcodec/mjpegenc_huffman.c:120
120	                    to->items[to->item_idx[to->nitems]++] = from->items[k];
[Current thread is 1 (LWP 2186)]
(gdb) #0  0x000055c83049d7f3 in ff_mjpegenc_huffman_compute_bits (prob_table=prob_table@entry=0x7f2f6e3355f0, distincts=distincts@entry=0x7f2f6e334df0, size=size@entry=86, max_length=max_length@entry=16) at libavcodec/mjpegenc_huffman.c:120
#1  0x000055c83049da82 in ff_mjpeg_encode_huffman_close (s=s@entry=0x7f2f6e336680, bits=bits@entry=0x55c832e75562 "", val=val@entry=0x55c832e75573 "", max_nval=max_nval@entry=256) at libavcodec/mjpegenc_huffman.c:184
#2  0x000055c82ffb1e81 in ff_mjpeg_build_optimal_huffman (m=m@entry=0x55c832e70ee0) at libavcodec/mjpegenc_common.c:505
#3  0x000055c83049d087 in ff_mjpeg_encode_stuffing (s=0x55c832e6d900) at libavcodec/mjpegenc_common.c:550
#4  0x000055c8304f8353 in write_slice_end (s=0x55c832e6d900) at libavcodec/mpegvideo_enc.c:2918
#5  0x000055c830504299 in encode_thread (c=<optimized out>, arg=<optimized out>) at libavcodec/mpegvideo_enc.c:3640
#6  0x000055c830638307 in avcodec_default_execute (c=0x55c832e6d460, func=0x55c830501aa0 <encode_thread>, arg=<optimized out>, ret=<optimized out>, count=1, size=<optimized out>) at libavcodec/utils.c:540
#7  0x000055c830500ce8 in encode_picture (picture_number=0, s=0x55c832e6d900) at libavcodec/mpegvideo_enc.c:4020
#8  ff_mpv_encode_picture (avctx=0x55c832e6d460, pkt=0x55c832e3c900, pic_arg=<optimized out>, got_packet=0x7f2f6e3419fc) at libavcodec/mpegvideo_enc.c:1964
#9  0x000055c830337883 in avcodec_encode_video2 (avctx=0x55c832e6d460, avpkt=avpkt@entry=0x55c832e3c900, frame=0x55c832e58520, got_packet_ptr=got_packet_ptr@entry=0x7f2f6e3419fc) at libavcodec/encode.c:304
#10 0x000055c830380ee7 in worker (v=<optimized out>) at libavcodec/frame_thread_encoder.c:86
#11 0x00007f2f715dca87 in ?? () from /lib/ld-musl-x86_64.so.1
#12 0x0000000000000000 in ?? ()

GDB Disassembly

(gdb) Dump of assembler code from 0x55c83049d7d3 to 0x55c83049d813:
   0x000055c83049d7d3 <ff_mjpegenc_huffman_compute_bits+947>:	sub    %rsi,%rcx
   0x000055c83049d7d6 <ff_mjpegenc_huffman_compute_bits+950>:	lea    (%rdi,%rcx,4),%r11
   0x000055c83049d7da <ff_mjpegenc_huffman_compute_bits+954>:	nopw   0x0(%rax,%rax,1)
   0x000055c83049d7e0 <ff_mjpegenc_huffman_compute_bits+960>:	movslq 0x4(%r9),%rcx
   0x000055c83049d7e4 <ff_mjpegenc_huffman_compute_bits+964>:	lea    0x1(%rcx),%ebp
   0x000055c83049d7e7 <ff_mjpegenc_huffman_compute_bits+967>:	mov    %ebp,0x4(%r9)
   0x000055c83049d7eb <ff_mjpegenc_huffman_compute_bits+971>:	mov    0x1018(%r11,%rsi,4),%ebp
=> 0x000055c83049d7f3 <ff_mjpegenc_huffman_compute_bits+979>:	mov    %ebp,0x1018(%rax,%rcx,4)
   0x000055c83049d7fa <ff_mjpegenc_huffman_compute_bits+986>:	mov    %esi,%ecx
   0x000055c83049d7fc <ff_mjpegenc_huffman_compute_bits+988>:	add    $0x1,%rsi
   0x000055c83049d800 <ff_mjpegenc_huffman_compute_bits+992>:	cmp    %ecx,0xc(%r10)
   0x000055c83049d804 <ff_mjpegenc_huffman_compute_bits+996>:	jg     0x55c83049d7e0 <ff_mjpegenc_huffman_compute_bits+960>
   0x000055c83049d806 <ff_mjpegenc_huffman_compute_bits+998>:	cmp    %r12d,%edx
   0x000055c83049d809 <ff_mjpegenc_huffman_compute_bits+1001>:	mov    %r13d,0x810(%rax,%rbx,4)
   0x000055c83049d811 <ff_mjpegenc_huffman_compute_bits+1009>:	lea    0x1(%r8),%ebp
End of assembler dump.

GDB Register Dump

(gdb) rax            0x7f2f6e32a8e0	139841689004256
rbx            0x99	153
rcx            0x1c2	450
rdx            0x50	80
rsi            0x173	371
rdi            0x7f2f6e32f940	139841689024832
rbp            0x52	0x52
rsp            0x7f2f6e32a0b0	0x7f2f6e32a0b0
r8             0x94	148
r9             0x7f2f6e32ab48	139841689004872
r10            0x7f2f6e32fb88	139841689025416
r11            0x7f2f6e32f93c	139841689024828
r12            0x56	86
r13            0x4f5	1269
r14            0x528	1320
r15            0x7f2f6e3355f0	139841689048560
rip            0x55c83049d7f3	0x55c83049d7f3 <ff_mjpegenc_huffman_compute_bits+979>
eflags         0x10206	[ PF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
st0            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st1            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st2            -nan(0x002000200)	(raw 0xffff0000000002000200)
st3            -nan(0x200020002000200)	(raw 0xffff0200020002000200)
st4            419430400	(raw 0x401bc800000000000000)
st5            0	(raw 0x00000000000000000000)
st6            1000000000	(raw 0x401cee6b280000000000)
st7            0	(raw 0x00000000000000000000)
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x7f2f	32559
fioff          0x715d946b	1901958251
foseg          0x7fff	32767
fooff          0x3a23a4b8	975414456
fop            0x0	0
mxcsr          0x1fa8	[ OE PE IM DM ZM OM UM PM ]
ymm0           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0 <repeats 17 times>}, v16_int16 = {0x1,
    0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x10001, 0x10001, 0x10001, 0x10001, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x1000100010001, 0x1000100010001, 0x0, 0x0}, v2_int128 = {
    0x00010001000100010001000100010001, 0x00000000000000000000000000000000}}
ymm1           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0x3, 0xff, 0x3, 0xff, 0x3, 0xff, 0x3, 0xff, 0x3, 0xff, 0x3, 0xff, 0x3, 0xff, 0x3, 0x0 <repeats 16 times>},
  v16_int16 = {0x3ff, 0x3ff, 0x3ff, 0x3ff, 0x3ff, 0x3ff, 0x3ff, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x3ff03ff, 0x3ff03ff, 0x3ff03ff, 0x3ff03ff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3ff03ff03ff03ff,
    0x3ff03ff03ff03ff, 0x0, 0x0}, v2_int128 = {0x03ff03ff03ff03ff03ff03ff03ff03ff, 0x00000000000000000000000000000000}}
ymm2           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xf8, 0xd2, 0xfe, 0xff, 0x0, 0x0, 0x0, 0x0, 0xe4, 0xe9, 0xfe, 0xff, 0x0 <repeats 20 times>}, v16_int16 = {0xd2f8,
    0xfffe, 0x0, 0x0, 0xe9e4, 0xfffe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xfffed2f8, 0x0, 0xfffee9e4, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xfffed2f8, 0xfffee9e4, 0x0, 0x0}, v2_int128 = {
    0x00000000fffee9e400000000fffed2f8, 0x00000000000000000000000000000000}}
ymm3           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0 <repeats 17 times>}, v16_int16 = {0x1,
    0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x10001, 0x10001, 0x10001, 0x10001, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x1000100010001, 0x1000100010001, 0x0, 0x0}, v2_int128 = {
    0x00010001000100010001000100010001, 0x00000000000000000000000000000000}}
ymm4           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm5           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x55, 0x5, 0x92, 0x4, 0x0, 0x4, 0x8e, 0x3, 0xe8, 0x2, 0x49, 0x2, 0xe1, 0x1, 0x99, 0x1, 0x0 <repeats 16 times>}, v16_int16 = {0x555, 0x492, 0x400, 0x38e, 0x2e8, 0x249, 0x1e1, 0x199, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x4920555, 0x38e0400, 0x24902e8, 0x19901e1, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x38e040004920555,
    0x19901e1024902e8, 0x0, 0x0}, v2_int128 = {0x019901e1024902e8038e040004920555, 0x00000000000000000000000000000000}}
ymm6           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x12, 0x0, 0x15, 0x0, 0x18, 0x0, 0x1b, 0x0, 0x21, 0x0, 0x2a, 0x0, 0x33, 0x0, 0x3c, 0x0 <repeats 17 times>},
  v16_int16 = {0x12, 0x15, 0x18, 0x1b, 0x21, 0x2a, 0x33, 0x3c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x150012, 0x1b0018, 0x2a0021, 0x3c0033, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x1b001800150012, 0x3c0033002a0021, 0x0,
    0x0}, v2_int128 = {0x003c0033002a0021001b001800150012, 0x00000000000000000000000000000000}}
ymm7           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm8           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0xdb <repeats 12 times>, 0x37, 0x37, 0x37, 0x37, 0x0 <repeats 16 times>}, v16_int16 = {0xdbdb, 0xdbdb,
    0xdbdb, 0xdbdb, 0xdbdb, 0xdbdb, 0x3737, 0x3737, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xdbdbdbdb, 0xdbdbdbdb, 0xdbdbdbdb, 0x37373737, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xdbdbdbdbdbdbdbdb, 0x37373737dbdbdbdb, 0x0,
    0x0}, v2_int128 = {0x37373737dbdbdbdbdbdbdbdbdbdbdbdb, 0x00000000000000000000000000000000}}
ymm9           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0xff <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0},
  v2_int128 = {0xffffffffffffffffffffffffffffffff, 0x00000000000000000000000000000000}}
ymm10          {v8_float = {0x0, 0x0, 0x0, 0x40000000, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0x68 <repeats 12 times>, 0xd8, 0xd8, 0xd8, 0xd8, 0x0 <repeats 16 times>},
  v16_int16 = {0x6868, 0x6868, 0x6868, 0x6868, 0x6868, 0x6868, 0xd8d8, 0xd8d8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x68686868, 0x68686868, 0x68686868, 0xd8d8d8d8, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x6868686868686868,
    0xd8d8d8d868686868, 0x0, 0x0}, v2_int128 = {0xd8d8d8d8686868686868686868686868, 0x00000000000000000000000000000000}}
ymm11          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0xda <repeats 12 times>, 0x36, 0x36, 0x36, 0x36, 0x0 <repeats 16 times>}, v16_int16 = {0xdada, 0xdada,
    0xdada, 0xdada, 0xdada, 0xdada, 0x3636, 0x3636, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xdadadada, 0xdadadada, 0xdadadada, 0x36363636, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xdadadadadadadada, 0x36363636dadadada, 0x0,
    0x0}, v2_int128 = {0x36363636dadadadadadadadadadadada, 0x00000000000000000000000000000000}}
ymm12          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm13          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x8000000000000000, 0x8000000000000000, 0x0, 0x0}, v32_int8 = {0xff <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0xffff, 0xffff, 0xffff,
    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0},
  v2_int128 = {0xffffffffffffffffffffffffffffffff, 0x00000000000000000000000000000000}}
ymm14          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm15          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1 <repeats 16 times>, 0x0 <repeats 16 times>}, v16_int16 = {0x101, 0x101, 0x101, 0x101, 0x101, 0x101, 0x101, 0x101,
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x1010101, 0x1010101, 0x1010101, 0x1010101, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x101010101010101, 0x101010101010101, 0x0, 0x0}, v2_int128 = {0x01010101010101010101010101010101,
    0x00000000000000000000000000000000}}

Attachments (1)

test.mp4 (92.1 KB ) - added by Alexander Eichhorn 7 years ago.
input testfile (5 sec of 720p 25fps SMPTE color bars created with ffmpeg)

Download all attachments as: .zip

Change History (5)

comment:1 by Carl Eugen Hoyos, 7 years ago

Keywords: crash added; huffmann removed
Priority: normalimportant

Please provide the input file.

by Alexander Eichhorn, 7 years ago

Attachment: test.mp4 added

input testfile (5 sec of 720p 25fps SMPTE color bars created with ffmpeg)

comment:2 by Carl Eugen Hoyos, 7 years ago

Resolution: worksforme
Status: newclosed
$ ffmpeg -i test.mp4 -an -vframes 1 -q:v 2 -huffman optimal -f image2 test.jpeg
ffmpeg version N-86395-g497a4b5 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-nonfree --enable-avresample --enable-avfilter --enable-postproc --enable-pic --enable-pthreads --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-doc --disable-decoder=prores --disable-protocols --disable-network --disable-ffplay --disable-ffprobe --disable-ffserver --enable-protocol=file
  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. 91.100 /  6. 91.100
  libavresample   3.  6.  0 /  3.  6.  0
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.100
  Duration: 00:00:05.00, start: 0.000000, bitrate: 150 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1280x720 [SAR 1:1 DAR 16:9], 147 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'test.jpeg':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.72.101
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc57.96.101 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=    1 fps=0.0 q=2.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=1.82x
video:41kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Last edited 7 years ago by Carl Eugen Hoyos (previous) (diff)

comment:3 by Espen Jürgensen, 6 years ago

I am also seeing this crash in a Docker running ffmpeg 3.4.2 build with gcc 6.4.0 (Alpine Linux 3.7). gdb gives the same backtrace as above. I can also remove the problem by changing the huffman option from optimal to default.

Here is what Valgrind says (not sure why it isn't showing all debug symbols):

==368== Thread 8:
==368== Invalid write of size 4
==368==    at 0x5B38270: ff_mjpegenc_huffman_compute_bits (mjpegenc_huffman.c:93)
==368==    by 0xFFFFFFFFF: ???
==368==    by 0x411AD2F: ???
==368==    by 0x411040F: ???
==368==  Address 0x4115880 is on thread 8's stack
==368== 
==368== 
==368== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==368==  Bad permissions for mapped region at address 0x4115880
==368==    at 0x5B38270: ff_mjpegenc_huffman_compute_bits (mjpegenc_huffman.c:93)
==368==    by 0xFFFFFFFFF: ???
==368==    by 0x411AD2F: ???
==368==    by 0x411040F: ???

comment:4 by Carl Eugen Hoyos, 6 years ago

$ ffmpeg -i test.mp4 -an -vframes 1 -q:v 2 -huffman optimal -f image2 test.jpeg
ffmpeg version N-90801-gc0f154b Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl --enable-nonfree --enable-avresample --enable-avfilter --enable-postproc --enable-pic --enable-pthreads --enable-libvorbis --enable-libx264 --disable-doc --disable-decoder=prores --disable-protocols --disable-network --disable-ffplay --disable-ffprobe --enable-protocol=file
  libavutil      56. 15.100 / 56. 15.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 19.100 /  7. 19.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.100
  Duration: 00:00:05.00, start: 0.000000, bitrate: 150 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1280x720 [SAR 1:1 DAR 16:9], 147 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'test.jpeg':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.13.100
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.19.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
frame=    1 fps=0.0 q=2.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=2.25x
video:41kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Note: See TracTickets for help on using tickets.