Opened 7 years ago

Last modified 7 years ago

#6655 new defect

Downloading certain HLS streams as .ts; file has no time in video player (VLC, SMPlayer)

Reported by: Berni11 Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mpegts regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I am trying to download some HLS streams as .ts, but the final video doesn't have any time in video players like VLC or SMPlayer.

The command I was using:

ffmpeg -i "http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8" -c copy "video1.ts"
ffmpeg -i "https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8" -c copy "video2.ts"

First HLS stream is from http://disneychannel.de. It is probably geo blocked for Germany/Austria
The second HLS stream is from http://www.adultswim.com/

Here the uncut console output provided by ffmpeg -v 9 -loglevel 99 -i

http://disneychannel.de HLS stream:

ffmpeg started on 2017-09-12 at 18:58:15
Report written to "ffmpeg-20170912-185815.log"
Command line:
ffmpeg -v 9 -loglevel 99 -report -i http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8
ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 74.100 / 55. 74.100
  libavcodec     57.105.100 / 57.105.100
  libavformat    57. 82.100 / 57. 82.100
  libavdevice    57.  8.100 / 57.  8.100
  libavfilter     6.105.100 /  6.105.100
  libswscale      4.  7.103 /  4.  7.103
  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 '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input url with argument 'http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8.
Successfully parsed a group of options.
Opening an input file: http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8.
[NULL @ 000000000053a920] Opening 'http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8' for reading
[http @ 00000000004b97c0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 00000000004b97c0] request: GET /p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8 HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Range: bytes=0-

Connection: close

Host: cdnbakmi.kaltura.com

Icy-MetaData: 1




[hls,applehttp @ 000000000053a920] Format hls,applehttp probed with size=2048 and score=100
[hls,applehttp @ 000000000053a920] Opening 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/index.m3u8?__hdnea__=st=1505235493~exp=1505257093~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_*~hmac=190f50055628116d13ac9fd9608e4b2d1fed2fae62fd5c08091fe9b96577043e' for reading
[http @ 00000000004bdd80] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/index.m3u8?__hdnea__=st=1505235493~exp=1505257093~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_*~hmac=190f50055628116d13ac9fd9608e4b2d1fed2fae62fd5c08091fe9b96577043e HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 00000000004bfba0] Statistics: 27789 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] Opening 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/index.m3u8?__hdnea__=st=1505235493~exp=1505257093~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_*~hmac=190f50055628116d13ac9fd9608e4b2d1fed2fae62fd5c08091fe9b96577043e' for reading
[http @ 0000000000542c60] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/index.m3u8?__hdnea__=st=1505235493~exp=1505257093~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_*~hmac=190f50055628116d13ac9fd9608e4b2d1fed2fae62fd5c08091fe9b96577043e HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 00000000004bf6c0] Statistics: 28002 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] HLS request for url 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-1-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f', offset 0, playlist 0
[hls,applehttp @ 000000000053a920] Opening 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/encryption.key?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f' for reading
[http @ 0000000000542c60] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/encryption.key?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 00000000004bf5c0] Statistics: 16 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] Opening 'crypto+http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-1-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f' for reading
[http @ 00000000004bf5c0] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-1-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




Format mpegts probed with size=2048 and score=50
[mpegts @ 0000000000574420] stream=0 stream_type=f pid=100 prog_reg_desc=
[mpegts @ 0000000000574420] stream=1 stream_type=15 pid=101 prog_reg_desc=
[hls,applehttp @ 000000000053a920] HLS request for url 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-1-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a', offset 0, playlist 1
[hls,applehttp @ 000000000053a920] Opening 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/encryption.key?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a' for reading
[http @ 000000000058c300] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/encryption.key?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 000000000058c5c0] Statistics: 16 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] Opening 'crypto+http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-1-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a' for reading
[http @ 000000000058c640] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-1-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




