Error m3u8 download detected but ffmpeg or avconv could not be found please install one

I called youtube-dl in script with cron. 0 20 20 4 * /bin/sh -c '/etc/mysh/yt.sh u-zLirE_77U' yt.sh #!/bin/sh cd /mnt/sda1/yt until youtube-dl -v https://www.youtube.com/watch?v=$1 do sleep...

@jefferson018200306 @dirkf @dstftw ,thx all you guys.
I change OpenWrt branch from 19.07 to 21.02 which have new rc1 release.

root@OpenWrt:/mnt/sda1/yt# youtube-dl -v https://www.youtube.com/watch?v=5qap5aO4i9A 2>&1 |tee log

I’m not sure why, but youtube-dl can found ffmpeg now:

[debug] System config: ['-o', '/mnt/sda1/yt/%(title)s-%(id)s.%(ext)s', '-f', 'best', '--no-part', '--cache-dir', '/tmp', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.1 Safari/537.36']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=5qap5aO4i9A']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.04.17
[debug] Python version 3.9.2 (CPython) - Linux-5.4.111-armv7l-with-libc
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2
[debug] Proxy map: {}
[youtube] 5qap5aO4i9A: Downloading webpage
[youtube] 5qap5aO4i9A: Downloading m3u8 information
[youtube] 5qap5aO4i9A: Downloading MPD manifest
[debug] Invoking downloader on 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8'
[download] Destination: /mnt/sda1/yt/lofi hip hop radio - beats to relax_study to 2021-04-21 18_37-5qap5aO4i9A.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.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/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8 -c copy -f mp4 'file:/mnt/sda1/yt/lofi hip hop radio - beats to relax_study to 2021-04-21 18_37-5qap5aO4i9A.mp4'
ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8.4.0 (OpenWrt GCC 8.4.0 r16051-15cd9a5d5c)
  configuration: --enable-cross-compile --cross-prefix=arm-openwrt-linux-muslgnueabi- --arch=arm --cpu=cortex-a7 --target-os=linux --prefix=/usr --pkg-config=pkg-config --enable-shared --enable-static --enable-pthreads --enable-zlib --disable-doc --disable-debug --disable-lzma --disable-vaapi --disable-vdpau --disable-outdevs --disable-runtime-cpudetect --enable-lto --enable-vfp --enable-neon --enable-vfp --disable-x86asm --enable-hardcoded-tables --enable-version3 --enable-nonfree --disable-swscale --disable-everything --enable-openssl --enable-decoder='h264,aac,vp9,opus' --enable-muxer='mp4,matroska,webm' --enable-demuxer='hls,mpegts,matroska,mov' --enable-parser='h264,aac,vp9,opus' --enable-protocol='file,hls,http,https' --disable-postproc
  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
  libswresample   3.  7.100 /  3.  7.100
