ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.19k stars 10.02k forks source link

Live stream with "Cannot reuse HTTP connection for different host" and "keepalive request failed ... with error: 'Invalid argument' when opening url, retrying with new connection" #28156

Closed az-z closed 3 years ago

az-z commented 3 years ago

Checklist

Question

WRITE QUESTION HERE

Hello, i hope that this is not a bug and just me misunderstanding something. First - i do get the playable file. But i also receive a constant report from youtube-dl like this :

az@dell5000 Videos]$ youtube-dl -v 'https://www.youtube.com/watch?v=NKvIudcbVdU' -o test.mpg
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=NKvIudcbVdU', '-o', 'test.mpg']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.02.10
[debug] Python version 3.9.1 (CPython) - Linux-5.10.11-200.fc33.x86_64-x86_64-with-glibc2.32
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[youtube] NKvIudcbVdU: Downloading webpage
[youtube] NKvIudcbVdU: Downloading m3u8 information
[youtube] NKvIudcbVdU: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/dover/11/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8'
[download] Destination: test.mpg
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3756.1 Safari/537.36
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-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
' -i https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/dover/11/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8 -c copy -f mp4 file:test.mpg.part
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-liblensfun --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librav1e --enable-libsmbclient --enable-version3 --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libglslang --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-lv2 --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libmfx --enable-runtime-cpudetect
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[tcp @ 0x55b8743f5140] Starting connection attempt to 172.217.6.206 port 443
[tcp @ 0x55b8743f5140] Successfully connected to 172.217.6.206 port 443
[hls @ 0x55b8743f0540] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55b8743f0540] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-02-13T18:39:21.253+00:00')
[hls @ 0x55b8743f0540] HLS request for url 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1220/goap/clen%3D84372%3Blmt%3D1613241601919291/govp/clen%3D90273%3Blmt%3D1613241601919291/dur/5.067/file/seg.ts', offset 0, playlist 0
[hls @ 0x55b8743f0540] Opening 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1220/goap/clen%3D84372%3Blmt%3D1613241601919291/govp/clen%3D90273%3Blmt%3D1613241601919291/dur/5.067/file/seg.ts' for reading
[tcp @ 0x55b87483cb00] Starting connection attempt to 64.15.123.18 port 443
[tcp @ 0x55b87483cb00] Successfully connected to 64.15.123.18 port 443
[tcp @ 0x55b8746ddbc0] Starting connection attempt to 64.15.123.23 port 443
[tcp @ 0x55b8746ddbc0] Successfully connected to 64.15.123.23 port 443
[hls @ 0x55b8743f0540] HLS request for url 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1221/goap/clen%3D83246%3Blmt%3D1613241607051241/govp/clen%3D95764%3Blmt%3D1613241607051241/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls @ 0x55b8743f0540] Opening 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1221/goap/clen%3D83246%3Blmt%3D1613241607051241/govp/clen%3D95764%3Blmt%3D1613241607051241/dur/5.000/file/seg.ts' for reading
[tcp @ 0x55b874848bc0] Starting connection attempt to 64.15.123.18 port 443
[tcp @ 0x55b874848bc0] Successfully connected to 64.15.123.18 port 443
[tcp @ 0x55b8744db880] Starting connection attempt to 64.15.123.23 port 443
[tcp @ 0x55b8744db880] Successfully connected to 64.15.123.23 port 443
[h264 @ 0x55b874688b80] Reinit context to 1280x720, pix_fmt: yuv420p
Input #0, hls, from 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/dover/11/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8':
  Duration: N/A, start: 6100.000000, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, left), 1280x720 [SAR 1:1 DAR 16:9], 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:test.mpg.part':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, left), 1280x720 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