Format mpegts probed with size=2048 and score=50
[mpegts @ 000000000058b3a0] stream=0 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 000000000058b3a0] stream=1 stream_type=f pid=101 prog_reg_desc=
[mpegts @ 000000000058b3a0] stream=2 stream_type=15 pid=102 prog_reg_desc=
[hls,applehttp @ 000000000053a920] Before avformat_find_stream_info() pos: 890 bytes read:890 seeks:0 nb_streams:5
[mpegts @ 000000000058b3a0] All programs have pmt, headers found
[NULL @ 000000000054e8a0] user data:"x264 - core 148 - H.264/MPEG-4 AVC codec - Copyright 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=4 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 paff=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=5000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[AVBSFContext @ 00000000004be820] nal_unit_type: 9, nal_ref_idc: 0
[AVBSFContext @ 00000000004be820] nal_unit_type: 7, nal_ref_idc: 3
[AVBSFContext @ 00000000004be820] nal_unit_type: 8, nal_ref_idc: 3
[AVBSFContext @ 00000000004be820] nal_unit_type: 7, nal_ref_idc: 3
[AVBSFContext @ 00000000004be820] nal_unit_type: 8, nal_ref_idc: 3
[AVBSFContext @ 00000000004be820] nal_unit_type: 6, nal_ref_idc: 0
[AVBSFContext @ 00000000004be820] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0000000000551820] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 0000000000551820] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000000551820] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000000551820] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0000000000551820] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 0000000000551820] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0000000000551820] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 0000000000551820] user data:"x264 - core 148 - H.264/MPEG-4 AVC codec - Copyright 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=4 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 paff=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=5000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[h264 @ 0000000000551820] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0000000000551820] no picture 
[AVIOContext @ 000000000058ca40] Statistics: 1504376 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] HLS request for url 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-2-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a', offset 0, playlist 1
[hls,applehttp @ 000000000053a920] Opening 'crypto+http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-2-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a' for reading
[http @ 000000000058c5e0] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-2-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 0000000000575f60] Statistics: 21432 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] HLS request for url 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-2-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f', offset 0, playlist 0
[hls,applehttp @ 000000000053a920] Opening 'crypto+http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-2-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f' for reading
[http @ 0000000004251ec0] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-2-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 0000000000542c60] Statistics: 18424 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] HLS request for url 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-3-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f', offset 0, playlist 0
[hls,applehttp @ 000000000053a920] Opening 'crypto+http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-3-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f' for reading
[http @ 0000000004251ec0] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/seg-3-a1.ts?__hdnea__=st=1505233170~exp=1505319570~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_06gyqsh6/name/a.mp4/*~hmac=500d7b7f38fe6f02ca3f89f614a85fdbefd029d3a4e71d039aa55d716eba331f HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[AVIOContext @ 0000000004311e60] Statistics: 1062200 bytes read, 0 seeks
[hls,applehttp @ 000000000053a920] HLS request for url 'http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-3-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a', offset 0, playlist 1
[hls,applehttp @ 000000000053a920] Opening 'crypto+http://kaltura.akamaized.net/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-3-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a' for reading
[http @ 000000000446cd40] request: GET /s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/seg-3-v1-a1.ts?__hdnea__=st=1505232009~exp=1505318409~acl=/s/enc/fhls/p/1068292/sp/106829200/serveFlavor/entryId/1_6yyir5na/v/1/pv/1/flavorId/1_5posrzrp/name/a.mp4/*~hmac=ee9fc6b1764cb26de09939610e6da833b3251dc50ee90c0e71f11ea11bbfef0a HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: kaltura.akamaized.net

Icy-MetaData: 1




[hls,applehttp @ 000000000053a920] max_analyze_duration 5000000 reached at 5013333 microseconds st:3
[hls,applehttp @ 000000000053a920] Setting avg frame rate based on r frame rate
[hls,applehttp @ 000000000053a920] After avformat_find_stream_info() pos: 890 bytes read:890 seeks:0 frames:579
Input #0, hls,applehttp, from 'http://cdnbakmi.kaltura.com/p/1068292/sp/106829200/playManifest/entryId/1_6yyir5na/format/applehttp/protocol/http/flavorParamId/0/manifest.m3u8':
  Duration: 00:11:12.38, start: 0.101000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 5316608
    Stream #0:0(und), 217, 1/90000: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp (default)
    Metadata:
      variant_bitrate : 5316608
      comment         : Undefined
    Stream #0:1, 0, 1/90000: Data: timed_id3 (ID3  / 0x20334449), 0/1
    Metadata:
      variant_bitrate : 5316608
    Stream #0:2, 125, 1/90000: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9], 0/1, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 5316608
    Stream #0:3, 237, 1/90000: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 5316608
    Stream #0:4, 0, 1/90000: Data: timed_id3 (ID3  / 0x20334449), 0/1
    Metadata:
      variant_bitrate : 5316608
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0000000000542c60] Statistics: 18424 bytes read, 0 seeks
[AVIOContext @ 0000000004311e60] Statistics: 1476320 bytes read, 0 seeks
[AVIOContext @ 0000000000543020] Statistics: 890 bytes read, 0 seeks

http://www.adultswim.com/ HLS stream:

ffmpeg started on 2017-09-12 at 18:58:49
Report written to "ffmpeg-20170912-185849.log"
Command line:
ffmpeg -v 9 -loglevel 99 -report -i https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8
ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 74.100 / 55. 74.100
  libavcodec     57.105.100 / 57.105.100
  libavformat    57. 82.100 / 57. 82.100
  libavdevice    57.  8.100 / 57.  8.100
  libavfilter     6.105.100 /  6.105.100
  libswscale      4.  7.103 /  4.  7.103
  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 '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input url with argument 'https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8.
Successfully parsed a group of options.
Opening an input file: https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8.
[NULL @ 000000000044a920] Opening 'https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8' for reading
[https @ 00000000003c97c0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tls @ 00000000003cb440] Received incomplete handshake, need more data
[https @ 00000000003c97c0] request: GET /adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8 HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Range: bytes=0-

Connection: close

Host: amd.cdn.turner.com

Icy-MetaData: 1




[hls,applehttp @ 000000000044a920] Format hls,applehttp probed with size=2048 and score=100
[hls,applehttp @ 000000000044a920] HLS request for url 'https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10_00001.ts', offset 0, playlist 0
[hls,applehttp @ 000000000044a920] Opening 'https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/K200610_stream_10.key' for reading
[tls @ 0000000000465560] Received incomplete handshake, need more data
[https @ 00000000003cc2e0] request: GET /adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/K200610_stream_10.key HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: amd.cdn.turner.com

Icy-MetaData: 1




[tls @ 0000000000465560] Server closed the connection
[AVIOContext @ 00000000004752e0] Statistics: 16 bytes read, 0 seeks
[hls,applehttp @ 000000000044a920] Opening 'crypto+https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10_00001.ts' for reading
[tls @ 00000000004654a0] Received incomplete handshake, need more data
[https @ 0000000000468700] request: GET /adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10_00001.ts HTTP/1.1

User-Agent: Lavf/57.82.100

Accept: */*