[tcp @ 0xb6f0cf90] Starting connection attempt to 172.217.24.14 port 443
[tcp @ 0xb6f0cf90] Successfully connected to 172.217.24.14 port 443
[hls @ 0xb6f0c400] Skip ('#EXT-X-VERSION:3')
[hls @ 0xb6f0c400] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:13038')
[hls @ 0xb6f0c400] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-04-21T10:37:10.932+00:00')
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320402/goap/clen%3D81035%3Blmt%3D1618958567579871/govp/clen%3D462655%3Blmt%3D1618958567579869/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls @ 0xb6f0c400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320402/goap/clen%3D81035%3Blmt%3D1618958567579871/govp/clen%3D462655%3Blmt%3D1618958567579869/dur/5.000/file/seg.ts' for reading
[tcp @ 0x103de00] Starting connection attempt to 203.66.180.77 port 443
[tcp @ 0x103de00] Successfully connected to 203.66.180.77 port 443
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320403/goap/clen%3D81229%3Blmt%3D1618958567579881/govp/clen%3D549115%3Blmt%3D1618958567579879/dur/5.000/file/seg.ts', offset 0, playlist 0
[hls @ 0xb6f0c400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320403/goap/clen%3D81229%3Blmt%3D1618958567579881/govp/clen%3D549115%3Blmt%3D1618958567579879/dur/5.000/file/seg.ts' for reading
[tcp @ 0x1060660] Starting connection attempt to 203.66.180.77 port 443
[tcp @ 0x1060660] Successfully connected to 203.66.180.77 port 443
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320404/goap/clen%3D81367%3Blmt%3D1618958567579891/govp/clen%3D486139%3Blmt%3D1618958567579889/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x103ec00] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320404/goap/clen%3D81367%3Blmt%3D1618958567579891/govp/clen%3D486139%3Blmt%3D1618958567579889/dur/5.000/file/seg.ts' for reading
[tcp @ 0x11d46b0] Starting connection attempt to 172.217.24.14 port 443
[tcp @ 0x11d46b0] Successfully connected to 172.217.24.14 port 443
[hls @ 0xb6f0c400] Skip ('#EXT-X-VERSION:3')
[hls @ 0xb6f0c400] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:13038')
[hls @ 0xb6f0c400] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-04-21T10:38:25.932+00:00')
[hls @ 0xb6f0c400] skipping 10 segments ahead, expired from playlists
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320415/goap/clen%3D81444%3Blmt%3D1618958567580001/govp/clen%3D537356%3Blmt%3D1618958567579999/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x102dea0] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320415/goap/clen%3D81444%3Blmt%3D1618958567580001/govp/clen%3D537356%3Blmt%3D1618958567579999/dur/5.000/file/seg.ts' for reading
[https @ 0x11d6000] Opening 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8' for reading
[hls @ 0xb6f0c400] Skip ('#EXT-X-VERSION:3')
[hls @ 0xb6f0c400] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:13038')
[hls @ 0xb6f0c400] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-04-21T10:41:05.932+00:00')
[hls @ 0xb6f0c400] skipping 31 segments ahead, expired from playlists
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320447/goap/clen%3D81359%3Blmt%3D1618958567580321/govp/clen%3D518610%3Blmt%3D1618958567580319/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x103ec00] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320447/goap/clen%3D81359%3Blmt%3D1618958567580321/govp/clen%3D518610%3Blmt%3D1618958567580319/dur/5.000/file/seg.ts' for reading
[tls @ 0x102c100] error:00000000:lib(0):func(0):reason(0)
[AVIOContext @ 0x105f950] Statistics: 1194928 bytes read, 0 seeks
[hls @ 0xb6f0c400] keepalive request failed for 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320447/goap/clen%3D81359%3Blmt%3D1618958567580321/govp/clen%3D518610%3Blmt%3D1618958567580319/dur/5.000/file/seg.ts' with error: 'I/O error' when opening url, retrying with new connection
[hls @ 0xb6f0c400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320447/goap/clen%3D81359%3Blmt%3D1618958567580321/govp/clen%3D518610%3Blmt%3D1618958567580319/dur/5.000/file/seg.ts' for reading
[tcp @ 0x102c100] Starting connection attempt to 203.66.180.77 port 443
[tcp @ 0x102c100] Successfully connected to 203.66.180.77 port 443
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320448/goap/clen%3D81130%3Blmt%3D1618958567580331/govp/clen%3D581073%3Blmt%3D1618958567580329/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x102dea0] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320448/goap/clen%3D81130%3Blmt%3D1618958567580331/govp/clen%3D581073%3Blmt%3D1618958567580329/dur/5.000/file/seg.ts' for reading
[tls @ 0x1060440] error:00000000:lib(0):func(0):reason(0)
[AVIOContext @ 0x107d320] Statistics: 1333296 bytes read, 0 seeks
[hls @ 0xb6f0c400] keepalive request failed for 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320448/goap/clen%3D81130%3Blmt%3D1618958567580331/govp/clen%3D581073%3Blmt%3D1618958567580329/dur/5.000/file/seg.ts' with error: 'I/O error' when opening url, retrying with new connection
[hls @ 0xb6f0c400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320448/goap/clen%3D81130%3Blmt%3D1618958567580331/govp/clen%3D581073%3Blmt%3D1618958567580329/dur/5.000/file/seg.ts' for reading
[tcp @ 0x1060b80] Starting connection attempt to 203.66.180.77 port 443
[tcp @ 0x1060b80] Successfully connected to 203.66.180.77 port 443
[h264 @ 0x1073580] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, hls, from 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8':
  Duration: N/A, start: 46856.433156, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:/mnt/sda1/yt/lofi hip hop radio - beats to relax_study to 2021-04-21 18_37-5qap5aO4i9A.mp4':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 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 @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320449/goap/clen%3D81562%3Blmt%3D1618958567580341/govp/clen%3D490254%3Blmt%3D1618958567580339/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x1033400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320449/goap/clen%3D81562%3Blmt%3D1618958567580341/govp/clen%3D490254%3Blmt%3D1618958567580339/dur/5.000/file/seg.ts' for reading
[tcp @ 0x10f7b70] Starting connection attempt to 203.66.180.77 port 443
[tcp @ 0x10f7b70] Successfully connected to 203.66.180.77 port 443
frame=  750 fps=0.0 q=-1.0 size=    2816kB time=00:00:25.01 bitrate= 922.1kbits/s speed=45.2x    
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320450/goap/clen%3D81125%3Blmt%3D1618958567580351/govp/clen%3D543375%3Blmt%3D1618958567580349/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x1378690] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320450/goap/clen%3D81125%3Blmt%3D1618958567580351/govp/clen%3D543375%3Blmt%3D1618958567580349/dur/5.000/file/seg.ts' for reading
[tcp @ 0x1291c40] Starting connection attempt to 203.66.180.77 port 443
[tcp @ 0x1291c40] Successfully connected to 203.66.180.77 port 443
frame= 1018 fps=963 q=-1.0 size=    3840kB time=00:00:33.93 bitrate= 927.0kbits/s speed=32.1x    
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320451/goap/clen%3D81124%3Blmt%3D1618958567580361/govp/clen%3D507533%3Blmt%3D1618958567580359/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x1033400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320451/goap/clen%3D81124%3Blmt%3D1618958567580361/govp/clen%3D507533%3Blmt%3D1618958567580359/dur/5.000/file/seg.ts' for reading
frame= 1138 fps=731 q=-1.0 size=    4352kB time=00:00:37.94 bitrate= 939.5kbits/s speed=24.4x    
[https @ 0x11d6000] Opening 'https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8' for reading
[hls @ 0xb6f0c400] Skip ('#EXT-X-VERSION:3')
[hls @ 0xb6f0c400] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:13038')
[hls @ 0xb6f0c400] Skip ('#EXT-X-PROGRAM-DATE-TIME:2021-04-21T10:41:10.932+00:00')
[hls @ 0xb6f0c400] HLS request for url 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320452/goap/clen%3D81460%3Blmt%3D1618958567580371/govp/clen%3D619959%3Blmt%3D1618958567580369/dur/5.000/file/seg.ts', offset 0, playlist 0
[https @ 0x1033400] Opening 'https://r2---sn-ipoxu-u2xd.googlevideo.com/videoplayback/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/expire/1619023063/ei/dwCAYJjVKpLrgAP_9KXQCg/ip/61.230.9.99/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-ipoxu-u2xd.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/7470/mh/30/mm/44/mn/sn-ipoxu-u2xd/ms/lva/mv/m/mvi/2/pcm2cms/yes/pl/21/keepalive/yes/fexp/24001373,24007246/mt/1619001144/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgPAlVAGXNGsThUEFuCDdlYew8VCNZGoF2FMtHQZF_mXECIEF_f3xQ9JlXI0RJc8c2wOKAeBGyMNeqrZ6_nGJYpWhE/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pcm2cms,pl/lsig/AG3C_xAwRQIgYAQL-iQ1z40SA8OZgJjqPOltR_IHGrC2eBVVF5wbwvUCIQC-Xins5L9R6c909c8qdiMIrm9-sIZGM9pDwTjKhBHUAA%3D%3D/playlist/index.m3u8/sq/7320452/goap/clen%3D81460%3Blmt%3D1618958567580371/govp/clen%3D619959%3Blmt%3D1618958567580369/dur/5.000/file/seg.ts' for reading
frame= 1349 fps=585 q=-1.0 size=    5120kB time=00:00:45.00 bitrate= 931.9kbits/s speed=19.5x

