K4sum1 last won the day on June 10 2023
K4sum1 had the most liked content!
About K4sum1

Contact Methods
-
Website URL
https://eclipse.cx
Profile Information
-
OS
Windows 8.1 x64
Recent Profile Visitors
22,092 profile views
K4sum1's Achievements
115
Reputation
-
Btw where did you get 3.9 from? I remember the XP Python thread was mainly 3.8 and there is a 3.9 build there, but I heard it was buggy and unstable.
-
I was able to backport this to Python 3.8 with the help of AI (I have no idea how to do anything in Python) and it works great, but I was never able to figure out how to get modern Pyinstaller working on XP so I never released it. https://github.com/K4sum1/xl-converter/commits/stable How did you get a Python debug environment working on XP? I tried to virtualenv with the XP Python 3.8 so I could test xl-converter in a debug mode, but I couldn't figure out how to get it to work.
-
Why not just add back Python 3.9 support on your fork?
-
This uses ffmpeg, which appears to modify the output somehow. If I take a webm, turn it into a wav, and compare that to a webm > ffmpeg opus > wav, they have a slightly different waveform. If I compare it to a mkvextract opus wav, they match.
-
When the highest quality version of a song I can get is a YT Opus rip, I use mkvextract from MKVToolNix to turn it into a ,opus file that I then can apply metadata to and is recognized as an audio file. The command I use is mkvextract "(source).webm" tracks 0:"(output).opus"
-
That fixed it for me, thank
-
K4sum1 started following Python 3.8.13 for Windows XP SP3 and Who here has a Youtube-DL compile for WinXP?
-
@nicolaasjan Can you enable issues on your yt-dlp GitHub repo? I was about to report an issue to the yt-dlp GitHub, but I tried official yt-dlp to test, and it just doesn't have the issue, which means something is wrong with your fork. However issues aren't enabled on your repo, so I can't report it there. This command with your fork downloads the worse AAC audio instead of the superior Opus audio for the video, even though I specify bestaudio in the command. yt-dlp.exe -f "(bestvideo[height<=720]+bestaudio/best[height<=720])[vcodec!*=av01]" -o "%%(channel)s [%%(channel_id)s]/%%(upload_date)s - %%(title)s - (%%(duration)ss) [%%(id)s].%%(ext)s" --merge-output mkv --write-info-json --write-description --write-thumbnail --add-metadata --write-sub --all-subs --embed-subs "https://youtu.be/bCTObNkRGsg" The same command in the official yt-dlp downloads the proper Opus audio for the video. I can download the Opus audio with your fork by doing -F which gives me the Opus audio as 251, and then doing -f 251. So it can grab the audio fine, it just doesn't recognize it as being the best audio for the video. Also while I was still making the issue, if I add -vU to the beginning of the above command, it properly downloads the Opus audio for the video. I don't know why. Also I'm using the win7 version.
-
How did you patch Pyinstaller 4.10 to work with XP? I first tried 6.1.0 because it was what the project I use originally supported and had only a few missing functions. I patched the source code, rebuilt and used it but I just get a blank Unhandled exception in script error when it's opened. Then I found this and decided to try 4.10, but it still has one of the things I need to patch So I carried that patch over to 4.10, and it built fine, but when installing it, I get this error and I'm not sure what to do. (env_build) C:\Users\Admin\Documents\GitHub\xl-converter\misc\pyinstaller>pip install . Processing c:\users\admin\documents\github\xl-converter\misc\pyinstaller Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [41 lines of output] Traceback (most recent call last): File "C:\Users\Admin\Documents\GitHub\xl-converter\env_build\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module> main() File "C:\Users\Admin\Documents\GitHub\xl-converter\env_build\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Admin\Documents\GitHub\xl-converter\env_build\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 164, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\build_meta.py", line 376, in prepare_metadata_for_build_wheel self.run_setup() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\build_meta.py", line 521, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\build_meta.py", line 319, in run_setup exec(code, locals()) File "<string>", line 249, in <module> File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\__init__.py", line 117, in setup return distutils.core.setup(**attrs) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 157, in setup dist.parse_config_files() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\dist.py", line 651, in parse_config_files setupcfg.parse_configuration( File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 199, in parse_configuration meta.parse() File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 512, in parse section_parser_method(section_options) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 487, in parse_section self[name] = value File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 305, in __setitem__ parsed = self.parsers.get(option_name, lambda x: x)(value) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 604, in _parse_version return expand.version(self._parse_attr(value, self.package_dir, self.root_dir)) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\setupcfg.py", line 429, in _parse_attr return expand.read_attr(attr_desc, package_dir, root_dir) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\expand.py", line 186, in read_attr module = _load_spec(spec, module_name) File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-5axojfce\overlay\Lib\site-packages\setuptools\config\expand.py", line 207, in _load_spec spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 843, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "C:\Users\Admin\Documents\GitHub\xl-converter\misc\pyinstaller\PyInstaller.py", line 15, in <module> from PyInstaller.__main__ import run ModuleNotFoundError: No module named 'PyInstaller.__main__'; 'PyInstaller' is not a package [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.