Opened 7 years ago

Last modified 7 years ago

#6007 open defect

mov read failure for http chunked byte range request

Reported by: philipn Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov http regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
A quicktime file is being served using chunked transfer and byte range requests enabled. FFmpeg opens the file in libavformat, mov.c mov_read_default and it fails to complete because the (seekable) file returns an error (ENOSYS) for avio_size. avio_size is returning an error because the code in libavformat/http.c is ignoring the resource length provided by the Content-Range response header. I have a suggested fix which I'll post to the devel list.

How to reproduce:
Compile the attached simple web server (mongoose) that allows the issue to be reproduced. The server will serve files from the current directory; the 'test.mp4' file will be served using chunked transfer and byte range requests.
The Transfer-Encoding header is placed after Content-Range to ensure libavformat/http.c, http_read_header doesn't set filesize. This header ordering was used by a proxy which exposed the issue in the real system.

Create the test file as follows:
ffmpeg -f lavfi -i testsrc -t 5 -pix_fmt yuv420p test.mp4

Run the web server and then run the ffmpeg command below. It should show a 416 error code and after ctrl-c you get the rest of the console output shown below.

ffmpeg -v 9 -loglevel 99 -i http://localhost:8000/test.mp4
ffmpeg version N-82785-g6b95da9 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --enable-gpl --enable-shared --disable-ffserver --disable-doc --enable-libx264 --enable-nonfree --enable-avresample
  libavutil      55. 41.101 / 55. 41.101
  libavcodec     57. 66.109 / 57. 66.109
  libavformat    57. 58.101 / 57. 58.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.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 'http://localhost:8000/test.mp4'.
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 http://localhost:8000/test.mp4.
Successfully parsed a group of options.
Opening an input file: http://localhost:8000/test.mp4.
[http @ 0x1789a60] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x178b720] Connection to tcp://localhost:8000 failed (Connection refused), trying next address
[http @ 0x1789a60] request: GET /test.mp4 HTTP/1.1
User-Agent: Lavf/57.58.101
Accept: */*
Range: bytes=0-
Connection: close
Host: localhost:8000
Icy-MetaData: 1


[http @ 0x1789a60] header='HTTP/1.1 200 OK'
[http @ 0x1789a60] http_code=200
[http @ 0x1789a60] header='Content-Type: video/mp4'
[http @ 0x1789a60] header='Accept-Ranges: bytes'
[http @ 0x1789a60] header='Content-Range: bytes 0-26328/26329'
[http @ 0x1789a60] header='Transfer-Encoding: chunked'
[http @ 0x1789a60] header=''
[http @ 0x1789a60] Chunked encoding data size: 1000'
    Last message repeated 2 times
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
Probing mp3 score:1 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 70797466 'ftyp' parent:'root' sz: 32 8 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 65657266 'free' parent:'root' sz: 8 40 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 7461646d 'mdat' parent:'root' sz: 24058 48 9223372036854775807
[tcp @ 0x178c2e0] Connection to tcp://localhost:8000 failed (Connection refused), trying next address
[http @ 0x1789a60] request: GET /test.mp4 HTTP/1.1
User-Agent: Lavf/57.58.101
Accept: */*
Range: bytes=24098-
Connection: close
Host: localhost:8000
Icy-MetaData: 1