All things look alright now, also my script can work.
Maybe due to Python version?

I want to add tags to mp3 converted by youtube-dl & ffmpeg:

youtube-dl -o
‘/Output/qpgTC9MDx1o.mp3’ qpgTC9MDx1o -f bestaudio —extract-audio —metadata-from-title «%(artist)s —
%(title)s» 2>&1

I have this error in the output result:

[youtube] qpgTC9MDx1o: Downloading webpage [youtube] qpgTC9MDx1o:
Extracting video information [youtube] qpgTC9MDx1o: Downloading js
player en_US-vfluGO3jj [youtube] qpgTC9MDx1o: Downloading DASH
manifest [download]
/var/www/vhosts/mp3-y.com/httpdocs/Mp3_Output/quick-mp3.com-JALAL-EL-HAMDAOUI-2007-ARRASSIATES-VOL2-F1P-9CDoxlQ.mp3
has already been downloaded [download] 100% of 13.43MiB WARNING:
qpgTC9MDx1o: writing DASH m4a. Only some players support this
container. Install ffmpeg or avconv to fix this automatically.
[fromtitle] parsed artist: Maroon 5 [fromtitle] parsed title: Animals
ERROR: ffprobe or avprobe not found. Please install one.

Sajad Torkamani's user avatar

asked Jun 11, 2015 at 1:37

