nicolaasjan Posted June 18, 2024 Posted June 18, 2024 2 hours ago, S75 said: @nicolaasjan Hello, i just try your youtube-dl build in my Windows xp (P3)\Pentium M system and have some error. Do you test it? On nightly build i have same error. I get the same error. See this issue opened 19 hours ago. I hope @dirkf can fix this. Does yt-dlp work on your PC? Pentium M has SSE2 support. If so, it still works at the moment. On Windows XP I get this: yt-dlp -v https://www.youtube.com/watch?v=HyHNuVaZJ-k [debug] Command-line config: ['-v', 'https://www.youtube.com/watch?v=HyHNuVaZJ-k'] [debug] User config "C:\Documents and Settings\Nico\Application Data\yt-dlp\config.txt": ['--rm-cache-dir', '--console-title', '--no-mtime', '--add-metadata', '--embed-thumbnail', '--convert-thumbnails', 'jpg', '--ppa', 'ffmpeg:-metadata synopsis=""', '-o', '~/Bureaublad/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--sponsorblock-remove', 'all'] [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 local@2024.06.14 [a0d9967f6] (win_x86_exe) [debug] Python 3.9.13 (CPython x86 32bit) - Windows-XP-5.1.2600-SP3 (OpenSSL 3.1.0-dev ) [debug] exe versions: ffmpeg N-115062-g5bc3b7f-Reino (fdk,setts), ffprobe N-115062-g5bc3b7f-Reino [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.06.02, mutagen-1.47.0, requests-2.32.3, sqlite3-3.37.2, urllib3-2.2.1, websockets-12.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1821 extractors Removing cache dir C:\Documents and Settings\Nico/.cache\yt-dlp .. [youtube] Extracting URL: https://www.youtube.com/watch?v=HyHNuVaZJ-k [youtube] HyHNuVaZJ-k: Downloading webpage [youtube] HyHNuVaZJ-k: Downloading ios player API JSON [debug] [youtube] Extracting signature function js_590f65a6_106 [youtube] HyHNuVaZJ-k: Downloading player 590f65a6 [debug] Saving youtube-sigfuncs.js_590f65a6_106 to cache [debug] Saving youtube-nsig.590f65a6 to cache [debug] [youtube] Decrypted nsig xe74ipMm0zrc6o_dcT => V6sAy4iSi38qZw [debug] Loading youtube-nsig.590f65a6 from cache [debug] [youtube] Decrypted nsig aLVdVo6FzQwvgFrbEW => mtYCFbKQjtoPyQ [youtube] HyHNuVaZJ-k: Downloading m3u8 information [debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto [debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id [SponsorBlock] Fetching SponsorBlock segments [debug] SponsorBlock query: https://sponsor.ajay.app/api/skipSegments/a08f?service=YouTube&categories=%5B%22intro%22%2C+%22outro%22%2C+%22interaction%22%2C+%22selfpromo%22%2C+%22sponsor%22%2C+%22music_offtopic%22%2C+%22preview%22%2C+%22filler%22%5D&actionTypes=%5B%22skip%22%2C+%22poi%22%2C+%22chapter%22%5D [SponsorBlock] Found 2 segments in the SponsorBlock database [info] HyHNuVaZJ-k: Downloading 1 format(s): 136+140 [info] Downloading video thumbnail 41 ... [info] Writing video thumbnail 41 to: C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).webp [ThumbnailsConvertor] Converting thumbnail "C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).webp" to jpg [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).webp" -update 1 -qmin 1 -q:v 1 -bsf:v mjpeg2jpeg -movflags +faststart -metadata "synopsis=" "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).jpg" Deleting original file C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).webp (pass -k to keep) [debug] Invoking http downloader on "https://rr3---sn-5hnekn7z.googlevideo.com/videoplayback?expire=1718737512&ei=CIZxZt7DMuS76dsPnvWrSA&ip=<REDACTED>&id=o-AB_2NB2YZO7IkL4GBkh37NI-9K6Nbb9UfWnpQToORLQQ&itag=136&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=fb&mm=31%2C29&mn=sn-5hnekn7z%2Csn-5hne6nzd&ms=au%2Crdu&mv=m&mvi=3&pl=14&initcwndbps=2633750&vprv=1&svpuc=1&mime=video%2Fmp4&rqh=1&gir=yes&clen=14113723&dur=253.760&lmt=1706319357803629&mt=1718715429&fvip=5&keepalive=yes&c=IOS&txp=4535434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgQRwzXsnVfSWRyReFtUQ5crgwFfVtAvRX7kTSzgUJuA4CIQCde2kSVbE77HhwmvQyXMLD8ZM-uNfTQec9ObupuQE3uA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhALZmg68GiUeL8X6PijbDi4HrIJwpxZLfB1BaULc2zq6tAiEA72hNZCu62qB7kMnOgNb-MFiFaUkPik_7Oickfsy-iVM%3D" [debug] File locking is not supported. Proceeding without locking [download] Destination: C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).f136.mp4 [download] 0.0% of 13.46MiB at Unknown B/s ETA Unknown[download] 0.0% of 13.46MiB at Unknown B/s ETA Unknown[download] 0.1% of 13.46MiB at 773.14KiB/s ETA 00:17 [download] 0.1% of 13.46MiB at 1.62MiB/s ETA 00:08[download] 0.2% of 13.46MiB at 3.34MiB/s ETA 00:04[download] 0.5% of 13.46MiB at 6.80MiB/s ETA 00:01[download] 0.9% of 13.46MiB at 6.85MiB/s ETA 00:01[download] 1.9% of 13.46MiB at 9.17MiB/s ETA 00:01[download] 3.7% of 13.46MiB at 11.02MiB/s ETA 00:01[download] 7.4% of 13.46MiB at 13.79MiB/s ETA 00:00[download] 14.9% of 13.46MiB at 18.40MiB/s ETA 00:00[download] 29.7% of 13.46MiB at 21.03MiB/s ETA 00:00[download] 59.4% of 13.46MiB at 22.65MiB/s ETA 00:00[download] 73.6% of 13.46MiB at 23.29MiB/s ETA 00:00[download] 73.6% of 13.46MiB at Unknown B/s ETA Unknown[download] 73.7% of 13.46MiB at Unknown B/s ETA Unknown[download] 73.7% of 13.46MiB at Unknown B/s ETA Unknown[download] 73.7% of 13.46MiB at Unknown B/s ETA Unknown[download] 73.9% of 13.46MiB at 3.34MiB/s ETA 00:01 [download] 74.1% of 13.46MiB at 6.80MiB/s ETA 00:00[download] 74.6% of 13.46MiB at 13.70MiB/s ETA 00:00[download] 75.5% of 13.46MiB at 13.75MiB/s ETA 00:00[download] 77.3% of 13.46MiB at 27.56MiB/s ETA 00:00[download] 81.1% of 13.46MiB at 27.59MiB/s ETA 00:00[download] 88.5% of 13.46MiB at 24.53MiB/s ETA 00:00[download] 100.0% of 13.46MiB at 26.13MiB/s ETA 00:00[download] 100% of 13.46MiB in 00:00:00 at 19.06MiB/s [debug] Invoking http downloader on "https://rr3---sn-5hnekn7z.googlevideo.com/videoplayback?expire=1718737512&ei=CIZxZt7DMuS76dsPnvWrSA&ip=<REDACTED>&id=o-AB_2NB2YZO7IkL4GBkh37NI-9K6Nbb9UfWnpQToORLQQ&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=fb&mm=31%2C29&mn=sn-5hnekn7z%2Csn-5hne6nzd&ms=au%2Crdu&mv=m&mvi=3&pl=14&initcwndbps=2633750&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=4110734&dur=253.956&lmt=1706314950556934&mt=1718715429&fvip=5&keepalive=yes&c=IOS&txp=4532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAI28r9c9FsWiw42QpUCLer3Ujq6DmTq0jEnPPG483GwhAiEAqVP8vYCCO3Bb9ASvrbrD8tbeQxgqEfdbPm7lj1DWq-o%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRgIhALZmg68GiUeL8X6PijbDi4HrIJwpxZLfB1BaULc2zq6tAiEA72hNZCu62qB7kMnOgNb-MFiFaUkPik_7Oickfsy-iVM%3D" [download] Destination: C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).f140.m4a [download] 0.0% of 3.92MiB at 110.45KiB/s ETA 00:36[download] 0.1% of 3.92MiB at 331.35KiB/s ETA 00:12[download] 0.2% of 3.92MiB at 773.14KiB/s ETA 00:05[download] 0.4% of 3.92MiB at 1.62MiB/s ETA 00:02[download] 0.8% of 3.92MiB at 3.34MiB/s ETA 00:01[download] 1.6% of 3.92MiB at 6.80MiB/s ETA 00:00[download] 3.2% of 3.92MiB at 6.85MiB/s ETA 00:00[download] 6.4% of 3.92MiB at 13.75MiB/s ETA 00:00[download] 12.7% of 3.92MiB at 18.37MiB/s ETA 00:00[download] 25.5% of 3.92MiB at 27.59MiB/s ETA 00:00[download] 51.0% of 3.92MiB at 24.53MiB/s ETA 00:00[download] 100.0% of 3.92MiB at 25.47MiB/s ETA 00:00[download] 100% of 3.92MiB in 00:00:00 at 18.83MiB/s [Merger] Merging formats into "C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).f136.mp4" -i "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).f140.m4a" -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart -metadata "synopsis=" "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).temp.mp4" Deleting original file C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).f140.m4a (pass -k to keep) Deleting original file C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).f136.mp4 (pass -k to keep) [debug] ffprobe command line: ffprobe -hide_banner -show_format -show_streams -print_format json "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).mp4" [debug] Concat spec = 17.216000-237.919000 [ModifyChapters] Removing chapters from C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).mp4 [debug] Writing concat spec to C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).temp.mp4.concat [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -hide_banner -nostdin -f concat -safe 0 -i "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).temp.mp4.concat" -map 0 -dn -ignore_unknown -c copy -c:s mov_text -movflags +faststart -metadata "synopsis=" "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).temp.mp4" Deleting original file C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).uncut.mp4 (pass -k to keep) [Metadata] Adding metadata to "C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).mp4" -i "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).meta" -map 0 -dn -ignore_unknown -c copy -map_metadata 1 -write_id3v1 1 -metadata "title=Gorillaz - Feel Good Inc. (Official Video)" -metadata "date=20160628" -metadata "description=Official HD Video for Gorillaz' fantastic track Feel Good Inc. Follow Gorillaz online: http://gorillaz.com http://facebook.com/Gorillaz http://twitter.com/GorillazBand http://instagram/Gorillaz For more information on Gorillaz don't forget to check out the official website at http://www.gorillaz.com" -metadata "synopsis=Official HD Video for Gorillaz' fantastic track Feel Good Inc. Follow Gorillaz online: http://gorillaz.com http://facebook.com/Gorillaz http://twitter.com/GorillazBand http://instagram/Gorillaz For more information on Gorillaz don't forget to check out the official website at http://www.gorillaz.com" -metadata "purl=https://www.youtube.com/watch?v=HyHNuVaZJ-k" -metadata "comment=https://www.youtube.com/watch?v=HyHNuVaZJ-k" -metadata "artist=Gorillaz" -metadata:s:1 "language=eng" -movflags +faststart -metadata "synopsis=" "file:C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).temp.mp4" [EmbedThumbnail] mutagen: Adding thumbnail to "C:\Documents and Settings\Nico\Bureaublad\Gorillaz - Feel Good Inc. (Official Video).mp4"
S75 Posted June 21, 2024 Posted June 21, 2024 On 6/18/2024 at 4:16 PM, nicolaasjan said: Does yt-dlp work on your PC? Pentium M has SSE2 support. Yes, dlp work fine. But my main (fetish) old PC for YouTube is Pentium III and only way watch is youtube-dl. So wait for fix... 1
nicolaasjan Posted June 28, 2024 Posted June 28, 2024 On 6/21/2024 at 10:17 PM, S75 said: So wait for fix... Issue #32815 is fixed, so youtube-dl should work for you again. 1
reboot12 Posted August 31, 2024 Posted August 31, 2024 @nicolaasjan But binary from dropbox not work.
S75 Posted October 5, 2024 Posted October 5, 2024 (edited) Can any one share FAQ or help make instruction, how step by step compile youtube-dl for Win Xp? Because now we don't have any work version of youtube-dl.exe. I find fresh builds for youtube-dl, but its only binary. Unofficial daily builds for youtube-dl. So if we have instruction any one can build it own exe version if we don't have actual version from night build or build from @nicolaasjan Edited October 5, 2024 by S75
reboot12 Posted October 5, 2024 Posted October 5, 2024 2 hours ago, S75 said: Because now we don't have any work version of youtube-dl.exe >
nicolaasjan Posted October 5, 2024 Posted October 5, 2024 (edited) 4 hours ago, S75 said: Because now we don't have any work version of youtube-dl.exe. I find fresh builds for youtube-dl, but its only binary. Unofficial daily builds for youtube-dl. Don't use those. Quote This branch is 1 commit ahead of, 135 commits behind ytdl-org/youtube-dl:master. (see also: https://github.com/ytdl-patched/youtube-dl/pull/1) You'll find the latest nightly builds of youtube-dl here: https://github.com/ytdl-org/ytdl-nightly (or take mine from Releases here) Edited October 5, 2024 by nicolaasjan
S75 Posted October 7, 2024 Posted October 7, 2024 (edited) On 10/5/2024 at 7:11 PM, nicolaasjan said: You'll find the latest nightly builds of youtube-dl here: https://github.com/ytdl-org/ytdl-nightly (or take mine from Releases here) I use your build as my main, and nightly builds as backup option. But as you know its outdated and have error 403, so i try find alternative and find this fork https://github.com/ytdl-patched/youtube-dl its update under 9 hours ago, so i think may be it have fix, but its have same problem as well. p.s I find way to build youtube-dl.exe from source(with help from gpt), and try this fork https://github.com/ytdl-patched/youtube-dl but as you said its not worth it, have same errors and its don't work. Building is easy, you just need python install, download source from git and enter some commands in cmd, but in practice i have many issues with pip commands. And spend hours to find solution of non trivial errors. So if you need manual instruction of how build your own youtube-dl you can use GPT, Edited October 7, 2024 by S75
nicolaasjan Posted October 7, 2024 Posted October 7, 2024 5 hours ago, S75 said: so i try find alternative and find this fork https://github.com/ytdl-patched/youtube-dl its update under 9 hours ago, so i think may be it have fix, but its have same problem as well. ytdl-patched is built automatically each day from an outdated master tree, so each build is the same size... E.g. release youtube-dl (Unix executable) from 2024.08.01 (on page 7) is 1923305 bytes, same size as their latest youtube-dl from 2024.10.07. The maintainer Lesmiscore seems gone. That's why I pointed you to this pull request there. When you want to build from source, use the master branch from https://github.com/ytdl-org/youtube-dl. (but it won't fix your issue yet) 2
user57 Posted October 7, 2024 Posted October 7, 2024 the same downloader has 2 versions for SSE2 and SSE ? why it didnt go the common way like check if mmx -> use mmx , if sse -> use see, if sse2 -> use sse2, ongoging you can definatly make it so, the compiler like vs2019 use sse if not turned off but if you have a routine that use sse you can skip it if you need, therefore the opcodes are then skipped if you dont have sse you can use normal opcodes or a different mmx-avx routine to have the right functional code one way to emulate a 64 bit command with normal opcodes is doing it multiple times , and instead of a register you can use the stack or some memory space you can control that piece as 64 bit i think dietmar did a such thing regarding replacing the 32 bit command CMPXCH8B command, it is a command that can change 64 bits in 32 bit operating systems using two 32 bit registers if its the same downloader it might solve this issue
reboot12 Posted October 8, 2024 Posted October 8, 2024 16 hours ago, S75 said: I use your build as my main, and nightly builds as backup option. But as you know its outdated and have error 403 I use nightly build version 2024.08.07 and no any errors.
nicolaasjan Posted October 8, 2024 Posted October 8, 2024 (edited) 11 hours ago, user57 said: the same downloader has 2 versions for SSE2 and SSE ? I won't make a SSE version of yt-dlp, because the PyInstaller building module produces exe's which require SSE2+. The alternative would be a crippled py2exe build. See here. Quote While we provide the option to build with py2exe, it is recommended to build using PyInstaller instead since the py2exe builds cannot contain pycryptodomex/certifi/requests and need VC++14 on the target computer to run. If you wish to build it anyway, install Python (if it is not already installed) and you can run the following commands: py devscripts/install_deps.py --include py2exe py devscripts/make_lazy_extractors.py py -m bundle.py2exe Edited October 8, 2024 by nicolaasjan 2
nicolaasjan Posted October 8, 2024 Posted October 8, 2024 20 hours ago, S75 said: Building is easy, you just need python install, download source from git and enter some commands in cmd, but in practice i have many issues with pip commands. And spend hours to find solution of non trivial errors. So if you need manual instruction of how build your own youtube-dl you can use GPT, See also my build instructions here: https://github.com/ytdl-org/youtube-dl/issues/32076#issuecomment-1518535677 1
genieautravail Posted October 8, 2024 Posted October 8, 2024 10 hours ago, nicolaasjan said: I won't make a SSE version of yt-dlp, because the PyInstaller building module produces exe's which require SSE2+. @nicolaasjan The last release of Pyinstaller that will compile a project without the SSE2 instructions set : https://pypi.org/project/pyinstaller/3.2.1/#files pip3 install future==1.0.0 pip3 install pypiwin32==219 pip3 install --no-deps pyinstaller==3.2.1 Perhaps can you try to compile yt-dlp with it and let us know the result ? Regards
user57 Posted October 8, 2024 Posted October 8, 2024 13 hours ago, nicolaasjan said: I won't make a SSE version of yt-dlp, because the PyInstaller building module produces exe's which require SSE2+. The alternative would be a crippled py2exe build. See here. i get it, its that python compiler that use these sse commands then that vc14+ are just different writings that the compiler has to translate, the compiler probaly didnt care using normal opcodes instead it just included sse commands the compiler then see what you wrote and translate them into opcodes, link them together ect. that c-runtime made us problems, in the past we could just edit the c++ files that generate that c-runtime that c-runtime is a .obj file (that one contains the functions the compiler links against/to) microsoft then hidden that .obj file somewhere (actually we dont know where maybe as resource in the vs2019 executable or that hidden .obj file somewhere in its temp files) - but no matter we know its a .obj file people wondered why they see functions in vs2019 they never used in their entire code - the c-runtime ".obj file" thats why it get executed before your executable is running -> after that it executes your code i did not find a good method that gives that vs2019 a good buildchain (so our functions are overruled) , and somehow you cant override these functions , if you try to trick that c-runtime it come up with an error i still wonder why a modern vs2019 compiler dont have a such thing, there seems to be no real override method vs2019 offers then it would be about to edit the python compiler and replace the instructions if python is open source - so you right to choose 2 executables - the other way around makes to much work
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now