Jump to content

Who here has a Youtube-DL compile for WinXP?


j7n

Recommended Posts

On 2/28/2023 at 4:54 PM, nicolaasjan said:

YouTube changed something...
Downloads are now very slow.

On 2/28/2023 at 8:45 PM, nicolaasjan said:

Pushed a release (only yt-dlp) with the latest fixes from upstream.
Download speed should be back to normal now.

... "upstream" : youtube-dl (the original project); yt-dlp : "downstream" (the fork) :P ...

For a fix from "upstream" ;) , check this (and posted comments); WFM :thumbup !

Link to comment
Share on other sites


Google has entered trolling mode at 31 kB/s. I'd still rather watch a video the next day than view advertisements every 5 minutes with 100% CPU usage. The last version lasted several months, now a fix is needed already after a week.

Link to comment
Share on other sites

45 minutes ago, j7n said:

Google has entered trolling mode at 31 kB/s. I'd still rather watch a video the next day than view advertisements every 5 minutes with 100% CPU usage. The last version lasted several months, now a fix is needed already after a week.

Just a few seconds ago, I uploaded a fixed version of youtube-dl.

(fix is not yet committed; got it from a test branch of the main developer)

Yt-dlp was fixed earlier.

See signature.

Could you please test?

Here on Windows Vista:

[download]   3.5% of ~3.06GiB at 11.73MiB/s ETA 04:44

 

Edited by nicolaasjan
Link to comment
Share on other sites

1 hour ago, j7n said:

I'd still rather watch a video the next day than view advertisements every 5 minutes with 100% CPU usage.

:thumbup

59 minutes ago, nicolaasjan said:

I uploaded a fixed version of youtube-dl.

(fix is not yet committed; got it from a test branch of the main developer)

Thanks! ;) :P :worship:

Link to comment
Share on other sites

5 hours ago, nicolaasjan said:

Could you please test?

... It seems most evil Google :realmad::realmad::realmad: have again patched this :( ; I now get:

yt-dl -f 140-1 "p7FCgw_GlWc" =>

[youtube] p7FCgw_GlWc: Downloading webpage
[youtube] Confirming age
[youtube] p7FCgw_GlWc: Downloading API JSON
[dashsegments] Total fragments: 1
[download] Destination: Kanye West - Famous-p7FCgw_GlWc.m4a
[download]   7.7% of ~9.83MiB at 50.70KiB/s ETA 01:06
ERROR: Interrupted by user
Terminate batch job (Y/N)? y

... Was fine earlier today, with a patched youtube-dl build of mine... yt-dlp is also affected now  :( ...

Had you been a fan of SNL's "Church Lady" in the mid-80s to 90s? Google are indeed "SATAN" :angry: (and are obviously keeping a keen eye on the yt-dlp/yt-dl repos) ...

Edited by VistaLover
Link to comment
Share on other sites

Whatever it is, thanks for your work.

Waiting for the fix from upstreams or whatever :)

I found recently your XP build and I really enjoyed it :)
Link to comment
Share on other sites

5 hours ago, nicolaasjan said:

Follow this issue regarding throttling being back again in a number of cases.

At this point, I would like to say thanks for all your efforts in building XP- compatible versions of youtube-dl and yt-dlp. I use your builds for a longer time, and they are great. :thumbup Hopefully, this permanent throttling issue can be fixed again. For that, I totally agree with @VistaLover. I hate Google for all these unnecessary changes. :realmad:

Edited by AstroSkipper
Link to comment
Share on other sites

Just wanted to add my voice to this.  nicolaasjan, you are a saint for providing these XP-compatible compiles of ytdl and ytdlp.  Thank you so very much!

Edit: FYI, while reading https://github.com/dirkf/youtube-dl/commit/b0b53e892, I noticed3 Vangelis66's comment asking if anyone has "noticed that the audio-only formats now come in *-0 and *-1 variants."   If you want to pass this along to him, the -0 formats are the video's original audio, and the -1 formats are the original audio processed by Youtube to add compression and limiting for volume leveling.  Here for example are what the waveforms for videoID p7FCgw_GlWc look like in the 140-0 and 140-1 streams:

140-0:

sjqjiv.png

140-1:

5ykalm.png

As you can see, the second one is exactly the same soundtrack, but has lots of amplification of quiet parts and deamplification of the loudest parts to create a more level volume from start to finish.

If you want to pass this information along to that github thread (and/or the youtube-dlp/dl developers), feel free.  I only discovered this just this minute, so it's possibly they don't yet know.

 

 

Edited by displayed name
Link to comment
Share on other sites

5 hours ago, displayed name said:

I noticed3 Vangelis66's comment asking if anyone has "noticed that the audio-only formats now come in *-0 and *-1 variants."   If you want to pass this along to him, the -0 formats are the video's original audio, and the -1 formats are the original audio processed by Youtube to add compression and limiting for volume leveling.

I don't see *-0 and *-1 variants.