Anass's user avatar

3

Make sure you have the latest version for youtube-dl:
sudo youtube-dl -U

After that you can solve this problem by installing the missing ffmpeg.

Ubuntu and debian:
sudo apt-get install ffmpeg

macOS:
brew install ffmpeg

Windows:
choco install ffmpeg

BullyWiiPlaza's user avatar

BullyWiiPlaza

16.4k9 gold badges105 silver badges171 bronze badges

answered Feb 25, 2016 at 12:54

eGhoul's user avatar

eGhouleGhoul

2,3001 gold badge12 silver badges17 bronze badges

3

brew install ffmpeg will install what you need and all the dependencies if you are on a Mac.

answered May 31, 2018 at 2:07

applecrusher's user avatar

applecrusherapplecrusher

5,4484 gold badges39 silver badges88 bronze badges

1

I know the user asked this for Linux, but I had this issue in Windows (10 64bits) and found little information, so this is how I solved it:

  • Download LIBAV, I used libav-11.3-win64.7z. Just copy «avprobe.exe» and all DLLs from «/win64/usr/bin» to where «youtube-dl.exe» is.

In case LIBAV does not help, try with FFMPEG, copying the contents of the «bin» folder to where «youtube-dl.exe» is. That did not help me, but others said it did, so it may worth a try.

Hope this helps someone having the issue in Windows.

Kurtoid's user avatar

Kurtoid

2177 silver badges15 bronze badges

answered Aug 10, 2016 at 16:19

Federico Alvarez's user avatar

Federico AlvarezFederico Alvarez

1,4191 gold badge19 silver badges29 bronze badges

7

On Windows, you can easily install ffmpeg via chocolatey

choco install ffmpeg

answered May 11, 2018 at 8:14

Alamakanambra's user avatar

AlamakanambraAlamakanambra

5,4633 gold badges33 silver badges39 bronze badges

3

There is some confusion when using pip install in Windows. The instructions talk about a specific folder which has youtube-dl.exe. There is no such folder if you use pip install.

The solution is to:

  • Download one of the builds from https://ffmpeg.zeranoe.com/
  • Extract the zip contents
  • Place the contents of the bin folder (there are three exe files) in any folder which is a path in Windows. I personally use Ananconda, so I placed them in /Anaconda/Scripts, but you could place it in any folder and add that folder to the path.

dot.Py's user avatar

dot.Py

4,9315 gold badges29 silver badges52 bronze badges

answered Jan 24, 2017 at 7:31

Yesh's user avatar

YeshYesh

92610 silver badges15 bronze badges

Compiling the last answers into one:

If you’re on Windows, use chocolatey:

choco install ffmpeg

If you are on Mac, use Brew:

brew install ffmpeg

If you are on a Debian Linux distribution, use apt:

sudo apt-get install ffmpeg

And make sure Youtube-dl is updated:

youtube-dl -U

Xorifelse's user avatar

Xorifelse

7,8181 gold badge26 silver badges38 bronze badges

answered Feb 25, 2020 at 19:45

Antonio's user avatar

AntonioAntonio

2,6902 gold badges14 silver badges15 bronze badges

0

What worked for me (youtube-dl version 2018.03.03, ffprobe 0.5, no avprobe, 3.4.1-tessus, in Hi-Sierra/iMac) was:

brew install libav

(thanks to marciovsena’s post on GitHub).

I saw elsewhere that libav might be deprecated in the future, but I’ll worry about it when we get there.

Stephen Kennedy's user avatar

answered Mar 5, 2018 at 20:42