Connection: close

Host: amd.cdn.turner.com

Icy-MetaData: 1




Format mpegts probed with size=2048 and score=50
[mpegts @ 00000000003cf820] stream=0 stream_type=1b pid=1e1 prog_reg_desc=
[mpegts @ 00000000003cf820] stream=1 stream_type=f pid=1e2 prog_reg_desc=
[hls,applehttp @ 000000000044a920] Before avformat_find_stream_info() pos: 9416 bytes read:9416 seeks:0 nb_streams:2
[mpegts @ 00000000003cf820] All programs have pmt, headers found
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] user data:"Elemental Video Engine(tm) www.elementaltechnologies.com€"
[AVBSFContext @ 00000000004675c0] nal_unit_type: 9, nal_ref_idc: 0
[AVBSFContext @ 00000000004675c0] nal_unit_type: 7, nal_ref_idc: 1
[AVBSFContext @ 00000000004675c0] nal_unit_type: 8, nal_ref_idc: 1
[AVBSFContext @ 00000000004675c0] nal_unit_type: 6, nal_ref_idc: 0
[AVBSFContext @ 00000000004675c0] nal_unit_type: 6, nal_ref_idc: 0
[AVBSFContext @ 00000000004675c0] nal_unit_type: 6, nal_ref_idc: 0
[AVBSFContext @ 00000000004675c0] nal_unit_type: 6, nal_ref_idc: 0
[AVBSFContext @ 00000000004675c0] nal_unit_type: 5, nal_ref_idc: 1
[h264 @ 00000000004aca60] nal_unit_type: 9, nal_ref_idc: 0
[h264 @ 00000000004aca60] nal_unit_type: 7, nal_ref_idc: 1
[h264 @ 00000000004aca60] nal_unit_type: 8, nal_ref_idc: 1
[h264 @ 00000000004aca60] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 00000000004aca60] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 00000000004aca60] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 00000000004aca60] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 00000000004aca60] nal_unit_type: 5, nal_ref_idc: 1
[h264 @ 00000000004aca60] ct_type:0 pic_struct:0
[h264 @ 00000000004aca60] user data:"Elemental Video Engine(tm) www.elementaltechnologies.com€"
[h264 @ 00000000004aca60] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 00000000004aca60] no picture 
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[NULL @ 000000000047a720] ct_type:0 pic_struct:0
[hls,applehttp @ 000000000044a920] All info found
[hls,applehttp @ 000000000044a920] rfps: 23.416667 0.018094
[hls,applehttp @ 000000000044a920] rfps: 23.500000 0.013104
[hls,applehttp @ 000000000044a920] rfps: 23.500000 0.013104
[hls,applehttp @ 000000000044a920] rfps: 23.583333 0.008917
[hls,applehttp @ 000000000044a920] rfps: 23.666667 0.005533
[hls,applehttp @ 000000000044a920] rfps: 23.666667 0.005533
[hls,applehttp @ 000000000044a920] rfps: 23.750000 0.002953
[hls,applehttp @ 000000000044a920] rfps: 23.750000 0.002953
[hls,applehttp @ 000000000044a920] rfps: 23.833333 0.001177
[hls,applehttp @ 000000000044a920] rfps: 23.833333 0.001177
[hls,applehttp @ 000000000044a920] rfps: 23.916667 0.000203
[hls,applehttp @ 000000000044a920] rfps: 23.916667 0.000203
[hls,applehttp @ 000000000044a920] rfps: 24.000000 0.000033
[hls,applehttp @ 000000000044a920] rfps: 24.000000 0.000033
[hls,applehttp @ 000000000044a920] rfps: 24.083333 0.000667
[hls,applehttp @ 000000000044a920] rfps: 24.083333 0.000667
[hls,applehttp @ 000000000044a920] rfps: 24.166667 0.002104
[hls,applehttp @ 000000000044a920] rfps: 24.166667 0.002104
[hls,applehttp @ 000000000044a920] rfps: 24.250000 0.004344
[hls,applehttp @ 000000000044a920] rfps: 24.250000 0.004344
[hls,applehttp @ 000000000044a920] rfps: 24.333333 0.007387
[hls,applehttp @ 000000000044a920] rfps: 24.333333 0.007387
[hls,applehttp @ 000000000044a920] rfps: 24.416667 0.011234
[hls,applehttp @ 000000000044a920] rfps: 24.500000 0.015884
[hls,applehttp @ 000000000044a920] rfps: 24.500000 0.015884
[hls,applehttp @ 000000000044a920] rfps: 48.000000 0.000134
[hls,applehttp @ 000000000044a920] rfps: 48.000000 0.000134
[hls,applehttp @ 000000000044a920] rfps: 120.000000 0.000836
[hls,applehttp @ 000000000044a920] rfps: 120.000000 0.000836
[hls,applehttp @ 000000000044a920] rfps: 240.000000 0.003342
[hls,applehttp @ 000000000044a920] rfps: 240.000000 0.003342
[hls,applehttp @ 000000000044a920] rfps: 23.976024 0.000000
[hls,applehttp @ 000000000044a920] rfps: 23.976024 0.000000
[hls,applehttp @ 000000000044a920] rfps: 47.952048 0.000000
[hls,applehttp @ 000000000044a920] rfps: 47.952048 0.000000
[hls,applehttp @ 000000000044a920] Setting avg frame rate based on r frame rate
[hls,applehttp @ 000000000044a920] After avformat_find_stream_info() pos: 9416 bytes read:9416 seeks:0 frames:69
Input #0, hls,applehttp, from 'https://amd.cdn.turner.com/adultswim/episodes/no_uk_geo/timanderic/2017/02/tebs_cc_101_Digital_Hole/hls/tebs_cc_101_Digital_Hole_stream_10.m3u8':
  Duration: 00:11:20.96, start: 2.018478, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0, 21, 1/90000: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0/1, Closed Captions, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1, 48, 1/90000: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0000000000468cc0] Statistics: 820800 bytes read, 0 seeks
[AVIOContext @ 000000000044afe0] Statistics: 9416 bytes read, 0 seeks

I was using the lates nightly build for Windows 64bit "ffmpeg-20170910-8e17cd2-win64-static"

Change History (2)

comment:1 by Berni11, 7 years ago

I forgot to mention, that everything worked fine with my old version from 2014 "ffmpeg-20141212-git-10ef8f0-win64-static"

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: mpegts regression added; HLS m3u8 ts removed
Priority: normalimportant
Version: unspecifiedgit-master

If there is an issue (FFmpeg shows the correct duration here for the output file), it is a regression since 1680f9c5

Note: See TracTickets for help on using tickets.