Automatically inserted bitstream filter 'aac_adtstoasc'; args=''
[hls @ 0x55b8743f0540] HLS request for url 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1222/goap/clen%3D83620%3Blmt%3D1613241612000490/govp/clen%3D117938%3Blmt%3D1613241612000490/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x55b8747b1840] Cannot reuse HTTP connection for different host: r8---sn-bvvbax-2iae.googlevideo.com:-1 != r3---sn-bvvbax-2iae.googlevideo.com:-1
[AVIOContext @ 0x55b8745be480] Statistics: 235000 bytes read, 0 seeks
[hls @ 0x55b8743f0540] keepalive request failed for 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1222/goap/clen%3D83620%3Blmt%3D1613241612000490/govp/clen%3D117938%3Blmt%3D1613241612000490/dur/5.000/file/seg.ts' with error: 'Invalid argument' when opening url, retrying with new connection
[hls @ 0x55b8743f0540] Opening 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1222/goap/clen%3D83620%3Blmt%3D1613241612000490/govp/clen%3D117938%3Blmt%3D1613241612000490/dur/5.000/file/seg.ts' for reading
[tcp @ 0x55b87468d780] Starting connection attempt to 64.15.123.18 port 443
[tcp @ 0x55b87468d780] Successfully connected to 64.15.123.18 port 443
[tcp @ 0x55b8746ddbc0] Starting connection attempt to 64.15.123.23 port 443
[tcp @ 0x55b8746ddbc0] Successfully connected to 64.15.123.23 port 443
[tcp @ 0x55b874580d80] Starting connection attempt to 172.217.6.206 port 443
[tcp @ 0x55b874580d80] Successfully connected to 172.217.6.206 port 443
[hls @ 0x55b8743f0540] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55b8743f0540] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-02-13T18:39:26.320+00:00')
[hls @ 0x55b8743f0540] HLS request for url 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1223/goap/clen%3D83245%3Blmt%3D1613241616995622/govp/clen%3D105176%3Blmt%3D1613241616995622/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x55b8747b1840] Cannot reuse HTTP connection for different host: r8---sn-bvvbax-2iae.googlevideo.com:-1 != r3---sn-bvvbax-2iae.googlevideo.com:-1
[AVIOContext @ 0x55b874880180] Statistics: 259064 bytes read, 0 seeks
[hls @ 0x55b8743f0540] keepalive request failed for 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1223/goap/clen%3D83245%3Blmt%3D1613241616995622/govp/clen%3D105176%3Blmt%3D1613241616995622/dur/5.000/file/seg.ts' with error: 'Invalid argument' when opening url, retrying with new connection
[hls @ 0x55b8743f0540] Opening 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1223/goap/clen%3D83245%3Blmt%3D1613241616995622/govp/clen%3D105176%3Blmt%3D1613241616995622/dur/5.000/file/seg.ts' for reading
[tcp @ 0x55b874819ac0] Starting connection attempt to 64.15.123.18 port 443
[tcp @ 0x55b874819ac0] Successfully connected to 64.15.123.18 port 443
[tcp @ 0x55b8746ddbc0] Starting connection attempt to 64.15.123.23 port 443
[tcp @ 0x55b8746ddbc0] Successfully connected to 64.15.123.23 port 443
^C[https @ 0x55b8746a2b40] Opening 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/dover/11/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8' for reading
[hls @ 0x55b8743f0540] Skip ('#EXT-X-VERSION:3')
[hls @ 0x55b8743f0540] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-02-13T18:39:31.320+00:00')
[hls @ 0x55b8743f0540] HLS request for url 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1224/goap/clen%3D83245%3Blmt%3D1613241622036075/govp/clen%3D119128%3Blmt%3D1613241622036075/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x55b8747b1840] Cannot reuse HTTP connection for different host: r8---sn-bvvbax-2iae.googlevideo.com:-1 != r3---sn-bvvbax-2iae.googlevideo.com:-1
[AVIOContext @ 0x55b8745f5400] Statistics: 250040 bytes read, 0 seeks
[hls @ 0x55b8743f0540] keepalive request failed for 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1224/goap/clen%3D83245%3Blmt%3D1613241622036075/govp/clen%3D119128%3Blmt%3D1613241622036075/dur/5.000/file/seg.ts' with error: 'Invalid argument' when opening url, retrying with new connection
[hls @ 0x55b8743f0540] Opening 'https://r3---sn-bvvbax-2iae.googlevideo.com/videoplayback/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8/sq/1224/goap/clen%3D83245%3Blmt%3D1613241622036075/govp/clen%3D119128%3Blmt%3D1613241622036075/dur/5.000/file/seg.ts' for reading
[tcp @ 0x55b874819ac0] Starting connection attempt to 64.15.123.18 port 443
[tcp @ 0x55b874819ac0] Successfully connected to 64.15.123.18 port 443
[tcp @ 0x55b8744d30c0] Starting connection attempt to 64.15.123.23 port 443
[tcp @ 0x55b8744d30c0] Successfully connected to 64.15.123.23 port 443
Not writing 'clli' atom. No content light level info.
Not writing 'mdcv' atom. Missing mastering metadata.
frame=  601 fps= 60 q=-1.0 Lsize=     721kB time=00:00:20.06 bitrate= 294.3kbits/s speed=1.99x    
video:386kB audio:319kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.228173%
Input file #0 (https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1613263200/ei/AB0oYO-XL8W-8wThvpCgBw/ip/68.81.226.3/id/NKvIudcbVdU.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r3---sn-bvvbax-2iae.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/18570/mh/Mz/mm/44/mn/sn-bvvbax-2iae/ms/lva/mv/m/mvi/3/pl/21/dover/11/keepalive/yes/mt/1613241144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIgfAA357xaNkFQ0eJTIdJ_BWzDogZ_jKBURiLyxC1to88CIQC7g5vrO5dAy0DZOiXXNAZuVOBJ-7PJxJRWPpR0M8-nlA%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRAIgdaZzOXXmg08mrVP8agXUkiWhOSyvcgxfLxM68Ckb06gCIFGZZvRUZt6zrZCJX7jIZgkhq_6SKrvbQ38YqbPkSb0F/playlist/index.m3u8):
  Input stream #0:0 (audio): 864 packets read (327041 bytes); 
  Input stream #0:1 (video): 601 packets read (394761 bytes); 
  Total: 1465 packets (721802 bytes) demuxed