tngn's user avatar

tngntngn

3512 silver badges5 bronze badges

1

You can install them by

sudo apt-get install -y libav-tools

answered Jun 20, 2016 at 22:24

Ganesh Krishnan's user avatar

Ganesh KrishnanGanesh Krishnan

6,9572 gold badges43 silver badges52 bronze badges

1

  • Update your version of youtube-dl to the lastest as older version might not support.

     pip install --upgrade youtube_dl
    
  • Install ‘ffmpeg’ and ‘ffprobe’ module

     pip install ffmpeg
     pip install ffprobe
    
  • If you face the same issue, then download ffmpeg builds and put all the .exe files to Script folder($path: «PythonPython38-32Scripts») (Windows OS only)

answered Jul 28, 2020 at 5:07

Surya Raj's user avatar

Surya RajSurya Raj

611 silver badge4 bronze badges

1

On a Mac, install ffmpeg by downloading it from:

https://ffmpeg.org/download.html

Under «Get packages & executable files/Static Builds for macOS 64-bit».

I downloaded ffmpeg and ffprobe.

After download, I extracted the binaries ffmpeg and ffprobe, copied them to my path and set permissions:

cp ffmpeg /usr/local/bin/
cp ffprobe /usr/local/bin/
chmod 755 /usr/local/bin/ff*

With brew install ffmpeg on macOS 10.13 I got the following Error: ffmpeg: no bottle available! and I was also not able to build ffmpeg on my machine.

answered Apr 10, 2021 at 10:51

user2314737's user avatar

user2314737user2314737

26.2k18 gold badges100 silver badges111 bronze badges

on MAC i tried to run brew install ffmpeg but it didn’t work and got many errors, so i did this and it worked:

1- make sure you have the latest version of youtube-dl

pip install --upgrade youtube_dl

2- go to https://evermeet.cx/ffmpeg/ and download ffmpeg and ffprobe

3- run which youtube-dl on Terminal to get the path, where youtube-dl is installed.

you should get something like this : /Library/Frameworks/Python.framework/Versions/3.9/bin/

4- copy the 2 file you downloaded ffmpeg and ffprobe to the bin folder of your path from step 3.

that’s it. you shouldn’t get this error again.

answered Aug 5, 2021 at 21:49

korchix's user avatar

korchixkorchix

1,2951 gold badge17 silver badges20 bronze badges

On WINDOWS
You can just install it by using winget. If you have Windows 11 or modern versions of Windows 10 winget comes preinstalled. so just use the below command.

winget install ffmpeg

answered Aug 23, 2022 at 10:12

Khan Saad's user avatar

Khan SaadKhan Saad

7991 gold badge7 silver badges25 bronze badges

1

Posting what i found recently, just so that it might be of help.

Once you have installed ffmpeg as stated by various answers here , use the below option to point to the location of ffmpeg .

in my case i’ve installed ffmpg in (on Windows PC) E:ffmpegbin

Use underscore rather than hyphen, while invoking youtube-dl from Python, and use —ffmpeg-location if calling from command line
eg

ydl_opts = {       
            'ffmpeg_location' : 'E:\ffmpeg\bin\ffmpeg.exe',
            } 

answered Jan 2 at 20:20

codevalid's user avatar

codevalidcodevalid

1911 gold badge3 silver badges8 bronze badges

  1. update your version of youtube-dl to the lastest as older version might not support palylists.

    sudo youtube-dl -U if u installed via .deb

    sudo pip install --upgrade youtube_dl via pip

  2. use this to download the playlist as an MP3 file

    youtube-dl --extract-audio --audio-format mp3 #url_to_playlist

Jogendra Kumar's user avatar

answered Sep 24, 2015 at 11:27

Mbugua's user avatar

1

This is an old question. But if you’re using a virtualenv with python, place the contents of the downloaded libav bin folder in the Scriptsfolder of your virtualenv.

answered Nov 14, 2019 at 7:58

Reez0's user avatar

Reez0Reez0

2,3952 gold badges19 silver badges37 bronze badges

    Table of contents

  • ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one
  • I am getting this «Error: FFmpeg/avconv not found!»
  • Fix Couldn’t find ffmpeg or avconv in pydub – Python Tutorial
  • Help with this error message!
  • Applehelp

ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one

Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.Provide details and share your research! But avoid …. Asking for help, clarification, or responding to other answers.

