Comments (17)
"partially downloading" is not officially supported
The trick with ffmpeg only work for non-DASH formats. DASH downloads ignore external-downloader
. I am not entirely sure why this is, but I can't change it without potentially breaking it either.
There is another workaround by using ffmpeg directly, but even that doesn't seem to work for this video
$ youtube-dl --get-filename FoRlmsroon0
Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].webm
$ youtube-dl --get-url FoRlmsroon0
https://manifest.googlevideo.com/api/manifest/dash/expire/1612543615/ei/HyIdYOjtGL7I4-EPjrWayAE/ip/2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab/id/1684659acae8a27d/source/youtube/requiressl/yes/playback_host/r4---sn-gwpa-jjwe.googlevideo.com/mh/6d/mm/31%2C29/mn/sn-gwpa-jjwe%2Csn-gwpa-h55y/ms/au%2Crdu/mv/m/mvi/4/pl/38/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/205000/vprv/1/mt/1612521639/fvip/4/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhANDucvfqvmZ2eV_zswKgDDyEIQxCwQGJqTfyM_d7rp3CAiEAyWn_PJq5ivuBSfSCMA1ytQJAasZ7_OrWfwEq2JpxuQw%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgC5w1M1bcwT7VGca_584-vtF-hzNhoKsKCdqquBYDDQUCIBYTcc0yHNZqlhuiqwoElYeLAA6iU0ovkv7YqKkU259k
https://manifest.googlevideo.com/api/manifest/dash/expire/1612543615/ei/HyIdYOjtGL7I4-EPjrWayAE/ip/2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab/id/1684659acae8a27d/source/youtube/requiressl/yes/playback_host/r4---sn-gwpa-jjwe.googlevideo.com/mh/6d/mm/31%2C29/mn/sn-gwpa-jjwe%2Csn-gwpa-h55y/ms/au%2Crdu/mv/m/mvi/4/pl/38/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/205000/vprv/1/mt/1612521639/fvip/4/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhANDucvfqvmZ2eV_zswKgDDyEIQxCwQGJqTfyM_d7rp3CAiEAyWn_PJq5ivuBSfSCMA1ytQJAasZ7_OrWfwEq2JpxuQw%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgC5w1M1bcwT7VGca_584-vtF-hzNhoKsKCdqquBYDDQUCIBYTcc0yHNZqlhuiqwoElYeLAA6iU0ovkv7YqKkU259k
$ set "url1=https://manifest.googlevideo.com/api/manifest/dash/expire/1612543615/ei/HyIdYOjtGL7I4-EPjrWayAE/ip/2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab/id/1684659acae8a27d/source/youtube/requiressl/yes/playback_host/r4---sn-gwpa-jjwe.googlevideo.com/mh/6d/mm/31%2C29/mn/sn-gwpa-jjwe%2Csn-gwpa-h55y/ms/au%2Crdu/mv/m/mvi/4/pl/38/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/205000/vprv/1/mt/1612521639/fvip/4/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhANDucvfqvmZ2eV_zswKgDDyEIQxCwQGJqTfyM_d7rp3CAiEAyWn_PJq5ivuBSfSCMA1ytQJAasZ7_OrWfwEq2JpxuQw%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgC5w1M1bcwT7VGca_584-vtF-hzNhoKsKCdqquBYDDQUCIBYTcc0yHNZqlhuiqwoElYeLAA6iU0ovkv7YqKkU259k"
$ set "url2=https://manifest.googlevideo.com/api/manifest/dash/expire/1612543615/ei/HyIdYOjtGL7I4-EPjrWayAE/ip/2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab/id/1684659acae8a27d/source/youtube/requiressl/yes/playback_host/r4---sn-gwpa-jjwe.googlevideo.com/mh/6d/mm/31%2C29/mn/sn-gwpa-jjwe%2Csn-gwpa-h55y/ms/au%2Crdu/mv/m/mvi/4/pl/38/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/205000/vprv/1/mt/1612521639/fvip/4/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhANDucvfqvmZ2eV_zswKgDDyEIQxCwQGJqTfyM_d7rp3CAiEAyWn_PJq5ivuBSfSCMA1ytQJAasZ7_OrWfwEq2JpxuQw%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgC5w1M1bcwT7VGca_584-vtF-hzNhoKsKCdqquBYDDQUCIBYTcc0yHNZqlhuiqwoElYeLAA6iU0ovkv7YqKkU259k"
$ ffmpeg -hide_banner -loglevel warning -stats -ss 0:10 -to 1:0 "%url1%" -ss 0:10 -to 1:0 -i "%url2%" "file:Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].mkv"
[dash @ 0000025dcecbfe80] Manifest too large: 3638990
https://manifest.googlevideo.com/api/manifest/dash/expire/1612543615/ei/HyIdYOjtGL7I4-EPjrWayAE/ip/2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab/id/1684659acae8a27d/source/youtube/requiressl/yes/playback_host/r4---sn-gwpa-jjwe.googlevideo.com/mh/6d/mm/31%2C29/mn/sn-gwpa-jjwe%2Csn-gwpa-h55y/ms/au%2Crdu/mv/m/mvi/4/pl/38/hfr/all/as/fmp4_audio_clear%2Cwebm_audio_clear%2Cwebm2_audio_clear%2Cfmp4_sd_hd_clear%2Cwebm2_sd_hd_clear/initcwndbps/205000/vprv/1/mt/1612521639/fvip/4/keepalive/yes/itag/0/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cas%2Cvprv%2Citag/sig/AOq0QJ8wRgIhANDucvfqvmZ2eV_zswKgDDyEIQxCwQGJqTfyM_d7rp3CAiEAyWn_PJq5ivuBSfSCMA1ytQJAasZ7_OrWfwEq2JpxuQw%3D/lsparams/playback_host%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps/lsig/AG3C_xAwRAIgC5w1M1bcwT7VGca_584-vtF-hzNhoKsKCdqquBYDDQUCIBYTcc0yHNZqlhuiqwoElYeLAA6iU0ovkv7YqKkU259k: Invalid data found when processing input
I've wanted to add partial download feature, but I honestly can't figure out a reliable way to do it
from yt-dlp.
I am converting this into a feature request for easier reference
from yt-dlp.
Yes, for now, that's the only workaround I know of.
Btw, you should disable sponskrub when downloading only a part. sponskrub will mark wrong sections coz the video doesn't start at 0 sec
from yt-dlp.
As per https://stackoverflow.com/questions/63435723/ffmpeg-manifest-too-large-when-downloading-youtube-video#63465093, the issue is that youtube has not yet processed the video into non-DASH format. You should be able to download it after a day or so
I can also confirm that the curl
workaround in that post works
Edit: The video seems to be quite old. So I doubt just waiting another day or two is going to fix the issue. Seems like youtube no longer converts it (or youtube-dl cant find the converted URL)
from yt-dlp.
That's a pity...
So the workaround in this case would be to download the -f 22
format (1280x720), like for example:
youtube-dlc https://www.youtube.com/watch?v=FoRlmsroon0 -v -x -k -f 22 --external-downloader ffmpeg --external-downloader-args "-ss 01:10:00 -to 01:10:20"
This works.
Formats:
youtube-dlc -F https://www.youtube.com/watch?v=FoRlmsroon0
[youtube] FoRlmsroon0: Downloading webpage
[youtube] FoRlmsroon0: Downloading MPD manifest
[info] Available formats for FoRlmsroon0:
ID EXT RESOLUTION FPS | FILESIZE TBR PROTO | VCODEC VBR ACODEC ABR ASR NOTE
--- ---- ---------- --- - ---------- ----- ----- - ----------- ----- --------- ---- ------- ------------------------------
139 m4a audio only | 159.07MiB 76k dash | mp4a.40.5 76k 22050Hz DASH audio, m4a_dash, 22050Hz
140 m4a audio only | 422.18MiB 156k dash | mp4a.40.2 156k 44100Hz DASH audio, m4a_dash, 44100Hz
251 webm audio only | 434.61MiB 175k dash | opus 175k 48000Hz DASH audio, webm_dash, 48000Hz
160 mp4 256x144 30 | 108k dash | avc1.4d400b 108k DASH video, mp4_dash
278 webm 256x144 30 | 95k dash | vp9 95k DASH video, webm_dash
133 mp4 426x240 30 | 242k dash | avc1.4d400c 242k DASH video, mp4_dash
242 webm 426x240 30 | 220k dash | vp9 220k DASH video, webm_dash
134 mp4 640x360 30 | 669.77MiB 656k dash | avc1.4d401e 656k DASH video, mp4_dash
18 mp4 640x360 30 | 1.14GiB 359k https | avc1.42001E 359k mp4a.40.2 0k 44100Hz 360p, 44100Hz
243 webm 640x360 30 | 405k dash | vp9 405k DASH video, webm_dash
135 mp4 854x480 30 | 1155k dash | avc1.4d4014 1155k DASH video, mp4_dash
244 webm 854x480 30 | 752k dash | vp9 752k DASH video, webm_dash
136 mp4 1280x720 30 | 2310k dash | avc1.4d4016 2310k DASH video, mp4_dash
22 mp4 1280x720 30 | 736k https | avc1.64001F 736k mp4a.40.2 0k 44100Hz 720p, 44100Hz
247 webm 1280x720 30 | 1505k dash | vp9 1505k DASH video, webm_dash
298 mp4 1280x720 60 | 3465k dash | avc1.4d4016 3465k DASH video, mp4_dash
302 webm 1280x720 60 | 2646k dash | vp9 2646k DASH video, webm_dash
299 mp4 1920x1080 60 | 3.66GiB 6645k dash | avc1.64002a 6645k DASH video, mp4_dash
303 webm 1920x1080 60 | 4410k dash | vp9 4410k DASH video, webm_dash
from yt-dlp.
Adding a --youtube-skip-dash-manifest
works. I will investigate further.
youtube-dlc -v --external-downloader ffmpeg --downloader-args "-ss 01:10:00 -to 01:10:20" --youtube-skip-dash-manifest -- FoRlmsroon0
Edit: Sorry, it doesnt work. The download starts with ffmpeg, but then errors out
from yt-dlp.
Adding a
--youtube-skip-dash-manifest
works. I will investigate further.youtube-dlc -v --external-downloader ffmpeg --downloader-args "-ss 01:10:00 -to 01:10:20" --youtube-skip-dash-manifest -- FoRlmsroon0
Edit: Sorry, it doesnt work. The download starts with ffmpeg, but then errors out
youtube-dlc https://www.youtube.com/watch?v=FoRlmsroon0 -v --youtube-skip-dash-manifest -x -k --external-downloader ffmpeg --external-downloader-args "-ss 01:10:00 -to 01:10:20"
Worked here...
from yt-dlp.
The audio download is working. Since you are using -x
, that's all you need. I can't get the video using this method.
$ youtube-dl https://www.youtube.com/watch?v=FoRlmsroon0 -v --youtube-skip-dash-manifest -x -k --external-downloader ffmpeg --external-downloader-args "-ss 01:10:00 -to 01:10:20"
[debug] Command-line config: ['https://www.youtube.com/watch?v=FoRlmsroon0', '-v', '--youtube-skip-dash-manifest', '-x', '-k', '--external-downloader', 'ffmpeg', '--external-downloader-args', '-ss 01:10:00 -to 01:10:20']
WARNING: --external-downloader-args given without specifying name. The arguments will be given to all external downloaders
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.02.04
[debug] Plugin Extractors: ['SamplePlugin']
[debug] Git HEAD: 885d36d4e
[debug] Python version 3.8.4 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 4.3.1-2020-11-19-full_build-www.gyan.dev, ffprobe 4.3.1-2020-11-19-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] FoRlmsroon0: Downloading webpage
[debug] Sort order given by user:
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9(9), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] Downloading format(s) 303+251
[debug] Invoking downloader on 'https://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=303&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=yt_otf&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=video%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&otf=1&otfp=1&dur=0.000&lmt=1572921815247141&mt=1612526684&fvip=4&keepalive=yes&c=WEB&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cotf%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgEgNGFFzI0RWyd9DLtmbqw-nkt_G3DklxtXce8qQgt7wCIQDWIDh6xEe-Gs4XRoadPa9hf1JVqDJ5GU9e7N71hmzpcw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D'
[download] Destination: Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].f303.webm
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -ss "01:10:00" -to "01:10:20" -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.101 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://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=303&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=yt_otf&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=video%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&otf=1&otfp=1&dur=0.000&lmt=1572921815247141&mt=1612526684&fvip=4&keepalive=yes&c=WEB&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cotf%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgEgNGFFzI0RWyd9DLtmbqw-nkt_G3DklxtXce8qQgt7wCIQDWIDh6xEe-Gs4XRoadPa9hf1JVqDJ5GU9e7N71hmzpcw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D" -c copy -f webm "file:Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].f303.webm.part"
ffmpeg version 4.3.1-2020-11-19-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
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
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[tcp @ 000001cd4dfb4a00] Starting connection attempt to 2405:200:1630:ff0c::f port 443
[tcp @ 000001cd4dfb4a00] Successfully connected to 2405:200:1630:ff0c::f port 443
[tcp @ 000001cd4e5031c0] Starting connection attempt to 2405:200:1630:ff0c::c port 443
[tcp @ 000001cd4e5031c0] Successfully connected to 2405:200:1630:ff0c::c port 443
[https @ 000001cd4dfb13c0] HTTP error 404 Not Found
https://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=303&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=yt_otf&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=video%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&otf=1&otfp=1&dur=0.000&lmt=1572921815247141&mt=1612526684&fvip=4&keepalive=yes&c=WEB&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cotf%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgEgNGFFzI0RWyd9DLtmbqw-nkt_G3DklxtXce8qQgt7wCIQDWIDh6xEe-Gs4XRoadPa9hf1JVqDJ5GU9e7N71hmzpcw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D: Server returned 404 Not Found
ERROR: ffmpeg exited with code 1
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\__main__.py", line 19, in <module>
youtube_dlc.main()
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\__init__.py", line 539, in main
_real_main(argv)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\__init__.py", line 529, in _real_main
retcode = ydl.download(all_urls)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 2467, in download
res = self.extract_info(
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 997, in extract_info
return self.__extract_info(url, ie, download, extra_info, process, info_dict)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 1004, in wrapper
return func(self, *args, **kwargs)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 1041, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 1073, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 1943, in process_video_result
self.process_info(new_info)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 2350, in process_info
partial_success, real_download = dl(fname, new_info)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 2120, in dl
return fd.download(name, info, subtitle)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\downloader\common.py", line 375, in download
return self.real_download(filename, info_dict), True
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\downloader\external.py", line 64, in real_download
self.report_error('%s exited with code %d' % (
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\downloader\common.py", line 165, in report_error
self.ydl.report_error(*args, **kargs)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 723, in report_error
self.trouble(error_message, tb)
File "D:\AKJ\Progs\yt-dlc\youtube_dlc\YoutubeDL.py", line 685, in trouble
tb_data = traceback.format_list(traceback.extract_stack())
[debug] Invoking downloader on 'https://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=audio%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612526684&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIhfD4lsCpbudu-N1_S_3bC7V4Aa3CHYT8ijg-NqFqI0AiEAzuVCnELZzOJmf0J1iHKWSYLi4ludn6AzQIOFi6T3KUQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D'
[download] Destination: Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].f251.webm
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -ss "01:10:00" -to "01:10:20" -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.101 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://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=audio%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612526684&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIhfD4lsCpbudu-N1_S_3bC7V4Aa3CHYT8ijg-NqFqI0AiEAzuVCnELZzOJmf0J1iHKWSYLi4ludn6AzQIOFi6T3KUQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D" -c copy -f webm "file:Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].f251.webm.part"
ffmpeg version 4.3.1-2020-11-19-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
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
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[tcp @ 000001887f8749c0] Starting connection attempt to 2405:200:1630:ff0c::f port 443
[tcp @ 000001887f8749c0] Successfully connected to 2405:200:1630:ff0c::f port 443
[tcp @ 000001887f874100] Starting connection attempt to 2405:200:1630:ff0c::c port 443
[tcp @ 000001887f874100] Successfully connected to 2405:200:1630:ff0c::c port 443
[tcp @ 000001887f949c80] Starting connection attempt to 2405:200:1630:ff0c::c port 443
[tcp @ 000001887f949c80] Successfully connected to 2405:200:1630:ff0c::c port 443
Input #0, matroska,webm, from 'https://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=audio%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612526684&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIhfD4lsCpbudu-N1_S_3bC7V4Aa3CHYT8ijg-NqFqI0AiEAzuVCnELZzOJmf0J1iHKWSYLi4ludn6AzQIOFi6T3KUQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D':
Metadata:
encoder : google/video-file
Duration: 07:35:53.62, start: -0.007000, bitrate: 133 kb/s
Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Output #0, webm, to 'file:Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].f251.webm.part':
Metadata:
encoder : Lavf58.45.100
Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
size= 488kB time=00:00:19.98 bitrate= 199.9kbits/s speed= 248x
video:0kB audio:477kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.285388%
Input file #0 (https://r4---sn-gwpa-jjwe.googlevideo.com/videoplayback?expire=1612548563&ei=czUdYNvsJouHjuMP-oeE2Ao&ip=2405%3A201%3Af003%3Ab167%3A3123%3A7151%3Ac475%3A88ab&id=o-AP2WNMloLq0do3s67Y4mxuEfEQtLkAfiJqkkDV6g3rhG&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C29&mn=sn-gwpa-jjwe%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=4&pl=38&initcwndbps=237500&vprv=1&mime=audio%2Fwebm&ns=jMAxjbQSTV1KtA0BvNdqRHUF&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612526684&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=-3h-BlXwYfSPq0BV6&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIhfD4lsCpbudu-N1_S_3bC7V4Aa3CHYT8ijg-NqFqI0AiEAzuVCnELZzOJmf0J1iHKWSYLi4ludn6AzQIOFi6T3KUQ%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIZg3NeyT2e_s4oDS0Xk_Apdad9UyL-mblUdNwfRRixTAiEAh-LDyll-7PjzNEcQdUBiO8XrBp19etLw2nLwIKtfR4Q%3D):
Input stream #0:0 (audio): 1500 packets read (488419 bytes);
Total: 1500 packets (488419 bytes) demuxed
Output file #0 (file:Longplay - Pokemon Platinum (Part 1 of 3) [FoRlmsroon0].f251.webm.part):
Output stream #0:0 (audio): 1499 packets muxed (488101 bytes);
Total: 1499 packets (488101 bytes) muxed
[AVIOContext @ 00000188017a22c0] Statistics: 2 seeks, 3 writeouts
[AVIOContext @ 000001887f92e440] Statistics: 573440 bytes read, 1 seeks
[ffmpeg] Downloaded 499256 bytes
[download] 100% of 487.55KiB in 00:01
from yt-dlp.
I do get the video with the same command, but only with my custom config.
[debug] User config: ['--list-formats-as-table', '-i', '-o', '/dev/shm/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--add-metadata', '--embed-thumbnail', '--force-ipv4', '--no-sponskrub', '--cookies', '/home/nico/.config/yt-dlp/cookies.txt']
Doing --ignore-config
results in the same output you showed.
from yt-dlp.
bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best
This selects format 299, which does indeed work. 303 still doesn't work. Even with the curl trick, when I try to specifically get the 303 format, youtube sends a 404 error. It seems the non-DASH 303 format has some extra protection.
Probably related: ytdl-org/youtube-dl@1641b13 ytdl-org/youtube-dl@7215691 ytdl-org/youtube-dl#28070
from yt-dlp.
With upstream youtube-dl compiled from master just now, this works again:
ytd https://www.youtube.com/watch?v=FoRlmsroon0 -v --ignore-config --youtube-skip-dash-manifest -x -k --external-downloader ffmpeg --external-downloader-args "-ss 01:10:00 -to 01:10:20"
.
Because it chooses the -f 299
format instead of the -f 303
one, I guess?.
ytd https://www.youtube.com/watch?v=FoRlmsroon0 -v --ignore-config --youtube-skip-dash-manifest -x -k --external-downloader ffmpeg --external-downloader-args "-ss 01:10:00 -to 01:10:20"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=FoRlmsroon0', '-v', '--ignore-config', '--youtube-skip-dash-manifest', '-x', '-k', '--external-downloader', 'ffmpeg', '--external-downloader-args', '-ss 01:10:00 -to 01:10:20']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.02.05
[debug] Python version 3.6.9 (CPython) - Linux-5.4.0-65-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg N-100550-gfde5593-Nico-20210104, ffprobe N-100550-gfde5593-Nico-20210104
[debug] Proxy map: {}
[youtube] FoRlmsroon0: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=299&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=video%2Fmp4&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=3927360325&otfp=1&dur=27353.596&lmt=1572921815247141&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2216222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgA3wcpT-IO9g0j6fxtvcqbMxMulmaRbJaFrdqk-2rHrsCIQCw9hc7axUIX0r9L8-IkBQXSZbSJL5pBibKkZjQt1dRXg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k'
[download] Destination: Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f299.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -ss 01:10:00 -to 01:10:20 -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.122 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://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=299&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=video%2Fmp4&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=3927360325&otfp=1&dur=27353.596&lmt=1572921815247141&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2216222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgA3wcpT-IO9g0j6fxtvcqbMxMulmaRbJaFrdqk-2rHrsCIQCw9hc7axUIX0r9L8-IkBQXSZbSJL5pBibKkZjQt1dRXg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k' -c copy -f mp4 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f299.mp4.part'
ffmpeg version N-100550-gfde5593-Nico-20210104 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/home/nico/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/nico/ffmpeg_build/include --extra-ldflags=-L/home/nico/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/nico/bin --extra-version=Nico-20210104 --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-openssl --enable-nonfree
libavutil 56. 63.100 / 56. 63.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.101 / 58. 65.101
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 95.100 / 7. 95.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
[tcp @ 0x55cd1c3bfb00] Starting connection attempt to 172.217.132.73 port 443
[tcp @ 0x55cd1c3bfb00] Successfully connected to 172.217.132.73 port 443
[h264 @ 0x55cd1c3f6480] Reinit context to 1920x1088, pix_fmt: yuv420p
[tcp @ 0x55cd1c46d340] Starting connection attempt to 172.217.132.73 port 443
[tcp @ 0x55cd1c46d340] Successfully connected to 172.217.132.73 port 443
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=299&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=video%2Fmp4&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=3927360325&otfp=1&dur=27353.596&lmt=1572921815247141&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2216222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgA3wcpT-IO9g0j6fxtvcqbMxMulmaRbJaFrdqk-2rHrsCIQCw9hc7axUIX0r9L8-IkBQXSZbSJL5pBibKkZjQt1dRXg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2019-11-05T02:31:48.000000Z
Duration: 07:35:53.60, start: 0.000000, bitrate: 1148 kb/s
Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 0 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
creation_time : 2019-11-05T02:31:48.000000Z
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
Output #0, mp4, to 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f299.mp4.part':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
encoder : Lavf58.65.101
Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(tv, bt709, progressive, left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 0 kb/s, 60 fps, 60 tbr, 15360 tbn, 15360 tbc (default)
Metadata:
creation_time : 2019-11-05T02:31:48.000000Z
handler_name : ISO Media file produced by Google Inc.
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=-1.0 size= 0kB time=-00:00:04.81 bitrate=N/A speed=Nframe= 1455 fps=0.0 q=-1.0 size= 2816kB time=00:00:19.41 bitrate=1188.1kbits/No more output streams to write to, finishing.
Not writing 'clli' atom. No content light level info.
Not writing 'mdcv' atom. Missing mastering metadata.
frame= 1489 fps=0.0 q=-1.0 Lsize= 3299kB time=00:00:19.98 bitrate=1352.2kbits/s speed=36.3x
video:3289kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.299649%
Input file #0 (https://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=299&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278%2C298%2C299%2C302%2C303&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=video%2Fmp4&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=3927360325&otfp=1&dur=27353.596&lmt=1572921815247141&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2216222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgA3wcpT-IO9g0j6fxtvcqbMxMulmaRbJaFrdqk-2rHrsCIQCw9hc7axUIX0r9L8-IkBQXSZbSJL5pBibKkZjQt1dRXg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k):
Input stream #0:0 (video): 1490 packets read (3375041 bytes);
Total: 1490 packets (3375041 bytes) demuxed
Output file #0 (file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f299.mp4.part):
Output stream #0:0 (video): 1489 packets muxed (3367604 bytes);
Total: 1489 packets (3367604 bytes) muxed
[AVIOContext @ 0x55cd1c3f9040] Statistics: 2 seeks, 16 writeouts
[AVIOContext @ 0x55cd1c3f5300] Statistics: 3502858 bytes read, 1 seeks
[ffmpeg] Downloaded 3377695 bytes
[download] 100% of 3.22MiB in 00:00
[debug] Invoking downloader on 'https://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=audio%2Fwebm&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIVjXt5gDNecH71mqwz5Y-cMA_gasypKJ013ReA-X1pWAiEA50mUtEHDDpoAi_Zxer05Fw-WLJOzcNrYkxnAGjx3104%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k'
[download] Destination: Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f251.webm
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -ss 01:10:00 -to 01:10:20 -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.122 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://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=audio%2Fwebm&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIVjXt5gDNecH71mqwz5Y-cMA_gasypKJ013ReA-X1pWAiEA50mUtEHDDpoAi_Zxer05Fw-WLJOzcNrYkxnAGjx3104%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k' -c copy -f webm 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f251.webm.part'
ffmpeg version N-100550-gfde5593-Nico-20210104 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/home/nico/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/nico/ffmpeg_build/include --extra-ldflags=-L/home/nico/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/nico/bin --extra-version=Nico-20210104 --enable-gpl --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-openssl --enable-nonfree
libavutil 56. 63.100 / 56. 63.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.101 / 58. 65.101
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 95.100 / 7. 95.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
[tcp @ 0x557f2a7219c0] Starting connection attempt to 172.217.132.73 port 443
[tcp @ 0x557f2a7219c0] Successfully connected to 172.217.132.73 port 443
[tcp @ 0x557f2a7f0000] Starting connection attempt to 172.217.132.73 port 443
[tcp @ 0x557f2a7f0000] Successfully connected to 172.217.132.73 port 443
Input #0, matroska,webm, from 'https://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=audio%2Fwebm&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIVjXt5gDNecH71mqwz5Y-cMA_gasypKJ013ReA-X1pWAiEA50mUtEHDDpoAi_Zxer05Fw-WLJOzcNrYkxnAGjx3104%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k':
Metadata:
encoder : google/video-file
Duration: 07:35:53.62, start: -0.007000, bitrate: 133 kb/s
Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Output #0, webm, to 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f251.webm.part':
Metadata:
encoder : Lavf58.65.101
Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp, delay 312 (default)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.speed=N/A
size= 488kB time=00:00:19.98 bitrate= 199.9kbits/s speed= 238x
video:0kB audio:477kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.285388%
Input file #0 (https://r4---sn-5hne6nsr.googlevideo.com/videoplayback?expire=1612554537&ei=yUwdYOiALcbk-gb3y4zQCQ&ip=<REDACTED>&id=o-AMj9wcgoZREjTUGe66CbwSIgRZ6pHADeRResZ5T1quxD&itag=251&source=youtube&requiressl=yes&mh=6d&mm=31%2C26&mn=sn-5hne6nsr%2Csn-4g5e6nz7&ms=au%2Conr&mv=m&mvi=4&pl=15&initcwndbps=1866250&vprv=1&mime=audio%2Fwebm&ns=WOpZUBV541oy914QhLteo54F&gir=yes&clen=455717854&otfp=1&dur=27353.621&lmt=1572921788922566&mt=1612532447&fvip=4&keepalive=yes&c=WEB&txp=2211222&n=rH_YM4pKOaZ5C6X9L&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAIVjXt5gDNecH71mqwz5Y-cMA_gasypKJ013ReA-X1pWAiEA50mUtEHDDpoAi_Zxer05Fw-WLJOzcNrYkxnAGjx3104%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgB1yIjRaFHmt0BP9K3ZPGYMKZLMGkY-LDU0bP7aewMbQCICJuoTneiK8CS0pGXo3Xqbc-fidXAqDUO2d-jRbALo3k):
Input stream #0:0 (audio): 1500 packets read (488419 bytes);
Total: 1500 packets (488419 bytes) demuxed
Output file #0 (file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f251.webm.part):
Output stream #0:0 (audio): 1499 packets muxed (488101 bytes);
Total: 1499 packets (488101 bytes) muxed
[AVIOContext @ 0x557f2a75d880] Statistics: 2 seeks, 3 writeouts
[AVIOContext @ 0x557f2a757180] Statistics: 573440 bytes read, 1 seeks
[ffmpeg] Downloaded 499256 bytes
[download] 100% of 487.55KiB in 00:00
[ffmpeg] Merging formats into "Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f299.mp4' -i 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.temp.mkv'
[debug] ffmpeg command line: ffprobe -show_streams 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.mkv'
[ffmpeg] Destination: Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.opus
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.mkv' -vn -acodec copy 'file:Longplay - Pokemon Platinum (Part 1 of 3)-FoRlmsroon0.opus'
from yt-dlp.
Yes, ytdl-org/youtube-dl@1641b13 disables the un-downloadable formats from appearing
from yt-dlp.
(Offtopic)
Just FYI, your IPv6 address is visible in the verbose output (*.googlevideo.com
link)...
You might want to replace it with something like [REDACTED].
from yt-dlp.
I am aware and personally don't care. There is no information that you can get from my public IP that I am not willing to publicly disclose
from yt-dlp.
Related: ytdl-org/youtube-dl#8851 (for reference)
from yt-dlp.
No idea if this is helpful/known, but this hangs (I assume trying to download the whole video)
yt-dlp -f bestaudio --external-downloader ffmpeg --external-downloader-args "-ss 05:18:53.00 -to 05:21:00.00" <url>
while this does not:
youtube-dl -f bestaudio --external-downloader ffmpeg --external-downloader-args "-ss 05:18:53.00 -to 05:21:00.00" <url>
versions:
youtube-dl version 2021.06.06
yt-dlp version 2021.08.10
from yt-dlp.
No idea if this is helpful/known, but this hangs (I assume trying to download the whole video)
yt-dlp -f bestaudio --external-downloader ffmpeg --external-downloader-args "-ss 05:18:53.00 -to 05:21:00.00" <url>
while this does not:
youtube-dl -f bestaudio --external-downloader ffmpeg --external-downloader-args "-ss 05:18:53.00 -to 05:21:00.00" <url>
versions: youtube-dl version 2021.06.06 yt-dlp version 2021.08.10
And when you do:
yt-dlp -x -f bestaudio --external-downloader ffmpeg --external-downloader-args "ffmpeg_i:-ss 05:18:53.00 -to 05:21:00.00" <url>
?
(first update to the newest version:
https://github.com/yt-dlp/yt-dlp/releases/tag/2021.11.10.1)
[Edit]
In yt-dlp release 2021.09.02 this was added:
[downloader/ffmpeg] Experimental support for DASH manifests (including live)
Your ffmpeg must have this patch applied for YouTube DASH to work
[downloader/ffmpeg] Allow passing custom arguments before
-i
from yt-dlp.
Related Issues (20)
- [SRGSSR] the only audio track downloaded is the audio description track, instead of the default HOT 4
- Compiling yt-dlp to Android ¿Any attempts? HOT 2
- [youtube] Upload date being wrong by one day HOT 15
- Unable to download links from mypikpak.com HOT 2
- Request add support for pmvhaven.com HOT 1
- ytdlp scrape comments and replies no longer work , whats the fixed code now? HOT 4
- Populate fields for match-filter and in the json output HOT 4
- The current yt-dlp code does not know the maximum resolutions of "oar", "maxres" thumbnails for youtube shorts and albums (thumbnails with side stripes).
- incorrect bestvideo filtered choice HOT 3
- Not downloading or merging of high quality videos HOT 1
- Trouble Downloading MP4 URLs with HTTPS Protocol on PornHub Website: Unauthorized Error HOT 13
- Correction of backslashes in MPD file URLs HOT 3
- `--simulate` doesn't accurately simulate downloading under certain conditions HOT 5
- Add support for podcasters.spotify.com
- [youtube] Availability tag doesn't work as intented HOT 4
- Support request: https://swerollingtv.org HOT 2
- [Patreon] downloads one of the attachments instead of the video
- [youtube] Intermittent `[requests] Unexpected error: EncoderStreamError: unable to encode headers` HOT 10
- Support Request: https://watch.telusoriginals.com (Telus Originals)
- No Subtitles downloaded for Tubi.tv HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp.