Jump to content

Who here has a Youtube-DL compile for WinXP?


Recommended Posts


Posted
3 hours ago, user57 said:

Csr functions useally came from csrsrv.dll 

i think CsrNewThread is just a different name for CsrCreateThread

those are often very similiar to CreateThread or NtCreateThread

 

it would be about looking its parameters and purpose for exact detail, but xp has many of these functions

https://www.geoffchappell.com/studies/windows/win32/csrsrv/api/process/thread.htm

no it do something different:

https://doxygen.reactos.org/d6/dad/sdk_2include_2reactos_2subsys_2csr_2csr_8h.html#a37b4505763dfb64bf489339460ae04e8

Posted

there CsrNewThread is just a redirection to NtRegisterThreadTerminatePort 

if thats all you just have to use NtRegisterThreadTerminatePort, xp has that function

Posted
4 hours ago, nicolaasjan said:

Vista compatible yt-dlp here.

sxwc4pH.png

:dubbio:; is that py3.9-based (so will get deprecated in October :() ? Can you at least upload manually to GitHub, where it'll be more visible and with a permanent link? Thanks :P ...

(OT: I have serious issues with my landline since Aug 19th, my tel. number isn't working at all and my ADSL+ internet access is quite fickle; my ISP don't really know what's goin' on, they said I have to give them time until Sep 3rd (!) for them to identify the true nature of the problems :( ... ) Sometime later today, hopefully, I'll further comment on your previous post :} ...

Posted (edited)
48 minutes ago, VistaLover said:

:dubbio:; is that py3.9-based (so will get deprecated in October :()

It is Python 3.10.18 based, but Dropbox notified me via mail that link sharing was temporarily disabled (did they detect a possible virus???).

I have now enabled sharing again and password protected my file.

yt-dlp_Vista_x86.7z (password: 987123).

[debug] Command-line config: ['-v']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT)
[debug] yt-dlp version nicolaasjan/yt-dlp@2025.08.23.181722 (win_x86_exe)
[debug] Python 3.10.18 (CPython AMD64 32bit) - Windows-Vista-6.0.6003-SP2 (OpenSSL 3.1.0-dev )
[debug] exe versions: ffmpeg N-116828-g6aafe61-Reino (fdk,setts), ffprobe N-116828-g6aafe61-Reino, phantomjs 2.5.0
[debug] Optional libraries: Cryptodome-3.23.0, brotli-1.1.0, certifi-2025.08.03, mutagen-1.47.0, requests-2.32.5, sqlite3-3.50.4, urllib3-2.5.0, websockets-15.0.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Plugin directories: none
[debug] Loaded 1840 extractors

I could also upload it to GitHub, but compiling and updating the repo is becoming a time consuming task by now (I also have a new Linux x86 Py3.11 standalone executable).

Edited by nicolaasjan
Posted
23 minutes ago, nicolaasjan said:

(did they detect a possible virus???)

... My local AV solution, after a Custom Scan of the executable (yt-dlp.exe), found NO threats :thumbup (red rectangle in Greek, haven't had time to consult VT) : 

dDvUCf5.png

Posted (edited)
On 8/24/2025 at 8:07 AM, user57 said:

there CsrNewThread is just a redirection to NtRegisterThreadTerminatePort 

if thats all you just have to use NtRegisterThreadTerminatePort, xp has that function

no, CsrNewThread also passes an internal variable to NtRegisterThreadTerminatePort. so you can't just use NtRegisterThreadTerminatePort to replace CsrNewThread

Edited by roytam1
Posted

right 

NTSTATUS

NTAPI

CsrNewThread(VOID)

{

return NtRegisterThreadTerminatePort(CsrApiPort);

}

while CsrApiPort is defined as HANDLE (HANDLE CsrApiPort;)

in this case that CsrApiPort variable must to be filled 

Posted
On 8/22/2025 at 11:42 PM, Reino said:

Source? Example video?

On 8/23/2025 at 8:17 AM, j7n said:

I posted an example video above.

Hmm, it seems you're right.

D:\>yt-dlp.exe -F "https://www.youtube.com/watch?v=zBq_krhKbW4"
[youtube] Extracting URL: https://www.youtube.com/watch?v=zBq_krhKbW4
[youtube] zBq_krhKbW4: Downloading webpage
[youtube] zBq_krhKbW4: Downloading tv client config
[youtube] zBq_krhKbW4: Downloading tv player API JSON
[youtube] zBq_krhKbW4: Downloading ios player API JSON
WARNING: [youtube] zBq_krhKbW4: Some tv client https formats have been skipped as they are DRM protected. The current session may have an experiment that applies DRM to all videos on the tv client. See  https://github.com/yt-dlp/yt-dlp/issues/12563  for more details.
[youtube] Executing JS
[youtube] [pot:phantomjs-web] Requesting webpage
[youtube] [pot:phantomjs-web] Requesting webpage
WARNING: [youtube] zBq_krhKbW4: Some web client https formats have been skipped as they are missing a url. YouTube is forcing SABR streaming for this client. See  https://github.com/yt-dlp/yt-dlp/issues/12482  for more details
[youtube] zBq_krhKbW4: Downloading m3u8 information
[info] Available formats for zBq_krhKbW4:
ID  EXT   RESOLUTION FPS CH │   FILESIZE    TBR PROTO │ VCODEC           VBR ACODEC     ASR MORE INFO
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb3 mhtml 48x27        0    │                   mhtml │ images                              storyboard
sb2 mhtml 80x45        0    │                   mhtml │ images                              storyboard
sb1 mhtml 160x90       0    │                   mhtml │ images                              storyboard
sb0 mhtml 320x180      0    │                   mhtml │ images                              storyboard
233 mp4   audio only        │                   m3u8  │ audio only           unknown        [en] Untested, Default, low
234 mp4   audio only        │                   m3u8  │ audio only           unknown        [en] Untested, Default, high
602 mp4   256x144     15    │ ~  3.41MiB    82k m3u8  │ vp09.00.10.08    82k video only     Untested
269 mp4   256x144     30    │ ~  4.83MiB   116k m3u8  │ avc1.4D400C     116k video only     Untested
603 mp4   256x144     30    │ ~  6.96MiB   168k m3u8  │ vp09.00.11.08   168k video only     Untested
229 mp4   426x240     30    │ ~  9.37MiB   226k m3u8  │ avc1.4D4015     226k video only     Untested
604 mp4   426x240     30    │ ~  9.87MiB   238k m3u8  │ vp09.00.20.08   238k video only     Untested
230 mp4   640x360     30    │ ~ 17.90MiB   432k m3u8  │ avc1.4D401E     432k video only     Untested
18  mp4   640x360     30  2 │   15.60MiB   376k https │ avc1.42001E          mp4a.40.2  44k [en] 360p
605 mp4   640x360     30    │ ~ 20.36MiB   491k m3u8  │ vp09.00.21.08   491k video only     Untested
231 mp4   854x480     30    │ ~ 27.63MiB   666k m3u8  │ avc1.4D401F     666k video only     Untested
606 mp4   854x480     30    │ ~ 28.62MiB   690k m3u8  │ vp09.00.30.08   690k video only     Untested
232 mp4   1280x720    30    │ ~ 47.83MiB  1153k m3u8  │ avc1.4D401F    1153k video only     Untested
609 mp4   1280x720    30    │ ~ 45.79MiB  1104k m3u8  │ vp09.00.31.08  1104k video only     Untested
270 mp4   1920x1080   30    │ ~ 86.72MiB  2090k m3u8  │ avc1.640028    2090k video only     Untested
614 mp4   1920x1080   30    │ ~ 75.94MiB  1831k m3u8  │ vp09.00.40.08  1831k video only     Untested
620 mp4   2560x1440   30    │ ~175.88MiB  4240k m3u8  │ vp09.00.50.08  4240k video only     Untested
625 mp4   3840x2160   30    │ ~516.07MiB 12440k m3u8  │ vp09.00.50.08 12440k video only     Untested

This suggests both 720p formats have more or less the same video-bitrate. After having downloaded both of them however it's actually 242kbps (H.264) and 488kbps (VP9).
I normally always watch the VP9 stream, so I wasn't expecting such a big difference.

P.s. How lame I even have to use Microsoft Edge (my alternative browser) to create this post, because with Palemoon after having added the codeblock the window won't disappear for me to continue typing.

Posted

With my latest version of yt-dlp (2025.08.23.181722), I get:

[youtube] Extracting URL: https://www.youtube.com/watch?v=zBq_krhKbW4
[youtube] zBq_krhKbW4: Downloading webpage
[youtube] zBq_krhKbW4: Downloading tv client config
[youtube] zBq_krhKbW4: Downloading player 5ec65609-main
[youtube] zBq_krhKbW4: Downloading tv player API JSON
[youtube] zBq_krhKbW4: Downloading tv simply player API JSON
[SponsorBlock] Fetching SponsorBlock segments
[SponsorBlock] Found 1 segments in the SponsorBlock database
[info] Available formats for zBq_krhKbW4:
ID      EXT   RESOLUTION FPS CH |   FILESIZE   TBR PROTO | VCODEC          VBR ACODEC      ABR ASR MORE INFO
------------------------------------------------------------------------------------------------------------------------------
sb3     mhtml 48x27        0    |                  mhtml | images                                  storyboard
sb2     mhtml 80x45        0    |                  mhtml | images                                  storyboard
sb1     mhtml 160x90       0    |                  mhtml | images                                  storyboard
sb0     mhtml 320x180      0    |                  mhtml | images                                  storyboard
249-drc webm  audio only      2 |    2.09MiB   50k https | audio only          opus        50k 48k [en] low, DRC, webm_dash
250-drc webm  audio only      2 |    2.83MiB   68k https | audio only          opus        68k 48k [en] low, DRC, webm_dash
249     webm  audio only      2 |    2.09MiB   50k https | audio only          opus        50k 48k [en] low, webm_dash
250     webm  audio only      2 |    2.83MiB   68k https | audio only          opus        68k 48k [en] low, webm_dash
140-drc m4a   audio only      2 |    5.37MiB  129k https | audio only          mp4a.40.2  129k 44k [en] medium, DRC, m4a_dash
251-drc webm  audio only      2 |    5.57MiB  134k https | audio only          opus       134k 48k [en] medium, DRC, webm_dash
140     m4a   audio only      2 |    5.37MiB  129k https | audio only          mp4a.40.2  129k 44k [en] medium, m4a_dash
251     webm  audio only      2 |    5.56MiB  134k https | audio only          opus       134k 48k [en] medium, webm_dash
160     mp4   256x144     30    |    1.34MiB   32k https | avc1.4d400c     32k video only          144p, mp4_dash
278     webm  256x144     30    |    2.74MiB   66k https | vp9             66k video only          144p, webm_dash
394     mp4   256x144     30    |    2.11MiB   51k https | av01.0.00M.08   51k video only          144p, mp4_dash
133     mp4   426x240     30    |    2.58MiB   62k https | avc1.4d4015     62k video only          240p, mp4_dash
242     webm  426x240     30    |    3.40MiB   82k https | vp9             82k video only          240p, webm_dash
395     mp4   426x240     30    |    3.04MiB   73k https | av01.0.00M.08   73k video only          240p, mp4_dash
134     mp4   640x360     30    |    4.54MiB  109k https | avc1.4d401e    109k video only          360p, mp4_dash
18      mp4   640x360     30  2 |   15.60MiB  376k https | avc1.42001E         mp4a.40.2       44k [en] 360p
243     webm  640x360     30    |    7.40MiB  178k https | vp9            178k video only          360p, webm_dash
396     mp4   640x360     30    |    5.31MiB  128k https | av01.0.01M.08  128k video only          360p, mp4_dash
135     mp4   854x480     30    |    6.79MiB  164k https | avc1.4d401f    164k video only          480p, mp4_dash
244     webm  854x480     30    |   11.17MiB  269k https | vp9            269k video only          480p, webm_dash
397     mp4   854x480     30    |    8.73MiB  210k https | av01.0.04M.08  210k video only          480p, mp4_dash
136     mp4   1280x720    30    |   10.14MiB  244k https | avc1.4d401f    244k video only          720p, mp4_dash
247     webm  1280x720    30    |   20.35MiB  491k https | vp9            491k video only          720p, webm_dash
398     mp4   1280x720    30    |   15.27MiB  368k https | av01.0.05M.08  368k video only          720p, mp4_dash
137     mp4   1920x1080   30    |   35.75MiB  862k https | avc1.640028    862k video only          1080p, mp4_dash
248     webm  1920x1080   30    |   37.23MiB  897k https | vp9            897k video only          1080p, webm_dash
399     mp4   1920x1080   30    |   26.49MiB  639k https | av01.0.08M.08  639k video only          1080p, mp4_dash
271     webm  2560x1440   30    |  110.21MiB 2657k https | vp9           2657k video only          1440p, webm_dash
400     mp4   2560x1440   30    |   90.71MiB 2186k https | av01.0.12M.08 2186k video only          1440p, mp4_dash
313     webm  3840x2160   30    |  396.68MiB 9562k https | vp9           9562k video only          2160p, webm_dash
401     mp4   3840x2160   30    |  204.96MiB 4940k https | av01.0.12M.08 4940k video only          2160p, mp4_dash

 

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...