from __future__ import unicode_literals
import youtube_dl
songs = ['https://www.youtube.com/watch?v=8qLL2Gx3I_k','https://www.youtube.com/watch?v=WNeLUngb-Xg', 'https://www.youtube.com/watch?v=saxxJZCr2-k', 'https://www.youtube.com/watch?v=pICAha0nsb0', 'https://www.youtube.com/watch?v=RCmKDK1TYmE']
ydl_opts = {'postprocessors': [{'key': 'FFmpegExtractAudio','preferredcodec': 'mp3','preferredquality': 0}]}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
        ydl.download(songs)

I am getting this «Error: FFmpeg/avconv not found!»

I had a problem with playing stream in Discord.js even thought I installed ffmpeg binaries, so here’s a possible fix, atleast in windows if ffmpeg can’t be run alone in CMD, then I went to …

Error: FFmpeg/avconv not found!
    at Function.getInfo (C:Users-discord-botnode_modulesprism-mediasrccoreFFmpeg.js:130:11)
    at Function.create (C:Users-discord-botnode_modulesprism-mediasrccoreFFmpeg.js:143:38)
    at new FFmpeg (C:Users-discord-botnode_modulesprism-mediasrccoreFFmpeg.js:44:27)
    at AudioPlayer.playUnknown (C:Users-discord-botnode_modulesdiscord.jssrcclientvoiceplayerBasePlayer.js:47:20)
    at VoiceConnection.play (C:Users-discord-botnode_modulesdiscord.jssrcclientvoiceutilPlayInterface.js:71:28)
    at Object.play (C:Users-discord-botcommandsplay.js:78:8)
    at Object.execute (C:Users-discord-botcommandsplay.js:48:16)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:14004) UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot send an empty message
    at RequestHandler.execute (C:Users-discord-botnode_modulesdiscord.jssrcrestRequestHandler.js:170:25)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:14004) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandl
ed promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14004) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
}, 'ffmpeg', 'avconv', './ffmpeg', './avconv'];
}, 'ffmpeg', 'avconv', './ffmpeg', 'C:/ffmpeg/ffmpeg', './avconv'];

Fix Couldn’t find ffmpeg or avconv in pydub – Python Tutorial

The simplest way is to add the installation path of ffmpeg.exe to your compute environment variable. However, if you do not want to add, you can fix this error manually. For …

envdir_list.append(r'D:ffmpegbin')

Help with this error message!

I already installed ffprobe and ffmpeg so I don’t know what else to do or if something is wrong inside the code itself. It won’t let me download avprobe nor avconv ERROR: ffprobe/avprobe …

from selenium import webdriver
from selenium.webdriver.support import  expected_conditions as EC
import time
import youtube_dl

PATH = "D:\Program Files\Chrome Driver\chromedriver.exe"


driver = webdriver.Chrome(PATH)
driver.maximize_window()
time.sleep(1)
presence = EC.presence_of_element_located
visible = EC.visibility_of_element_located

url = "https://www.youtube.com/results?search_query={}"

f = open("Songs.txt", "r")

try:
    for line in f:
        print(line)
        song_url = url.format(line)
        driver.get(song_url)                                # Goes to the song url
        time.sleep(2.5)
        link = driver.find_element_by_id("video-title")
        link.click()                                    # Clicks on the first video
        video_url = driver.current_url
        video_info = youtube_dl.YoutubeDL().extract_info(    # Download process, mp4
            url=video_url, download=False)

        filename = f"{video_info['title']}.mp3"
        options = {
            'format': 'bestaudio/best',
            'keepvideo': False,
            'outtmpl': filename,
            'postprocessors': [{
                'key': 'FFmpegExtractAudio',
                'preferredcodec': 'mp3',
                'preferredquality': '192'
            }]
        }
            # This will convert from mp4 to mp3
        with youtube_dl.YoutubeDL(options) as ydl:
            ydl.download([video_info['webpage_url']]) 


except:
    print("ERROR")

You can ! In the shell, type this to init FFMPEG : ffmpeg After, you need to choice the ffmpeg to install, just press enter on the default choice. And there we go ! it is installed, if …

