Opened 2 years ago

Closed 2 years ago

#8688 closed enhancement (fixed)

Live HLS playlist with non-whitelisted protocol segment URLs gets in a retry loop

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


Summary of the bug:

Live HLS playlist with non-whitelisted protocol segment URLs retries even thought the error is unrecoverable.

ffmpeg version: master at b5aee6086b717b83bce8f6be4324fabaddec6209

How to reproduce:

/build # cat /Users/wader/src/ffmpeg-master/test.m3u8
/build # gdb --args ./ffprobe_g -i /Users/wader/src/ffmpeg-master/test.m3u8
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-alpine-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./ffprobe_g...
(gdb) r
Starting program: /build/ffprobe_g -i /Users/wader/src/ffmpeg-master/test.m3u8
warning: Error disabling address space randomization: Operation not permitted
ffprobe version N-97964-gb5aee6086b Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 9.2.0 (Alpine 9.2.0)
  configuration: --enable-debug --disable-optimizations
  libavutil      56. 49.100 / 56. 49.100
  libavcodec     58. 88.100 / 58. 88.100
  libavformat    58. 43.100 / 58. 43.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 83.100 /  7. 83.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
[hls @ 0x55dc945e2440] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55dc945e2440] Opening 'http://a/' for reading
[http @ 0x7f60466d0cc0] Protocol 'http' not on whitelist 'file,crypto,data'!
[hls @ 0x55dc945e2440] Failed to open segment 0 of playlist 0
[hls @ 0x55dc945e2440] Skip ('#EXT-X-VERSION:3')
    Last message repeated 401 times
    Last message repeated 402 times
    Last message repeated 719 times

Change History (1)

comment:1 by Steven Liu, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.