Output file #0 (file:test.mpg.part):
  Output stream #0:0 (video): 601 packets muxed (394761 bytes); 
  Output stream #0:1 (audio): 864 packets muxed (327041 bytes); 
  Total: 1465 packets (721802 bytes) muxed
[AVIOContext @ 0x55b8746a1040] Statistics: 2 seeks, 6 writeouts
[AVIOContext @ 0x55b8746657c0] Statistics: 32768 bytes read, 0 seeks
[AVIOContext @ 0x55b8747dec00] Statistics: 241016 bytes read, 0 seeks
[AVIOContext @ 0x55b874553e40] Statistics: 12707 bytes read, 0 seeks
[AVIOContext @ 0x55b874759bc0] Statistics: 6354 bytes read, 0 seeks
Exiting normally, received signal 2.
[ffmpeg] Interrupted by user
[ffmpeg] Downloaded 737885 bytes
[download] 100% of 720.59KiB in 00:11

i let it work for a few seconds before ctrl-c the recording.

Appreciate your input.

dstftw commented 3 years ago

Input on what? What's your question in the first place?

az-z commented 3 years ago

@dstftw : I believe i followed the guidelines and provided all required information. To answer your question - the Input on the issue im reporting.

the utility is spewing repeating errors as provided above. Here is a summary since you are in rush:

[https @ 0x55b8747b1840] Cannot reuse HTTP connection for different host...

following by:

[hls @ 0x55b8743f0540] keepalive request failed for 

and


Not writing 'clli' atom. No content light level info.
Not writing 'mdcv' atom. Missing mastering metadata.
``
dstftw commented 3 years ago

Report this to ffmpeg if you think there is a bug.

az-z commented 3 years ago

Why ffmpeg?

On Sat, Feb 13, 2021, 16:59 Sergey M. notifications@github.com wrote:

Report this to ffmpeg if you think there is a bug.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ytdl-org/youtube-dl/issues/28156#issuecomment-778683892, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGHHXOX43OH3DC7LQC24RDS63Y3ZANCNFSM4XSMTUJQ .

metaperl commented 1 year ago

I just encountered that error on windows when invoking youtube-dl as follows:

youtube-dl --format 91 https://www.youtube.com/watch?v=bl4MuaXGqoA

However by simply removing --format 91 from my command-line, the download is working with ffmpeg.