[FFmpeg-trac] #6666(undetermined:new): Stream fails with "inflate return value: -3, incorrect header check" (but same URL plays fine in VLC)

FFmpeg trac at avcodec.org
Thu Sep 14 23:48:00 EEST 2017


#6666: Stream fails with "inflate return value: -3, incorrect header check" (but
same URL plays fine in VLC)
-------------------------------------+-------------------------------------
             Reporter:  skyler       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: Attempting to get stream that plays fine in VLC using
 the same URL, but ffmpeg quits with error no matter what options I use.
 How to reproduce:
 {{{
 % ffmpeg -report -v 9 -loglevel 99 -i
 http://cdnapi.kaltura.com/p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8
 -c copy test.ts
 ffmpeg started on 2017-09-14 at 16:35:49
 Report written to "ffmpeg-20170914-163549.log"
 ffmpeg version 3.3.3-static http://johnvansickle.com/ffmpeg/  Copyright
 (c) 2000-2017 the FFmpeg developers
   built with gcc 6.4.0 (Debian 6.4.0-2) 20170724
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-
 gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-
 libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-
 libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxvid --enable-libzimg
   libavutil      55. 58.100 / 55. 58.100
   libavcodec     57. 89.100 / 57. 89.100
   libavformat    57. 71.100 / 57. 71.100
   libavdevice    57.  6.100 / 57.  6.100
   libavfilter     6. 82.100 /  6. 82.100
   libswscale      4.  6.100 /  4.  6.100
   libswresample   2.  7.100 /  2.  7.100
   libpostproc    54.  5.100 / 54.  5.100
 Splitting the commandline.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 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://cdnapi.kaltura.com/p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8'.
 Reading option '-c' ... matched as option 'c' (codec name) with argument
 'copy'.
 Reading option 'test.ts' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option report (generate a report) with argument 1.
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input url
 http://cdnapi.kaltura.com/p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8.
 Successfully parsed a group of options.
 Opening an input file:
 http://cdnapi.kaltura.com/p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8.
 [NULL @ 0x3e87840] Opening
 'http://cdnapi.kaltura.com/p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8'
 for reading
 [http @ 0x3e88240] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
 [http @ 0x3e88240] request: GET
 /p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8
 HTTP/1.1
 User-Agent: Lavf/57.71.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: cdnapi.kaltura.com
 Icy-MetaData: 1


 [http @ 0x3e88240] header='HTTP/1.1 302 Moved Temporarily'
 [http @ 0x3e88240] http_code=302
 [http @ 0x3e88240] header='Server: Apache'
 [http @ 0x3e88240] header='X-Me: ny-front-api1'
 [http @ 0x3e88240] header='X-Kaltura-Session: 1361130742'
 [http @ 0x3e88240] header='X-Kaltura: cache-key,playManifest-
 8cfdb339ea623868c703c45eca270712'
 [http @ 0x3e88240] header='Location: http://klive-a.akamaihd.net/dc-1/m
 /ny-live-
 publish4/live/legacy/p/931702/e/1_oorxcge2/sd/10000/t/rS0cRv6QE2gSwdar2xPZ8w/master.m3u8'
 [http @ 0x3e88240] header='Access-Control-Allow-Origin: *'
 [http @ 0x3e88240] header='Access-Control-Expose-Headers: Server,range
 ,Content-Length,Content-Range'
 [http @ 0x3e88240] header='Content-Encoding: gzip'
 [http @ 0x3e88240] header='Content-Length: 21'
 [http @ 0x3e88240] header='Content-Type: text/html'
 [http @ 0x3e88240] header='Expires: Thu, 14 Sep 2017 20:35:49 GMT'
 [http @ 0x3e88240] header='Cache-Control: max-age=0, no-cache, no-store'
 [http @ 0x3e88240] header='Pragma: no-cache'
 [http @ 0x3e88240] header='Date: Thu, 14 Sep 2017 20:35:49 GMT'
 [http @ 0x3e88240] header='Connection: close'
 [http @ 0x3e88240] header=''
 [http @ 0x3e88240] request: GET /dc-1/m/ny-live-
 publish4/live/legacy/p/931702/e/1_oorxcge2/sd/10000/t/rS0cRv6QE2gSwdar2xPZ8w/master.m3u8
 HTTP/1.1
 User-Agent: Lavf/57.71.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: klive-a.akamaihd.net
 Icy-MetaData: 1


 [http @ 0x3e88240] header='HTTP/1.1 206 Partial Content'
 [http @ 0x3e88240] http_code=206
 [http @ 0x3e88240] header='Server: nginx/1.8.0'
 [http @ 0x3e88240] header='Content-Type: application/vnd.apple.mpegurl'
 [http @ 0x3e88240] header='Accept-Ranges: bytes'
 [http @ 0x3e88240] header='Access-Control-Expose-Headers: Date, Server,
 Content-Type, Content-Length'
 [http @ 0x3e88240] header='Access-Control-Allow-Origin: *'
 [http @ 0x3e88240] header='Access-Control-Allow-Credentials: true'
 [http @ 0x3e88240] header='Access-Control-Allow-Methods: OPTIONS, GET,
 POST, HEAD'
 [http @ 0x3e88240] header='Access-Control-Allow-Headers: Content-Type,
 User-Agent, If-Modified-Since, Cache-Control, Range'
 [http @ 0x3e88240] header='X-Vod-Me: ny-front-live2'
 [http @ 0x3e88240] header='X-Vod-Session: 1254565907'
 [http @ 0x3e88240] header='Cache-Control: max-age=5'
 [http @ 0x3e88240] header='Date: Thu, 14 Sep 2017 20:35:50 GMT'
 [http @ 0x3e88240] header='Content-Range: bytes 0-336/337'
 [http @ 0x3e88240] header='Content-Length: 337'
 [http @ 0x3e88240] header='Connection: close'
 [http @ 0x3e88240] header=''
 [http @ 0x3e88240] inflate return value: -3, incorrect header check
     Last message repeated 15 times
 [AVIOContext @ 0x3e96140] Statistics: 0 bytes read, 0 seeks
 http://cdnapi.kaltura.com/p/931702/sp/93170200/playManifest/entryId/1_oorxcge2/format/applehttp/protocol/http/uiConfId/28428751/a.m3u8:
 Invalid data found when processing input
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list