Opened 11 months ago

Last modified 9 months ago

#7359 open defect

Seeking in an M3u8 fragmented MP4 playlist causes no frames to be sent to output

Reported by: jviney Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: hls seek
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Using input seeking with an HLS fragmented MP4 playlist does not write anything to the output.

It works when the -ss option is removed.

ffmpeg started on 2018-08-16 at 13:35:27
Report written to "ffmpeg-20180816-133527.log"
Command line:
ffmpeg -report -loglevel debug -ss 48:00 -i https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8 -c copy -f mpegts -y out.ts
ffmpeg version N-91612-g2612431d1b Copyright (c) 2000-2018 the FFmpeg developers
  built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
  configuration: --enable-shared --disable-doc --enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-ffplay
  libavutil      56. 19.100 / 56. 19.100
  libavcodec     58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter     7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '48:00'.
Reading option '-i' ... matched as input url with argument 'https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'out.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 loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8.
Applying option ss (set the start time offset) with argument 48:00.
Successfully parsed a group of options.
Opening an input file: https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8.
[NULL @ 0x7f9ae3801200] Opening 'https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8' for reading
[https @ 0x7f9ae2507780] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[https @ 0x7f9ae2507780] request: GET /onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8 HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Range: bytes=0-
Connection: close
Host: gloryleague.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] Format hls,applehttp probed with size=2048 and score=100
[https @ 0x7f9ae2507780] Last chunk received, closing conn
[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/init.mp4', offset 0, playlist 0
[hls,applehttp @ 0x7f9ae3801200] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/init.mp4' for reading
[https @ 0x7f9ae2707280] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/init.mp4 HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] Downloading an initialization section of size 965
[AVIOContext @ 0x7f9ae2418dc0] Statistics: 965 bytes read, 0 seeks
[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-1.m4s', offset 0, playlist 0
[hls,applehttp @ 0x7f9ae3801200] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-1.m4s' for reading
[https @ 0x7f9ae2707280] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-1.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-2.m4s', offset 0, playlist 0
[hls,applehttp @ 0x7f9ae3801200] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-2.m4s' for reading
[https @ 0x7f9ae27082c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-2.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ae4001800] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ae4001800] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9ae4001800] found tfdt time -1024, using it for dts
[hls,applehttp @ 0x7f9ae3801200] Before avformat_find_stream_info() pos: 98874 bytes read:98874 seeks:0 nb_streams:1
[h264 @ 0x7f9ae3001000] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x7f9ae3001000] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x7f9ae3001000] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x7f9ae3001000] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x7f9ae3001000] Format yuv420p chosen by get_format().
[h264 @ 0x7f9ae3001000] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0x7f9ae3001000] no picture 
[hls,applehttp @ 0x7f9ae3801200] All info found
[hls,applehttp @ 0x7f9ae3801200] Setting avg frame rate based on r frame rate
[hls,applehttp @ 0x7f9ae3801200] After avformat_find_stream_info() pos: 98874 bytes read:98874 seeks:0 frames:21
[AVIOContext @ 0x7f9ae2708180] Statistics: 189953 bytes read, 0 seeks
[AVIOContext @ 0x7f9ae26168c0] Statistics: 0 bytes read, 0 seeks
Input #0, hls,applehttp, from 'https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8':
  Duration: 00:49:47.23, start: 0.000000, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0, 21, 1/15360: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9], 0/1, 1524 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
      encoder         : Lavf57.83.100
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41iso5
      title           : cam-wasb-d
      album_artist    : ffmpeg=0911ca6bd5,mc=b830c1d3
      comment         : rtsp-server