Tried with the video p7FCgw_GlWc (from Vangelis66 (a.k.a. @VistaLover) comment and got these formats offered:

yt-dlp -F p7FCgw_GlWc
Removing cache dir /home/nico/.cache/yt-dlp ...
[youtube] Extracting URL: p7FCgw_GlWc
[youtube] p7FCgw_GlWc: Downloading webpage
[youtube] p7FCgw_GlWc: Downloading android player API JSON
[youtube] p7FCgw_GlWc: Downloading tv embedded player API JSON
[youtube] p7FCgw_GlWc: Downloading web embedded client config
[youtube] p7FCgw_GlWc: Downloading player 21246a91
[youtube] p7FCgw_GlWc: Downloading web embedded player API JSON
[SponsorBlock] Fetching SponsorBlock segments
[SponsorBlock] Found 2 segments in the SponsorBlock database
[info] Available formats for p7FCgw_GlWc:
ID      EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2     mhtml 48x27        0    │                  mhtml │ images                                  storyboard
sb1     mhtml 80x45        0    │                  mhtml │ images                                  storyboard
sb0     mhtml 160x90       0    │                  mhtml │ images                                  storyboard
249-drc webm  audio only      2 │    3.89MiB   51k dash  │ audio only          opus        51k 48k low, DRC, webm_dash
250-drc webm  audio only      2 │    5.04MiB   66k dash  │ audio only          opus        66k 48k low, DRC, webm_dash
249     webm  audio only      2 │    3.89MiB   51k dash  │ audio only          opus        51k 48k low, webm_dash
250     webm  audio only      2 │    5.05MiB   67k dash  │ audio only          opus        67k 48k low, webm_dash
140-drc m4a   audio only      2 │    9.83MiB  129k dash  │ audio only          mp4a.40.2  129k 44k medium, DRC, m4a_dash
251-drc webm  audio only      2 │    9.65MiB  127k dash  │ audio only          opus       127k 48k medium, DRC, webm_dash
140     m4a   audio only      2 │    9.83MiB  129k dash  │ audio only          mp4a.40.2  129k 44k medium, m4a_dash
251     webm  audio only      2 │    9.70MiB  128k dash  │ audio only          opus       128k 48k medium, webm_dash
394     mp4   256x144     30    │    6.40MiB   84k dash  │ av01.0.00M.08   84k video only          144p, mp4_dash
160     mp4   256x144     30    │    2.53MiB   33k dash  │ avc1.4d400c     33k video only          144p, mp4_dash
278     webm  256x144     30    │    6.12MiB   81k dash  │ vp9             81k video only          144p, webm_dash
395     mp4   426x240     30    │   14.41MiB  190k dash  │ av01.0.00M.08  190k video only          240p, mp4_dash
133     mp4   426x240     30    │    4.23MiB   56k dash  │ avc1.4d4015     56k video only          240p, mp4_dash
242     webm  426x240     30    │    5.17MiB   68k dash  │ vp9             68k video only          240p, webm_dash
396     mp4   640x360     30    │   22.87MiB  301k dash  │ av01.0.01M.08  301k video only          360p, mp4_dash
134     mp4   640x360     30    │    8.67MiB  114k dash  │ avc1.4d401e    114k video only          360p, mp4_dash
18      mp4   640x360     30  2 │ ~ 12.63MiB  162k https │ avc1.42001E    162k mp4a.40.2    0k 22k 360p
243     webm  640x360     30    │    9.90MiB  130k dash  │ vp9            130k video only          360p, webm_dash
397     mp4   854x480     30    │   41.59MiB  548k dash  │ av01.0.04M.08  548k video only          480p, mp4_dash
135     mp4   854x480     30    │   14.71MiB  194k dash  │ avc1.4d401f    194k video only          480p, mp4_dash
244     webm  854x480     30    │   15.81MiB  208k dash  │ vp9            208k video only          480p, webm_dash
398     mp4   1280x720    30    │   84.46MiB 1112k dash  │ av01.0.05M.08 1112k video only          720p, mp4_dash
136     mp4   1280x720    30    │   34.36MiB  453k dash  │ avc1.4d401f    453k video only          720p, mp4_dash
247     webm  1280x720    30    │   30.57MiB  403k dash  │ vp9            403k video only          720p, webm_dash
399     mp4   1920x1080   30    │  133.61MiB 1760k dash  │ av01.0.08M.08 1760k video only          1080p, mp4_dash
137     mp4   1920x1080   30    │  216.45MiB 2851k dash  │ avc1.640028   2851k video only          1080p, mp4_dash
248     webm  1920x1080   30    │  122.86MiB 1618k dash  │ vp9           1618k video only          1080p, webm_dash


"DRC" likely stands for "Dynamic Range Compression".

(never saw this offered before though)

 

If I request -f bestaudio -x, I get the non DRC variant (larger file size; 5246788 bytes vs 5203567 bytes opus audio).

Quote

So which one does it download now if I request 140 with a previously configured command line?

In this case the non DRC one.

If you want the DRC one, you'll have to pass -f 140-drc.

 

Edited by nicolaasjan
Link to comment
Share on other sites

3 hours ago, nicolaasjan said:

I don't see "*-0" and "*-1" variants.

That's because these are ONLY offered when the videoID is an age-gated one && the tool is youtube-dl; with yt-dlp, as you wrote, the two audio variants, again for age-gated videoIDs, are labelled as "*" and "*-drc* (where drc = Dynamic Range Compression).

TL;DR: When you're using youtube-dl and you stumble upon an age-gated videoID, if your script (for audio) specifically requests just "-f 140", then NO download for that :(; you'd have to modify the audio format selection to be based on RegExp (and/or, perhaps, file extension of audio file) ;) ...

Edited by VistaLover
better wording
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...