Jump to content

Who here has a Youtube-DL compile for WinXP?


Recommended Posts

Posted

i looked at it in doxygen QueryWorkingSet and Ex are doing partly the same thing
they call up  NtQueryVirtualMemory

where then both access the either "MemoryWorkingSetList" or "MemoryWorkingSetListEx" as parameter
//
typedef enum _MEMORY_INFORMATION_CLASS
{
    MemoryBasicInformation,
    MemoryWorkingSetList,       // <-- this 
    MemorySectionName,
    MemoryBasicVlmInformation,
    MemoryWorkingSetExList  // <-- and this
} MEMORY_INFORMATION_CLASS;
 

however on msdn they might look different:
(QueryWorkingSet)
typedef struct _PSAPI_WORKING_SET_INFORMATION {
  ULONG_PTR               NumberOfEntries;
  PSAPI_WORKING_SET_BLOCK WorkingSetInfo[1];
} PSAPI_WORKING_SET_INFORMATION, *PPSAPI_WORKING_SET_INFORMATION;

(QueryWorkingSetEx)
typedef struct _PSAPI_WORKING_SET_EX_INFORMATION {
  PVOID                      VirtualAddress;
  PSAPI_WORKING_SET_EX_BLOCK VirtualAttributes;
} PSAPI_WORKING_SET_EX_INFORMATION, *PPSAPI_WORKING_SET_EX_INFORMATION;


the parameter sizes are the same, so a linking to that function works, just maybe not fully functional
that we should keep an eye on if it behave different

if they behave different you have have to write a code that redirects to QueryWorkingSetEx to -> NtQueryVirtualMemory with that MemoryWorkingSetExList
xp might got this function parameter


Posted
6 hours ago, nicolaasjan said:

Here is another test version, using the PR fork with EJS support (also works on Vista).

Just tested on Vista seems to work well :)

Posted
15 hours ago, EliraFriesnan said:

Does it work with proxies?

Don't have a good proxy to test right now

It's just that the previous version for Vista posted in this thread stopped working with you tube at all a few days ago and this new one works again

Posted (edited)
For the shake of test I tried the Windows 7 (32bits) binary posted with quickjs (thanks to the developer of this tiny engine) and I wonder how powerful computers do the people that develop things have?

Literally, it hangs a few times through the compute, even for a fraction of a second, while resolving the YouTube challenge :/

Multiply that 2 times, as I check the available formats, and then download the desired format, and the benefits of downloading+playing performance vs viewing on the page, starts to vanish.

It has been requiring more and more compute time through time but... wow

Or the whole process gets optimized or... YouTube is winning by far.

For those interested, I only have a Core 2 Duo. As most here, old hardware, yes.

EDIT: I wasn't initially able to make the latest published x64 version (2025.11.01.082330) work with quickjs (my fault by setting the path "--js-runtimes quickjs:'c:\balbla\'" instead "--js-runtimes quickjs:'c:\balbla\qjs.exe'" because I didn't want a PATH path either ;) ) and maybe it has a slightly better performance, but not much. Edited by johk

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