[FFmpeg-trac] #2617(avformat:open): Playback of HLS fails when one of the variant streams are down

FFmpeg trac at avcodec.org
Tue Apr 11 20:29:48 EEST 2017


#2617: Playback of HLS fails when one of the variant streams are down
------------------------------------+------------------------------------
             Reporter:  kyl416      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  hls         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by gorilla.maguila):

 The issue is still reproducible with latest git:


 {{{
 ffplay
 http://amd.cdn.turner.com/adultswim/big/streams/playlists/toonami.m3u8
 -loglevel debug
 ffplay version N-85461-gcd8e62746f Copyright (c) 2003-2017 the FFmpeg
 developers
   built with gcc 6.3.1 (GCC) 20170306
   configuration: --prefix=/usr --disable-debug --disable-static --enable-
 avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-
 gpl --enable-ladspa --enable-libass --enable-libbluray --enable-
 libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug
 --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb
 --enable-libopenjpeg --enable-libopus --enable-libfdk-aac --enable-
 libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex
 --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab
 --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxvid --enable-nonfree --enable-shared
 --enable-version3
   libavutil      55. 61.100 / 55. 61.100
   libavcodec     57. 92.100 / 57. 92.100
   libavformat    57. 72.100 / 57. 72.100
   libavdevice    57.  7.100 / 57.  7.100
   libavfilter     6. 84.101 /  6. 84.101
   libavresample   3.  6.  0 /  3.  6.  0
   libswscale      4.  7.100 /  4.  7.100
   libswresample   2.  8.100 /  2.  8.100
   libpostproc    54.  6.100 / 54.  6.100
 [http @ 0x7faedc0012c0] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
 [http @ 0x7faedc0012c0] request: GET
 /adultswim/big/streams/playlists/toonami.m3u8 HTTP/1.1
 User-Agent: Lavf/57.72.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: amd.cdn.turner.com
 Icy-MetaData: 1


 [hls,applehttp @ 0x7faedc000920] Format hls,applehttp probed with
 size=2048 and score=100
 [http @ 0x7faedc005cc0] request: GET
 /hls/live/249295/adultswim_6/main/1/stream_Layer1.m3u8 HTTP/1.1
 User-Agent: Lavf/57.72.100
 Accept: */*
 Connection: close
 Host: adultswimhls-i.akamaihd.net
 Icy-MetaData: 1


 [http @ 0x7faedc005cc0] HTTP error 403 ForbiddenB sq=    0B f=0/0
 [AVIOContext @ 0x7faedc004160] Statistics: 1780 bytes read, 0 seeks
 http://amd.cdn.turner.com/adultswim/big/streams/playlists/toonami.m3u8:
 Server returned 403 Forbidden (access denied)
 }}}


 Other player such as vlc can handle the stream:


 {{{
 vlc http://amd.cdn.turner.com/adultswim/big/streams/playlists/toonami.m3u8
 VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)
 [0000000000e64148] core libvlc: Running vlc with the default interface.
 Use 'cvlc' to use vlc without interface.
 [00007fa6a8005ed8] httplive stream: HTTP Live Streaming
 (amd.cdn.turner.com/adultswim/big/streams/playlists/toonami.m3u8)
 [00007fa6a8005888] http access error: error: HTTP/1.1 403 Forbidden
 [00007fa6a8005888] http access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8005888] access_mms access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8005ed8] core stream error: no suitable access module for
 `http://adultswimhls-i.akamaihd.net/hls/live/249295/adultswim_6/main/1/stream_Layer1.m3u8'
 [00007fa6a8c07728] http access error: error: HTTP/1.1 403 Forbidden
 [00007fa6a8c07728] http access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8c07728] access_mms access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8005ed8] core stream error: no suitable access module for
 `http://adultswimhls-i.akamaihd.net/hls/live/249295/adultswim_6/main/1/stream_Layer2.m3u8'
 [00007fa6a8c07d88] http access error: error: HTTP/1.1 403 Forbidden
 [00007fa6a8c07d88] http access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8c07d88] access_mms access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8005ed8] core stream error: no suitable access module for
 `http://adultswimhls-i.akamaihd.net/hls/live/249295/adultswim_6/main/1/stream_Layer3.m3u8'
 [00007fa6a8c094f8] http access error: error: HTTP/1.1 403 Forbidden
 [00007fa6a8c094f8] http access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8c094f8] access_mms access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8005ed8] core stream error: no suitable access module for
 `http://adultswimhls-i.akamaihd.net/hls/live/249295/adultswim_6/main/1/stream_Layer4.m3u8'
 [00007fa6a8c0a1b8] http access error: error: HTTP/1.1 403 Forbidden
 [00007fa6a8c0a1b8] http access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8c0a1b8] access_mms access error: error: HTTP/1.0 403 Forbidden
 [00007fa6a8005ed8] core stream error: no suitable access module for
 `http://adultswimhls-i.akamaihd.net/hls/live/249295/adultswim_6/main/1/stream_Layer5.m3u8'
 [00007fa6a8c0abb8] ts demux: MPEG-4 descriptor not found for pid 0x1e2
 type 0xf
 [00007fa6a8de55d8] packetizer_mpeg4audio packetizer: AAC channels: 1
 samplerate: 22050
 [00007fa6a8c991a8] avcodec decoder: Using G3DVL VDPAU Driver Shared
 Library version 1.0 for hardware decoding.

 }}}

 Url for testing
 [http://amd.cdn.turner.com/adultswim/big/streams/playlists/toonami.m3u8]

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2617#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list