Successfully opened the file.
Parsing a group of options: output url out.ts.
Applying option c (codec name) with argument copy.
Applying option f (force format) with argument mpegts.
Successfully parsed a group of options.
Opening an output file: out.ts.
[file @ 0x7f9ae2623800] Setting default whitelist 'file,crypto'
Successfully opened the file.
[mpegts @ 0x7f9ae3001600] muxrate VBR, pcr every 1536 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf58.17.101
    Stream #0:0, 0, 1/90000: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 1524 kb/s, 30 fps, 30 tbr, 90k tbn, 15360 tbc
    Metadata:
      variant_bitrate : 0
      encoder         : Lavf57.83.100
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41iso5
      title           : cam-wasb-d
      album_artist    : ffmpeg=0911ca6bd5,mc=b830c1d3
      comment         : rtsp-server
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-576.m4s', offset 0, playlist 0
[hls,applehttp @ 0x7f9ae3801200] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-576.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-576.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-577.m4s', offset 0, playlist 0
[hls,applehttp @ 0x7f9ae3801200] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-577.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-577.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-578.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-578.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-578.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-579.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-579.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-579.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-580.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-580.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-580.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-581.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-581.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-581.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-582.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-582.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-582.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-583.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-583.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-583.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-584.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-584.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-584.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-585.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-585.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-585.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-586.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-586.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-586.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-587.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-587.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-587.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-588.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-588.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-588.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-589.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-589.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-589.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-590.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-590.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-590.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-591.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-591.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-591.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-592.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-592.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-592.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-593.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-593.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-593.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-594.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-594.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-594.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-595.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-595.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-595.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-596.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-596.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-596.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-597.m4s', offset 0, playlist 0
[https @ 0x7f9ae4022e00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-597.m4s' for reading
[https @ 0x7f9ae2708180] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-597.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


[hls,applehttp @ 0x7f9ae3801200] HLS request for url 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-598.m4s', offset 0, playlist 0
[https @ 0x7f9ae3015c00] Opening 'https://gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com/3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-598.m4s' for reading
[https @ 0x7f9ae26234c0] request: GET /3/6/363e1b38-5653-4787-9912-fa6c73e73e85/20180403131129/fmp4/mc-720-low/seg-598.m4s HTTP/1.1
User-Agent: Lavf/58.17.101
Accept: */*
Connection: keep-alive
Host: gloryleague-vid-encoded-syd.s3-ap-southeast-2.amazonaws.com
Icy-MetaData: 1


No more output streams to write to, finishing.
frame=    0 fps=0.0 q=-1.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (https://gloryleague.com/onsen/v1/video_versions/18f4ebc9-157a-4b6c-b4b7-eabc23cf124c.m3u8):
  Input stream #0:0 (video): 0 packets read (0 bytes); 
  Total: 0 packets (0 bytes) demuxed
Output file #0 (out.ts):
  Output stream #0:0 (video): 0 packets muxed (0 bytes); 
  Total: 0 packets (0 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7f9ae2605ac0] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x7f9ae2707fc0] Statistics: 12901468 bytes read, 0 seeks
[AVIOContext @ 0x7f9ae240cc40] Statistics: 12353178 bytes read, 0 seeks
[AVIOContext @ 0x7f9ae2702e00] Statistics: 98874 bytes read, 0 seeks

Change History (3)

comment:1 Changed 11 months ago by jviney

  • Summary changed from Unable to stream copy from M3u8 fragmented MP4 playlist when using input seeking to Input seeking with an M3u8 fragmented MP4 playlist causes no frames to be sent to output

comment:2 Changed 11 months ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords seek added; input seeking removed
  • Reproduced by developer set
  • Status changed from new to open
  • Summary changed from Input seeking with an M3u8 fragmented MP4 playlist causes no frames to be sent to output to Seeking in an M3u8 fragmented MP4 playlist causes no frames to be sent to output

Also reproducible with FFplay, no network input required.

comment:3 Changed 9 months ago by npryan

This patch seems to solve the issue:

https://patchwork.ffmpeg.org/patch/10767/

which also seems to solve:

https://trac.ffmpeg.org/ticket/7485

Note: See TracTickets for help on using tickets.