.css-19sk4h4{position:relative;}.css-1bu6gr6{-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border-width:0;border-style:solid;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;outline:none;min-height:0;min-width:0;position:relative;}.css-1n2m10r{padding:var(--space-8);border-radius:var(--border-radius-4);background-color:var(--background-higher);}.css-1hwur6u{-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border-width:0;border-style:solid;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;outline:none;min-height:0;min-width:0;padding:var(--space-8);border-radius:var(--border-radius-4);background-color:var(--background-higher);}.css-1svvr0w{height:0;}.css-rk73ff{padding:var(--space-4);padding-left:var(--space-4);padding-right:var(--space-2);font-family:var(--font-family-code);font-size:14px;line-height:var(--line-height-small);overflow-x:auto;tab-size:2;word-break:break-word;white-space:break-spaces;overflow-wrap:anywhere;}import os
video = 'video.mp4'
os.system(f'ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "{video}"')
.css-19sk4h4{position:relative;}.css-1bu6gr6{-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border-width:0;border-style:solid;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;outline:none;min-height:0;min-width:0;position:relative;}.css-1n2m10r{padding:var(--space-8);border-radius:var(--border-radius-4);background-color:var(--background-higher);}.css-1hwur6u{-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;border-width:0;border-style:solid;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;outline:none;min-height:0;min-width:0;padding:var(--space-8);border-radius:var(--border-radius-4);background-color:var(--background-higher);}.css-1svvr0w{height:0;}.css-rk73ff{padding:var(--space-4);padding-left:var(--space-4);padding-right:var(--space-2);font-family:var(--font-family-code);font-size:14px;line-height:var(--line-height-small);overflow-x:auto;tab-size:2;word-break:break-word;white-space:break-spaces;overflow-wrap:anywhere;}npm install ffmpeg-static --save

Applehelp

«ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.» I believe I may have installed ffmpeg in the wrong directory, but does that matter? Here …

export PATH=$PATH:~/ffmpeg
brew install youtube-dl ffmpeg
brew update && brew upgrade && brew cleanup
brew uninstall ffmpeg youtube-dl

Next Lesson PHP Tutorial

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

  • Печать

Страницы: 1 2 [3] 4  Все   Вниз

