Opened 14 months ago

Closed 7 months ago

#7811 closed defect (fixed)

FFPlay Cannot play master if one of listed playlist error

Reported by: urangtasik Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: hls
Cc: lq@onvideo.cn Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I have file index.m3u8 it contain 2 another playlist, but ffplay cannot play it if one of the playlist is return HTTP 404 from server

Example of the file

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1024000,RESOLUTION=852x480
ch_480/index.m3u8 <==== good, http 200
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=307200,RESOLUTION=426x240
ch_240/index.m3u8 <===== bad, http 404

How to reproduce:

% ffplay http://example/index.m3u8
ffplay version 4.1.1

[hls,applehttp @] Opening 'http://example/ch_480/index.m3u8' for reading
[https @] Opening 'http://example/ch_240/index.m3u8' for reading
[https @ ] HTTP error 404 Not Foundq=    0B f=0/0
[hls,applehttp @] keepalive request failed for 'http://example/ch_240/index.m3u8', retrying with new connection: Server returned 404 Not Found
[hls,applehttp @] Opening 'http://example/ch_240/index.m3u8' for reading
[https @] HTTP error 404 Not Foundq=    0B f=0/0
http://example/index.m3u8: Server returned 404 Not Found

Change History (3)

comment:1 Changed 9 months ago by stevenliu

  • Cc lq@onvideo.cn added

comment:2 Changed 9 months ago by cehoyos

  • Component changed from ffplay to avformat
  • Keywords hls added
  • Version changed from 4.1 to git-master

comment:3 Changed 7 months ago by stevenliu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.