Opened 6 years ago

Closed 5 years 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 by Steven Liu, 5 years ago

Cc: lq@onvideo.cn added

comment:2 by Carl Eugen Hoyos, 5 years ago

Component: ffplayavformat
Keywords: hls added
Version: 4.1git-master

comment:3 by Steven Liu, 5 years ago

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