Тема: Скачать стрим с ютуба  (Прочитано 2868 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
Ubbuntu

ReNzRv, А можно поподробнее, как качал.. итп?

Ubuntu — древнее африканское слово, означающее «Я не могу настроить Debian и Arch».
©
Unity, XFCE, MATE. —мята x64 LTS 16.04, 18.04/Gentoo-XFCE


Оффлайн
ReNzRv

Ubbuntu,
Никак. Систему может просто обновлять надо… Какая у тебя?


Оффлайн
Ubbuntu

No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 18.04.3 LTS
Release:   18.04
Codename:   bionic

Написано вроде в подписи под аватаром.

Ubuntu — древнее африканское слово, означающее «Я не могу настроить Debian и Arch».
©
Unity, XFCE, MATE. —мята x64 LTS 16.04, 18.04/Gentoo-XFCE


Оффлайн
xub

После

sudo apt update ;sleep 5;sudo apt upgradeизменений никаких😞

Сейчас таки здесь буду искать ответ

ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one

2020 Feb 09; 03:00 PM

« Последнее редактирование: 09 Февраля 2020, 23:03:41 от xub »


Оффлайн
Ubbuntu

↓↓↓                  /home/fjf/Desktop
youtube-dl -f mp4 https://www.youtube.com/watch?v=59xjErTXWlE
[youtube] 59xjErTXWlE: Downloading webpage
[youtube] 59xjErTXWlE: Downloading video info webpage
[youtube] 59xjErTXWlE: Downloading m3u8 information
[youtube] 59xjErTXWlE: Downloading MPD manifest
[download] Destination: Счастливы вместе ВСЕ СЕРИИ _ БУКИНЫ HD-59xjErTXWlE.mp4
ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

А а меня вывод другой, на эту команду:
youtube-dl -f mp4 https://www.youtube.com/watch?v=59xjErTXWlE

И опять блин, скорость записи speed=0.141x   >:(

« Последнее редактирование: 09 Февраля 2020, 23:17:15 от Ubbuntu »

Ubuntu — древнее африканское слово, означающее «Я не могу настроить Debian и Arch».
©
Unity, XFCE, MATE. —мята x64 LTS 16.04, 18.04/Gentoo-XFCE


Оффлайн
ReNzRv

Ubbuntu,
Сори, неправду сказал. На убунте у меня точно так же не качается. youtube-dl у меня качал нормально в линуксе из приложения Termux в андроид. Думал и в убунте будет быть так же, но нет :(


Оффлайн
xub

Ubbuntu, смотрите:

Не было у меня ffmpeg , поставил без snap, качает, но скорости нет… Полтора мегабайта вот пока всего, но к этому давно пришёл по-моему автор темы ещё в начале😈😇, т.е. никуда мы не продвинулись😞, ОПЯТЬ В НАЧАЛО  :idiot2:
2020 Feb 09; 03:31 PM
А может здесь вражеский умысел тех кто видео размещает?  :idiot2:
2020 Feb 09; 03:34 PM

« Последнее редактирование: 09 Февраля 2020, 23:34:05 от xub »


Оффлайн
Ubbuntu

Ubuntu — древнее африканское слово, означающее «Я не могу настроить Debian и Arch».
©
Unity, XFCE, MATE. —мята x64 LTS 16.04, 18.04/Gentoo-XFCE


Оффлайн
xub

Думаю, Ubbuntu, для чистоты эксперимента нужно ещё ссылки, ссылка с того сайта не открывается у меня😕

2020 Feb 09; 03:47 PM
А вот эта открывается и мгновенно загружается.

Тоже A Decade of Ocean Exploration.
2020 Feb 09; 03:52 PM

« Последнее редактирование: 09 Февраля 2020, 23:52:20 от xub »


Оффлайн
ReNzRv

Ubbuntu,
Я думаю все это из-за ffmpeg. Попробуй поставить самый свежий из репы:

sudo add-apt-repository ppa:jonathonf/ffmpeg-4

sudo apt update

sudo apt install ffmpeg
xub,
Попробуйте заключить ссылку в одинарные кавычки.


Оффлайн
Ubbuntu

xub, Не открывается сайт?

А если так?

ReNzRv, Ещё чуть помучаю, и сделаю.

Ubuntu — древнее африканское слово, означающее «Я не могу настроить Debian и Arch».
©
Unity, XFCE, MATE. —мята x64 LTS 16.04, 18.04/Gentoo-XFCE


Оффлайн
xub

xub,
Попробуйте заключить ссылку в одинарные кавычки.

Не уверен, что это причина😞

This live stream recording is not available.

Тестовая ссылка stackoverflow.com  не открывается в браузере… ❰https://www.youtube.com/watch?v=6aXR-SL5L2o
2020 Feb 09; 04:18 PM

« Последнее редактирование: 10 Февраля 2020, 00:21:01 от xub »


Оффлайн
ReNzRv

xub,
Извините, не понял где у Вас не открывается, думал в терминале. Ваша ссылка открывается если убрать бэкслеш перед = но пишет «Запись этой трансляции недоступна»

« Последнее редактирование: 10 Февраля 2020, 00:30:27 от ReNzRv »


Оффлайн
xub

И в заключение😈 могу сказать, с терпением имеются проблемы, каждый может придумать себе оправдание сам, у меня, например, возрастная торопливость…😇 Ну БУКИНЫ, погодите, мы вас всех скачаем!!!

Читаем внимательно вывод терминала. Обнаруживаем длинную ссылку:

Скачиваем этот index.m3u8 и с удивлением обнаруживаем, что это лист ссылок из 5778 ссылок!!!

И вот youtubedl начинает их по мене своих сил скачивать :'(

В общем пока не появится человек, которые знает как это всё закачивается и есть ли какой-то способ обойти эти проблемы с кучей ссылок, БУКИНЫ😈 будут жить только в браузере :'(
2020 Feb 09; 05:41 PM


Оффлайн
Ubbuntu

И правда скачал, смотрю что-то непонятное.

Да букины это просто как пример стрима  :) Качать такое, никто не собирается.  ;D

Ubuntu — древнее африканское слово, означающее «Я не могу настроить Debian и Arch».
©
Unity, XFCE, MATE. —мята x64 LTS 16.04, 18.04/Gentoo-XFCE


  • Печать

Страницы: 1 2 [3] 4  Все   Вверх

Понравилась статья? Поделить с друзьями:
  • Error lvalue required as unary operand
  • Error lvalue required as left operand of assignment перевод
  • Error lvalue required as increment operand
  • Error lvalue required as decrement operand
  • Error lucky block