[FFmpeg-user] FFmpeg 4.0 "Wu" hangups on HLS live streams ...

David Brown gonnoro at yahoo.com
Tue May 1 10:11:46 EEST 2018


I occasionally use youtube-dl (FFmpeg) to download HLS live streams, and have recently updated to FFmpeg 4.0 "Wu" only to find out that youtube-dl (FFmpeg) hangups on HLS live streams.

The following outputs are from FFmpeg 4.0 "Wu" and FFmpeg 3.4.2 "Cantor" respectively. The program appears to hangup when it is about to open the HLS stream and I am forced to hard exit the program.

I am using the zeranoe FFmpeg builds under Windows 10.


C:\Users\LAK\Downloads\youtubeDL>ffmpeg -i https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4
ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Received > 3 system signals, hard exiting


C:\Users\LAK\Downloads\youtubeDL>ffmpeg -i https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b448000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b848000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b1148000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b1896000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b448000_1950.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b848000_1950.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b1148000_1951.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b1896000_2028.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b448000.m3u8' for reading
skipping 1 segments ahead, expired from playlists
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b448000_1952.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b848000.m3u8' for reading
skipping 2 segments ahead, expired from playlists
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b848000_1953.ts' for reading
Input #0, hls,applehttp, from 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/playlist.m3u8':
  Duration: N/A, start: 4052.205000, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 488000
    Stream #0:0: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 488000
    Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 488000
    Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 488000
  Program 1
    Metadata:
      variant_bitrate : 928000
    Stream #0:3: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 928000
    Stream #0:4: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 928000
    Stream #0:5: Audio: aac (LC) ([15][0][0][0] / 0x000F), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 928000
  Program 2
    Metadata:
      variant_bitrate : 1258000
    Stream #0:6: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 1258000
    Stream #0:7: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 1258000
    Stream #0:8: Audio: aac (LC) ([15][0][0][0] / 0x000F), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 1258000
  Program 3
    Metadata:
      variant_bitrate : 2076000
    Stream #0:9: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 2076000
    Stream #0:10: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 768x576 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 2076000
    Stream #0:11: Audio: aac (LC) ([15][0][0][0] / 0x000F), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 2076000
Output #0, mp4, to 'output.mp4':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 768x576 [SAR 1:1 DAR 4:3], q=2-31, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 2076000
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 488000
Stream mapping:
  Stream #0:10 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0000026b97786ca0] No longer receiving playlist 2te=   0.1kbits/s speed= 6.4x
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b1896000.m3u8' for reading
skipping 2 segments ahead, expired from playlists
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b1896000_2031.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b448000.m3u8' for reading
skipping 2 segments ahead, expired from playlists
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b448000_1955.ts' for reading
[hls,applehttp @ 0000026b97786ca0] No longer receiving playlist 1te= 345.0kbits/s speed=2.29x
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b1896000.m3u8' for reading
skipping 1 segments ahead, expired from playlists
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b1896000_2033.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b448000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b448000_1956.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b448000_1957.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b1896000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b1896000_2034.ts' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/chunklist_w1786974819_b448000.m3u8' for reading
[hls,applehttp @ 0000026b97786ca0] Opening 'https://edge133.stream.highwebmedia.com/live-hls/amlst:_bars_377-sd-f781e5f48272165dd7a8704be7d1dffdf08e9da77e64e967cae72f76e9688817_trns_h264/media_w1786974819_b448000_1958.ts' for reading
frame=  238 fps= 25 q=-1.0 Lsize=    1701kB time=00:00:16.52 bitrate= 843.7kbits/s speed=1.75x
video:1635kB audio:60kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.351644%
Exiting normally, received signal 2.






More information about the ffmpeg-user mailing list