[http @ 0x1789a60] header='HTTP/1.1 200 OK'
[http @ 0x1789a60] http_code=200
[http @ 0x1789a60] header='Content-Type: video/mp4'
[http @ 0x1789a60] header='Accept-Ranges: bytes'
[http @ 0x1789a60] header='Content-Range: bytes 24098-26328/26329'
[http @ 0x1789a60] header='Transfer-Encoding: chunked'
[http @ 0x1789a60] header=''
[http @ 0x1789a60] Chunked encoding data size: 1000'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 766f6f6d 'moov' parent:'root' sz: 2231 24106 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6468766d 'mvhd' parent:'moov' sz: 108 8 2223
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6b617274 'trak' parent:'moov' sz: 2017 116 2223
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 64686b74 'tkhd' parent:'trak' sz: 92 8 2009
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73746465 'edts' parent:'trak' sz: 36 100 2009
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 74736c65 'elst' parent:'edts' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] duration=5000 time=1024 rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6169646d 'mdia' parent:'trak' sz: 1881 136 2009
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6468646d 'mdhd' parent:'mdia' sz: 32 8 1873
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 726c6468 'hdlr' parent:'mdia' sz: 45 40 1873
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] ctype=  (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] stype= vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 666e696d 'minf' parent:'mdia' sz: 1796 85 1873
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 64686d76 'vmhd' parent:'minf' sz: 20 8 1788
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 666e6964 'dinf' parent:'minf' sz: 36 28 1788
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 66657264 'dref' parent:'dinf' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type url  size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6c627473 'stbl' parent:'minf' sz: 1732 64 1788
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 64737473 'stsd' parent:'stbl' sz: 168 8 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] size=152 4CC= avc1/0x31637661 codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 43637661 'avcC' parent:'stsd' sz: 50 8 66
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 70736170 'pasp' parent:'stsd' sz: 16 58 66
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73747473 'stts' parent:'stbl' sz: 24 176 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] sample_count=125, sample_duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73737473 'stss' parent:'stbl' sz: 20 200 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] keyframe_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73747463 'ctts' parent:'stbl' sz: 944 220 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].ctts.entries = 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=5, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[http @ 0x1789a60] Chunked encoding data size: 1000'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=6, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] dts shift 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 63737473 'stsc' parent:'stbl' sz: 28 1164 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 7a737473 'stsz' parent:'stbl' sz: 520 1192 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] sample_size = 0 sample_count = 125
[http @ 0x1789a60] Chunked encoding data size: 231'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6f637473 'stco' parent:'stbl' sz: 20 1712 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 0, offset 30, dts 0, size 3956, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 1, offset fa4, dts 512, size 519, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 2, offset 11ab, dts 1024, size 75, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 3, offset 11f6, dts 1536, size 32, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 4, offset 1216, dts 2048, size 32, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 5, offset 1236, dts 2560, size 434, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 6, offset 13e8, dts 3072, size 70, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 7, offset 142e, dts 3584, size 39, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 8, offset 1455, dts 4096, size 39, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 9, offset 147c, dts 4608, size 494, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 10, offset 166a, dts 5120, size 56, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 11, offset 16a2, dts 5632, size 30, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 12, offset 16c0, dts 6144, size 42, distance 12, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 13, offset 16ea, dts 6656, size 449, distance 13, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 14, offset 18ab, dts 7168, size 67, distance 14, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 15, offset 18ee, dts 7680, size 39, distance 15, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 16, offset 1915, dts 8192, size 30, distance 16, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 17, offset 1933, dts 8704, size 413, distance 17, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 18, offset 1ad0, dts 9216, size 70, distance 18, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 19, offset 1b16, dts 9728, size 38, distance 19, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 20, offset 1b3c, dts 10240, size 35, distance 20, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 21, offset 1b5f, dts 10752, size 218, distance 21, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 22, offset 1c39, dts 11264, size 212, distance 22, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 23, offset 1d0d, dts 11776, size 264, distance 23, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 24, offset 1e15, dts 12288, size 254, distance 24, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 25, offset 1f13, dts 12800, size 381, distance 25, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 26, offset 2090, dts 13312, size 464, distance 26, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 27, offset 2260, dts 13824, size 55, distance 27, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 28, offset 2297, dts 14336, size 41, distance 28, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 29, offset 22c0, dts 14848, size 50, distance 29, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 30, offset 22f2, dts 15360, size 445, distance 30, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 31, offset 24af, dts 15872, size 63, distance 31, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 32, offset 24ee, dts 16384, size 41, distance 32, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 33, offset 2517, dts 16896, size 36, distance 33, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 34, offset 253b, dts 17408, size 465, distance 34, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 35, offset 270c, dts 17920, size 60, distance 35, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 36, offset 2748, dts 18432, size 41, distance 36, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 37, offset 2771, dts 18944, size 41, distance 37, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 38, offset 279a, dts 19456, size 486, distance 38, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 39, offset 2980, dts 19968, size 61, distance 39, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 40, offset 29bd, dts 20480, size 27, distance 40, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 41, offset 29d8, dts 20992, size 39, distance 41, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 42, offset 29ff, dts 21504, size 522, distance 42, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 43, offset 2c09, dts 22016, size 61, distance 43, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 44, offset 2c46, dts 22528, size 34, distance 44, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 45, offset 2c68, dts 23040, size 34, distance 45, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 46, offset 2c8a, dts 23552, size 450, distance 46, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 47, offset 2e4c, dts 24064, size 60, distance 47, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 48, offset 2e88, dts 24576, size 28, distance 48, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 49, offset 2ea4, dts 25088, size 30, distance 49, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 50, offset 2ec2, dts 25600, size 525, distance 50, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 51, offset 30cf, dts 26112, size 38, distance 51, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 52, offset 30f5, dts 26624, size 470, distance 52, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 53, offset 32cb, dts 27136, size 53, distance 53, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 54, offset 3300, dts 27648, size 39, distance 54, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 55, offset 3327, dts 28160, size 33, distance 55, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 56, offset 3348, dts 28672, size 479, distance 56, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 57, offset 3527, dts 29184, size 68, distance 57, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 58, offset 356b, dts 29696, size 36, distance 58, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 59, offset 358f, dts 30208, size 34, distance 59, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 60, offset 35b1, dts 30720, size 495, distance 60, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 61, offset 37a0, dts 31232, size 65, distance 61, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 62, offset 37e1, dts 31744, size 35, distance 62, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 63, offset 3804, dts 32256, size 31, distance 63, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 64, offset 3823, dts 32768, size 513, distance 64, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 65, offset 3a24, dts 33280, size 79, distance 65, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 66, offset 3a73, dts 33792, size 43, distance 66, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 67, offset 3a9e, dts 34304, size 39, distance 67, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 68, offset 3ac5, dts 34816, size 488, distance 68, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 69, offset 3cad, dts 35328, size 73, distance 69, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 70, offset 3cf6, dts 35840, size 36, distance 70, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 71, offset 3d1a, dts 36352, size 39, distance 71, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 72, offset 3d41, dts 36864, size 537, distance 72, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 73, offset 3f5a, dts 37376, size 75, distance 73, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 74, offset 3fa5, dts 37888, size 42, distance 74, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 75, offset 3fcf, dts 38400, size 47, distance 75, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 76, offset 3ffe, dts 38912, size 432, distance 76, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 77, offset 41ae, dts 39424, size 60, distance 77, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 78, offset 41ea, dts 39936, size 42, distance 78, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 79, offset 4214, dts 40448, size 34, distance 79, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 80, offset 4236, dts 40960, size 488, distance 80, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 81, offset 441e, dts 41472, size 70, distance 81, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 82, offset 4464, dts 41984, size 38, distance 82, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 83, offset 448a, dts 42496, size 35, distance 83, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 84, offset 44ad, dts 43008, size 467, distance 84, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 85, offset 4680, dts 43520, size 89, distance 85, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 86, offset 46d9, dts 44032, size 42, distance 86, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 87, offset 4703, dts 44544, size 38, distance 87, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 88, offset 4729, dts 45056, size 468, distance 88, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 89, offset 48fd, dts 45568, size 67, distance 89, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 90, offset 4940, dts 46080, size 48, distance 90, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 91, offset 4970, dts 46592, size 37, distance 91, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 92, offset 4995, dts 47104, size 418, distance 92, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 93, offset 4b37, dts 47616, size 54, distance 93, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 94, offset 4b6d, dts 48128, size 44, distance 94, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 95, offset 4b99, dts 48640, size 36, distance 95, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 96, offset 4bbd, dts 49152, size 209, distance 96, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 97, offset 4c8e, dts 49664, size 257, distance 97, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 98, offset 4d8f, dts 50176, size 272, distance 98, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 99, offset 4e9f, dts 50688, size 244, distance 99, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 100, offset 4f93, dts 51200, size 411, distance 100, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 101, offset 512e, dts 51712, size 242, distance 101, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 102, offset 5220, dts 52224, size 461, distance 102, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 103, offset 53ed, dts 52736, size 66, distance 103, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 104, offset 542f, dts 53248, size 32, distance 104, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 105, offset 544f, dts 53760, size 23, distance 105, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 106, offset 5466, dts 54272, size 411, distance 106, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 107, offset 5601, dts 54784, size 66, distance 107, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 108, offset 5643, dts 55296, size 27, distance 108, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 109, offset 565e, dts 55808, size 35, distance 109, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 110, offset 5681, dts 56320, size 397, distance 110, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 111, offset 580e, dts 56832, size 79, distance 111, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 112, offset 585d, dts 57344, size 30, distance 112, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 113, offset 587b, dts 57856, size 33, distance 113, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 114, offset 589c, dts 58368, size 399, distance 114, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 115, offset 5a2b, dts 58880, size 88, distance 115, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 116, offset 5a83, dts 59392, size 40, distance 116, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 117, offset 5aab, dts 59904, size 47, distance 117, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 118, offset 5ada, dts 60416, size 357, distance 118, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 119, offset 5c3f, dts 60928, size 74, distance 119, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 120, offset 5c89, dts 61440, size 38, distance 120, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 121, offset 5caf, dts 61952, size 44, distance 121, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 122, offset 5cdb, dts 62464, size 243, distance 122, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 123, offset 5dce, dts 62976, size 48, distance 123, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 124, offset 5dfe, dts 63488, size 36, distance 124, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Offset DTS by ctts[0].duration: 1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Processing st: 0, edit list 0 - media time: 1024, duration: 64000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 0 @ 0, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 512 @ 1, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 1024 @ 2, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 1536 @ 3, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 2048 @ 4, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 2560 @ 5, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 3072 @ 6, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 3584 @ 7, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 4096 @ 8, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 4608 @ 9, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 5120 @ 10, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 5632 @ 11, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 6144 @ 12, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 6656 @ 13, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 7168 @ 14, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 7680 @ 15, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 8192 @ 16, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 8704 @ 17, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 9216 @ 18, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 9728 @ 19, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 10240 @ 20, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 10752 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 11264 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 11776 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 12288 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 12800 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 13312 @ 22, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 13824 @ 23, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 14336 @ 24, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 14848 @ 25, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 15360 @ 26, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 15872 @ 27, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 16384 @ 28, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 16896 @ 29, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 17408 @ 30, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 17920 @ 31, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 18432 @ 32, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 18944 @ 33, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 19456 @ 34, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 19968 @ 35, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 20480 @ 36, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 20992 @ 37, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 21504 @ 38, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 22016 @ 39, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 22528 @ 40, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 23040 @ 41, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 23552 @ 42, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 24064 @ 43, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 24576 @ 44, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 25088 @ 45, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 25600 @ 46, ctts: 1536, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 26112 @ 47, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 26624 @ 48, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 27136 @ 49, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 27648 @ 50, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 28160 @ 51, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 28672 @ 52, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 29184 @ 53, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 29696 @ 54, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 30208 @ 55, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 30720 @ 56, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 31232 @ 57, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 31744 @ 58, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 32256 @ 59, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 32768 @ 60, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 33280 @ 61, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 33792 @ 62, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 34304 @ 63, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 34816 @ 64, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 35328 @ 65, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 35840 @ 66, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 36352 @ 67, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 36864 @ 68, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 37376 @ 69, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 37888 @ 70, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 38400 @ 71, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 38912 @ 72, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 39424 @ 73, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 39936 @ 74, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 40448 @ 75, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 40960 @ 76, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 41472 @ 77, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 41984 @ 78, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 42496 @ 79, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 43008 @ 80, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 43520 @ 81, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 44032 @ 82, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 44544 @ 83, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 45056 @ 84, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 45568 @ 85, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 46080 @ 86, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 46592 @ 87, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 47104 @ 88, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 47616 @ 89, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 48128 @ 90, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 48640 @ 91, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 49152 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 49664 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 50176 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 50688 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 51200 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 51712 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 52224 @ 93, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 52736 @ 94, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 53248 @ 95, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 53760 @ 96, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 54272 @ 97, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 54784 @ 98, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 55296 @ 99, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 55808 @ 100, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 56320 @ 101, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 56832 @ 102, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 57344 @ 103, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 57856 @ 104, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 58368 @ 105, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 58880 @ 106, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 59392 @ 107, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 59904 @ 108, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 60416 @ 109, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 60928 @ 110, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 61440 @ 111, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 61952 @ 112, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 62464 @ 113, ctts: 2048, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 62976 @ 114, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 63488 @ 115, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 61746475 'udta' parent:'moov' sz: 98 2133 2223
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6174656d 'meta' parent:'udta' sz: 90 8 90
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 726c6468 'hdlr' parent:'meta' sz: 33 8 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] ctype=  (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] stype= mdir
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 74736c69 'ilst' parent:'meta' sz: 45 41 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6f6f74a9 '�too' parent:'ilst' sz: 37 8 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] lang "   " tag "encoder" value "Lavf57.56.100" atom "�too" 27 13
[http @ 0x1789a60] Chunked encoding data size: 0'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 00000000 '' parent:'root' sz: 0 26337 9223372036854775807
[tcp @ 0x178dd60] Connection to tcp://localhost:8000 failed (Connection refused), trying next address
[http @ 0x1789a60] request: GET /test.mp4 HTTP/1.1
User-Agent: Lavf/57.58.101
Accept: */*
Range: bytes=9223372036854775799-
Connection: close
Host: localhost:8000
Icy-MetaData: 1


[http @ 0x1789a60] header='HTTP/1.1 416 Requested Range Not Satisfiable'
[http @ 0x1789a60] http_code=416
[http @ 0x1789a60] HTTP error 416 Requested Range Not Satisfiable
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 00000000 '' parent:'root' sz: 218759168 -9223372036854775801 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] on_parse_exit_offset=26331
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Before avformat_find_stream_info() pos: 26331 bytes read:5233 seeks:1 nb_streams:1
[h264 @ 0x178ce40] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x178ce40] nal_unit_type: 8, nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] interrupted
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] stream 0: start_time: -720575940379279.375 duration: 5.000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] format: start_time: -9223372036854.775 duration: 5.000 bitrate=0 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Could not find codec parameters for stream 0 (Video: h264, 1 reference frame (avc1 / 0x31637661), none(left), 320x240, 1/25600, 38 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] After avformat_find_stream_info() pos: 26331 bytes read:5233 seeks:1 frames:0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://localhost:8000/test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.100
  Duration: 00:00:05.00, bitrate: N/A
    Stream #0:0(und), 0, 1/12800: Video: h264, 1 reference frame (avc1 / 0x31637661), none(left), 320x240, 0/1, 38 kb/s, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 12800 tbn, 25600 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x178bb40] Statistics: 5233 bytes read, 1 seeks
Exiting normally, received signal 2.

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

test_server.tgz (147.2 KB ) - added by philipn 7 years ago.
test http server based on mongoose

Download all attachments as: .zip

Change History (2)

by philipn, 7 years ago

Attachment: test_server.tgz added

test http server based on mongoose

comment:1 by Carl Eugen Hoyos, 7 years ago

Keywords: regression added; chunk range-request removed
Priority: normalimportant
Reproduced by developer: set
Status: newopen
Note: See TracTickets for help on using tickets.