nicolaasjan Posted January 22 Posted January 22 (edited) 5 hours ago, j7n said: Why does a Win7 exist if yt-dlp_x86_Windows-XP works fine now? It was requested by someone. Plus, it can be built with a modified Python 3.13 (Python 3.9 might be unsupported by yt-dlp after 31 Oct 2025). Edited January 22 by nicolaasjan 2
Mark-XP Posted January 22 Posted January 22 7 hours ago, nicolaasjan said: Could you please share a verbose log of a failing download with yt-dlp_win7.exe? Well, i get a system error: >The Procedure entry point "AddDllDirectory" wasn't found in "KERNEL32.DLL"< (translation by me). And in the log: [PYI-3000:ERROR] Failed to load Python DLL 'C:\Users\Me\AppData\Local\Temp\_MEI29362\python313.dll'. LoadLibrary: Die angegebene Prozedure was not found. So, highly embarrassed () may i ask: has Python to be installed in Win 7 first? But why does the XP version work here ootb in this case? For several years i'm using exclusively the zipped XP version (eg. yt-dlp_x86_Windows-XP.zip) on both XP/32 and Win7/64. And btw. (and off topic) the piece of Led Zeppelin you linked above is awesome, i saw them live, about 45 years ago
nicolaasjan Posted January 22 Posted January 22 42 minutes ago, Mark-XP said: Well, i get a system error: >The Procedure entry point "AddDllDirectory" wasn't found in "KERNEL32.DLL"< (translation by me). Is your Windows 7 fully up to date? From answers.microsoft.com: Quote Before support for Windows 7 ended on January 14, 2020, had you kept your system updated with Windows Update? There were some old Windows Security Updates that specifically modified kernel32.dll relating to three "entry points," including both of the ones you mention (SetDefaultDllDirectories, AddDllDirectory, and RemoveDllDirectory). Navigate to C:\Windows\System32\kernel32.dll. Right-click on that file, select Properties, and then select the "Details" tab. What is the file version of your copy of kernel32.dll? Mine looks like this (Windows 7 updated till now with Server 2008 R2 patches (see My Digital Life Forums): 2
Mark-XP Posted January 22 Posted January 22 (edited) 1 hour ago, nicolaasjan said: Is your Windows 7 fully up to date? I'm afraid: no (SP1 only) - Thanks for your assistance, i'll boot to 7 and check the dll version later. Tbh, i'm a little bit concerned and afraid (again) to install that update KB4457144 - 230 MB - who knows how much junk it will dump in an installation beside. i think to try it on a test disk before... Edit: the kernel32 is version 6.1.7601.17517 - from 2010 Edited January 22 by Mark-XP edit
nicolaasjan Posted January 22 Posted January 22 22 minutes ago, Mark-XP said: i think to try it on a test disk before... Maybe make a disk image before applying? 1
Mark-XP Posted January 22 Posted January 22 17 minutes ago, nicolaasjan said: Maybe make a disk image before applying? Since i'm on a system with XP, Win7, Linux and Grub-bootloader, a disk image is a bit tricky - with identical partition uuids...
j7n Posted January 22 Author Posted January 22 (edited) This DLL Directory thing is probably part of the secure DLL loading patch KB2533623. I have it for FileZilla Server. I have not installed a 230 MB patch and Yt-dlp works for me. I did install a handful of others. Not sure where this function was added. I can send this MSU to you if you can't find it. So what do we do after 31 Oct 2025 ? Edited January 22 by j7n 1
Mark-XP Posted January 22 Posted January 22 Thank you too, @j7n, the installation of the kb4457144-x64 couldn't be comleted here, after 15 minutes there was an error "configurating the update" and it took another 15 min to (imperfectly) rollback, simply annoying... Maybe i'll come back regarding your kind offer later (with a pm), for the moment i'm done ... Win7 was only an intermediate step for me, and meanwhile i spent 95% of the time with Linux... and now: back to topic, as this is a forum for XP !
nicolaasjan Posted January 22 Posted January 22 (edited) 1 hour ago, j7n said: So what do we do after 31 Oct 2025 ? First, lets see what the yt-dlp team will do by then. If they drop support for Python 3.9, our only hope for Windows XP is someone who can make a special 3.10 or 3.11 version. (haven't heard from @cmalex for quite some time...) 🇺🇦 Other than that, you could just switch to Windows 7 (or Linux, that will run better on older hardware than Windows). Edited January 22 by nicolaasjan
j7n Posted January 22 Author Posted January 22 Well, I have already switched to R2 for several reasons on my main PC. It is possible that the patch has a pre-requisite. But it is fairly old. The kernel32 inside is from 2011. The total stuff that I have installed include these MSUs (renamed for organization purposes): WinNT61_Secure_Dll_Loading_KB2533623-x64.msu WinNT61_Server_R2_Update_Cleanup_KB2852386-v2-x64.msu WinNT61_Server_R2_WinHelp32_KB917607-x64.msu WinNT61_Seven_SP1_Update_Cleanup_KB2852386-x64.msu WinNT61_Seven_WinHelp32_KB917607-x64.msu WinNT61_SP1_Enterprise_Hotfix_Rollup_KB2775511-v2-x64.msu WinNT61_SP1_Platform_Update_KB2670838-x64.msu WinNT61_SP1_Platform_Update_STOP_050_KB2834140-v2-x64.msu WinNT61_SP1_TCP_Syn_Retransmissions_b22190_KB2786464-v2-x64.msu WinNT61_Update_for_Universal_C_Runtime-KB3118401-x64.msu WinNT61-2019_Servicing_Stack-KB4490628-x64.msu WinNT61-2019-09_Security-KB4474419-v3-x64.msu WinNT61-IPv6_readiness_b22124-KB2750841-x64.msu WinNT61-MME_Wave_Linear_Interpolation-KB2653312-x64.msu WinNT61-Security_March2017_WannaCry-KB4012212-x64.msu WinNT61-SP1-2015-Servicing_stack_update-KB3020369-x64.msu WinNT61-Srv_sys_b22608-KB2831013-v3-x64.msu WinNT61-TCP_Configurations-v3_b21645-KB2472264-x64.msu WinNT61-TCP_DoS_b22648-KB2957189-x64.msu WinNT61-TCP_Ipsec_nonpaged_leak_b22590-KB2918550-x64.msu WinNT61-TLS_WinHTTP_KB3140245-x64.msu
Mark-XP Posted January 23 Posted January 23 17 hours ago, j7n said: I can send this MSU to you if you can't find it. Many thanks again @j7n (and @nicolaasjan too!), indeed, that update (KB2533623 for kernel32.dll) fixed the specific problem of yt-dlp_win7.exe here (and probably some other issues that i hadn't discovered yet ). So, in case that Python 3.9 support of yt-dlp really would be dropped in october (god beware!), i'd be prepared ... 3
user57 Posted January 23 Posted January 23 On 7/6/2023 at 10:25 PM, j7n said: For me Youtube-DL that is several months old still works. Occasionally it complains about a signature, but most of the time it is fast. I don't use Ffmpeg with it, because I found I out that MPC-HC can combine the video and audio into one during playback with a bit slower seeking. Why has Ffmpeg grown to be 66 MB? I remember they were proud to share core functions across related codecs and of elegant code. at first it was a good fork for many codecs!, but at some time the engine question kicked in rather of being independent the "newer codecs" are done via engine and ffmpeg is no longer independent and those engines/apis/interfaces (whatever we call them) sit in windows 10, so they keep telling you to install win10 somewhat, somehow neither if its CUDA (what later on calls the high level functions in the grafic card driver(and is called something like "NVIDIA display driver: 551.76"), dx12, LAV engine that also goes for the other like vs2022(what used something called the c-runtime (that uses win10 functions, or the SDT from vs2020), python 3.10 + in future for the compilers today they trigger to use a engine code - that goes into direction of scripts rather then having a c++ code that is really doing the job manual (such as memory managment, file control) this script then is written with win10 functions ... those one-core-api.dll´s are also a such thing that is also the case for example for the nvidia SDK, this one is also to see as some kind of engine -> what then use cuda and d3d12 the HEIC image encoder also was a such thing, it was deeply bound into win10 engines and functions - but it was unbound to me this seems to be a method to get rid of the older operating systems instead of offering the real code - they offer script to do so (and those scripts use win10) - simple said it is not like there would be other ways ... there certainly would be for example if we would have the high level code of CUDA, or the programming control is not going with scripts, rather they are manually controled written - they it would be doable CUDA(and following up the driver) is just a engine that represents hardware video card encoding, such as VP9 or HEVC since CUDA is rather made for win10 its hard to use a code that use CUDA on XP - but the codecs VP9, HEVC are open source - CUDA is not a necessary requirement (and that even tho all the programs out there use this engine ffmpeg being one of them) if put the right way not having a video card is ok if you use a software based en/decoder (and mmx-avx makes such codes by far fast enough - its not like a software mode in a video game where everything would run just superslow) chrome have a such software based decoder for VP9, someone tryed it with 1 core and 2 cores - 2 cores being enough without a grafic card driver being installed (while when he had a grafic card driver installed even 1 core was enough) https://www.youtube.com/watch?v=wsSMmdwh89Y
Mark-XP Posted January 23 Posted January 23 1 hour ago, user57 said: https://www.youtube.com/watch?v=wsSMmdwh89Y I've only a rough idea of the technical/copyright background, but i do not ,like' the libdav/dav1d AV1 codec of that video at all . Watching it on linux/mpv, no hw acceleration is possible on a relativ modern core i5 6600k and it even drives him hot (at load of about 60 percent!). One would have to throw away 8 year old hw and get a newer pc to watch it wihout heating up the house - not very sustainable!
nicolaasjan Posted January 23 Posted January 23 4 minutes ago, Mark-XP said: Watching it on linux/mpv, no hw acceleration is possible on a relativ modern core i5 6600k and it even drives him hot (at load of about 60 percent!). Get the example 'mpv.conf' file from here. Put it in '~/.config/mpv' and enable under # video settings #: hwdec=auto Under # other settings #, insert: ytdl-format="bestvideo[height<=1080][ext=mp4][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4]/best" ? Profit CPU stays mostly below 10% on my old Haswell i5. mpv https://www.youtube.com/watch?v=PD-MdiUm1_Y ● Video --vid=1 (h264 1920x1080 29.97 fps) [default] ● Audio --aid=1 --alang=eng (aac 2ch 44100 Hz 128 kbps) [default] File tags: Uploader: Led Zeppelin Channel_URL: https://www.youtube.com/channel/UCaKZA66vM_TUpetUNohmR0A Using hardware decoding (vaapi). AO: [pulse] 44100Hz stereo 2ch float VO: [gpu] 1920x1080 vaapi[nv12] AV: 00:00:43 / 00:09:06 (8%) A-V: 0.000 Cache: 59s/23MB Exiting... (Quit) On Windows mpv.conf goes in: C:\Users\User\AppData\Roaming\mpv Extra convenient: Put MPV (and while you're at it, also yt-dlp) in your right-click menu with "Open With". 1
j7n Posted January 23 Author Posted January 23 They keep inventing new codecs as if computing power was free. The network is getting faster and cheaper though. I can't even watch the VP codec. Sometimes I don't notice that it was pulled.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now