Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube-dl hangups with FFmpeg 4.0 "Wu"... #16314

Closed
dustycy opened this issue Apr 28, 2018 · 1 comment
Closed

youtube-dl hangups with FFmpeg 4.0 "Wu"... #16314

dustycy opened this issue Apr 28, 2018 · 1 comment
Labels

Comments

@dustycy
Copy link

@dustycy dustycy commented Apr 28, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.25. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ x] I've verified and I assure that I'm running youtube-dl 2018.04.25

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones
  • [ x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with ( <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

C:\Users\LAK\Downloads\youtubeDL>youtube-dl.exe -v https://chaturbate.com/sweet_ary/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://chaturbate.com/sweet_ary/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.04.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg 4.0, ffprobe 4.0
[debug] Proxy map: {}
[Chaturbate] sweet_ary: Downloading webpage
[Chaturbate] sweet_ary: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://edge150.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/chunklist_w658602298_b3096000.m3u8'
[download] Destination: sweet_ary 2018-04-28 13_44-sweet_ary.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
" -i "https://edge150.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/chunklist_w658602298_b3096000.m3u8" -c copy -f mp4 "file:sweet_ary 2018-04-28 13_44-sweet_ary.mp4.part"
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

---

### Description of your *issue*, suggested solution and other information

I have updated ffmpeg to the latest stable release FFmpeg 4.0 "Wu" only to find out that youtube-dl hangups when I try to download an HLS stream. The following is the log with the previous stable release FFmpeg 3.4.2 "Cantor". So, it seems youtube-dl hangups when it is about to open the stream.

C:\Users\LAK\Downloads\youtubeDL>youtube-dl.exe -v https://chaturbate.com/sweet_ary/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://chaturbate.com/sweet_ary/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.04.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg 3.4.2, ffprobe 3.4.2
[debug] Proxy map: {}
[Chaturbate] sweet_ary: Downloading webpage
[Chaturbate] sweet_ary: Downloading m3u8 information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/chunklist_w1085122923_b3096000.m3u8'
[download] Destination: sweet_ary 2018-04-28 13_49-sweet_ary.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
" -i "https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/chunklist_w1085122923_b3096000.m3u8" -c copy -f mp4 "file:sweet_ary 2018-04-28 13_49-sweet_ary.mp4.part"
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
[tls @ 0000024731f0a400] Server closed the connection
[hls,applehttp @ 0000024731f07160] HLS request for url 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2801.ts', offset 0, playlist 0
[hls,applehttp @ 0000024731f07160] Opening 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2801.ts' for reading
[h264 @ 00000247337055a0] Reinit context to 960x720, pix_fmt: yuv420p
Input #0, hls,applehttp, from 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/chunklist_w1085122923_b3096000.m3u8':
  Duration: N/A, start: 5662.109000, bitrate: N/A
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 960x720 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Audio: aac (LC) ([15][0][0][0] / 0x000F), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:sweet_ary 2018-04-28 13_49-sweet_ary.mp4.part':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 960x720 (0x0) [SAR 1:1 DAR 4:3], q=2-31, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
Automatically inserted bitstream filter 'aac_adtstoasc'; args=''
[tls @ 000002473370d880] Server closed the connection
[tls @ 00000247337861c0] Server closed the connection
[hls,applehttp @ 0000024731f07160] HLS request for url 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2802.ts', offset 0, playlist 0
[hls,applehttp @ 0000024731f07160] Opening 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2802.ts' for reading
[tls @ 0000024733786340] Server closed the connection:02.11 bitrate= 993.2kbits/s speed=2.36x
[hls,applehttp @ 0000024731f07160] HLS request for url 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2803.ts', offset 0, playlist 0
[hls,applehttp @ 0000024731f07160] Opening 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2803.ts' for reading
[tls @ 00000247337861c0] Server closed the connection:04.09 bitrate=1024.1kbits/s speed=2.21x
[hls,applehttp @ 0000024731f07160] HLS request for url 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2804.ts', offset 0, playlist 0
[hls,applehttp @ 0000024731f07160] Opening 'https://edge92.stream.highwebmedia.com/live-hls/amlst:sweet_ary-sd-2745964cea3545222977753355bd24861a3d7177b2f3495250c8b32fbf6aad99_trns_h264/media_w1085122923_b3096000_2804.ts' for reading
[tls @ 00000247337861c0] Server closed the connection:06.01 bitrate=1394.4kbits/s speed=2.18x

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 28, 2018

So what? Report it to ffmpeg.

@dstftw dstftw closed this Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.