Mark-XP Posted January 23 Posted January 23 (edited) 4 hours ago, nicolaasjan said: 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 Unfortunately no - these are in fact already the parameters you recommended me some months ago (in the palemoon/basilisk forum), i only added the [vcodec^=avc] now. For some reason, it seems that the options are ignored completely. The setting fs=no for example does not apply, and even with bestvideo[height<=720] the resolution is at a rediculous 3840x2160 (4K) - 16 times larger than specified: me@compi:~/Portable\> ./mpv https://www.youtube.com/watch?v=wsSMmdwh89Y (+) Video --vid=1 (*) (av1 3840x2160 59.940fps) (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz) AO: [pulse] 48000Hz stereo 2ch float VO: [gpu] 3840x2160 yuv420p AV: 00:00:20 / 00:16:59 (2%) A-V: 0.000 Dropped: 110 Cache: 12s/11MB i wonder why the options - apparently - do not apply here: both executables, yt-dlp and mpv - reside in '~/Portable' , and the config file is '~/.config/mpv/mpv.conf'. Not so much that i could have done wrong?!? Edit: Now i copied the mpv.conf in the directory of yt-dlp and mpv - no change! Edited January 23 by Mark-XP edit
Mark-XP Posted January 23 Posted January 23 (edited) I think i'll never love linux (as i loved XP ) - please take a look at the log when i add the option --log-file=mpv.log: <log stuff> So, where the heck do i now have to put the mpv.conf finally? i found these lines too: [ 0.004][d][global] config path: 'scripts' -/-> '~.configtde/mpv/scripts' [ 0.004][d][global] config path: 'scripts' -/-> '~.mpv/scripts' [ 0.004][d][global] config path: 'scripts' -/-> '/etc/mpv/scripts' but if i copy the mpv.conf to '~/.configtde/mpv/scripts' i get the error (red font in the konsole): Can't load unknown script: ~/.configtde/mpv/scripts/mpv.conf - Wow! Ok, now i created a directory '~/.mpv' where i put the 'mpv.conf' into - e voila: the configuration finally applies! The CPU consumption is now at moderate 15 % for playing the video https://www.youtube.com/watch?v=wsSMmdwh89Y. Thanks @nicolaasjan - in this case tor ,compelling' me to investigate the problem further! Edited January 24 by Mark-XP 1
VistaLover Posted January 24 Posted January 24 On 1/22/2025 at 9:07 PM, nicolaasjan said: First, lets see what the yt-dlp team will do by then. If they drop support for Python 3.9, ... Most sadly , I have no reason whatsoever to believe they'll do otherwise ; I remember I had quite a hard time myself to convince them to extend py3.7's support until its official EoL by the PSF and build yt-dlp_x86.exe on it (for the sake of Vista/Win7 32-bit users); and they didn't think twice one year later about deprecating py3.8, leaving the still quite numerous Win7 (32/64-bit) users stranded; and, God forbid, they wouldn't use adang's Win7 mods, of course not ; indirectly, "they" shifted the onus upon you to provide yt-dlp builds to the Win7 communities, which you did out of the goodness of your heart and your extreme altruism, for which you are to be highly praised ! On 1/22/2025 at 9:07 PM, nicolaasjan said: our only hope for Windows XP is someone who can make a special 3.10 or 3.11 version ... I firmly believe that now is the time to "kindly" approach talented "retro" coders like adang or Supermium's win32ss and enquire the feasibility of producing py3.10/3.11 binaries compatible with Vista SP2 (that should be easier, I think ) and, eventually, XP SP3... Perhaps someone over at the MDL forums could do it, I've seen more difficult things getting ported (like an FFmpeg-7.1 32-bit build that runs on XP/Vista) ... Kindest regards, many thanks for holding the "retro" flag high ... 3
nicolaasjan Posted January 24 Posted January 24 7 hours ago, Mark-XP said: Ok, now i created a directory '~/.mpv' where i put the 'mpv.conf' into - e voila: the configuration finally applies! The CPU consumption is now at moderate 15 % for playing the video Supermium - A Modern Web Browser for XP and Vista!. O yes, I remember that in the past (with an older version of MPV) the config file was expected there. I switched to a self-built MPV since the Linux repo version is much older. I use these scripts to build my own version. Quote This is a collection of scripts to make downloading and building mpv, ffmpeg and libass easier. ffmpeg and libass get special treatment, because they are essential, and distribution packages are often too old or too broken. 1
Mark-XP Posted January 24 Posted January 24 (edited) 18 hours ago, VistaLover said: Kindest regards, many thanks for holding the "retro" flag high ... Dear @VistaLover, i only can affiliate this! But on the other side, it's my firm conviction that it's important to get a ,OS plan B' nowadays. I do know you for years now (from this forum), but i can't remember if you ever wrote about or mentioned linux. I personally once made a decision to not use Windows beyond 7 (aka 6.1). And today, after some failed attempts, a lot of frustration (a high level of frustration-tolerance is required!) and hard efforts (see above ) i can solemnly state: that was right! Whenever booting up, i can choose between XP, 7, and linux - and meanwhile i use the latter about 95% of the time. If you're interested how XP-ish (in looks and feel) a linux can be configured, (within minutes!) (but without being Windows of course!), simply ,like' this post, and i'll give you some screenshots of my desktop in a pm. If you say: no sorry / thank you / not for me / have it already - simply do not react to this post . Kindest regards! Edited January 24 by Mark-XP
nicolaasjan Posted January 24 Posted January 24 14 hours ago, VistaLover said: Perhaps someone over at the MDL forums could do it, I've seen more difficult things getting ported (like an FFmpeg-7.1 32-bit build that runs on XP/Vista) Yes, @Maroc there made some apps for XP, but he stopped... (his frustration starts here) Anyhow, there's this: Quote python-3.11.9-embed-win32.7z But I couldn't get it working. Discussion starts here. Error (see post further down the thread): WARNING: [youtube] Unable to download webpage: <urllib3.connection.HTTPSConnection object at 0x03499EB0>: Failed to establish a new connection: [Errno 0] Error [youtube] Ef9QnZVpVd8: Downloading ios player API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x03499810>: Failed to establish a new connection: [Errno 0] Error. Retrying (1/3)... [youtube] Ef9QnZVpVd8: Downloading ios player API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x03626C30>: Failed to establish a new connection: [Errno 0] Error. Retrying (2/3)... [youtube] Ef9QnZVpVd8: Downloading ios player API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x034996D0>: Failed to establish a new connection: [Errno 0] Error. Retrying (3/3)... [youtube] Ef9QnZVpVd8: Downloading ios player API JSON WARNING: [youtube] Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x03626690>: Failed to establish a new connection: [Errno 0] Error (caused by TransportError('<urllib3.connection.HTTPSConnection object at 0x03626690>: Failed to establish a new connection: [Errno 0] Error')) [youtube] Ef9QnZVpVd8: Downloading android player API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x03499710>: Failed to establish a new connection: [Errno 0] Error. Retrying (1/3)... [youtube] Ef9QnZVpVd8: Downloading android player API JSON WARNING: [youtube] <urllib3.connection.HTTPSConnection object at 0x034135B0>: Failed to establish a new connection: [Errno 0] Error. Retrying (2/3)...
VistaLover Posted January 26 Posted January 26 (edited) On 1/24/2025 at 7:45 PM, nicolaasjan said: Anyhow, there's this: Quote python-3.11.9-embed-win32.7z But I couldn't get it working. ... This is a binary hack (HexEdited official binaries) that uses OCA wrapper DLLs (libkrnl.dll, libadv32.dll, libhlp32.dll, libns32.dll, libws32.dll, libxbc.dll, libxt.dll) and, as such, the patched python.exe will ONLY run on XP SP3, at best (e.g., it doesn't run under Vista SP2 32-bit, throwing: The procedure entry point ntdll.CsrNewThread could not be located in the dynamic link library libxt.dll ) ; I realise the thread's title mentions "WinXP" (but several other Windows versions have been mentioned already, I suppose OP wouldn't mind ), but it would be a great injustice if a solution for XP was eventually found but not one for Vista ... The way to go is to mod py3.10+ source and then build with a suitable compiler and flags so as to produce binaries that would run on NT 5.1 upwards natively (that's the procedure cmalex followed for his py3.9 offering, additionally targeting the SSE instructions set - but this last bit might be quite unrealistic for py3.10+) ... Another route I thought of is to hex-edit the adang CPython binaries, that already target NT 6.1, and link them to custom-made DLL wrappers, much like how Supermium 32-bit is able to run under XP and Vista - but this is all totally over my head ... FWIW, I think "embedded" Python distributions are inapt for producing yt-dlp Windows binaries via PyInstaller (as you've found out yourself ); not only is a working copy of pip needed, but also an "include" directory with header (.h) files... TL;DR: The task in demand needs experienced Python and C/C++ coders, with knowledge of the NT 5.x/6.0 kernel functions... Edited January 26 by VistaLover 1
VistaLover Posted January 26 Posted January 26 (edited) OT, so I'll keep it short ... @Mark-XP, many thanks for your kind interest in me and your genuine offer ; the thing is I haven't contemplated thus far a migration to one of the many Linux distros, but thanks anyway... I only spent ca. 3yrs on WinXP, so am not that much "attached" to it (not an "XP die-hard", IOW), but this is where I learned computing, which came very late in my adult years... By some coincidence (lack of one H/W driver for XP at the time), my personal first laptop that came with Vista OEM (SP0) x86 was never switched back to WinXP SP3; after SP1 was released, the OS became very trustworthy and over time I grew to really "love" it (hence my username here), despite the general negativity towards it... In my household there exist one Win7 SP1 x64 laptop (from 2011) and a 2020-bought one with Win10, the latter used mainly for financial online transactions... Win10 has WSL, so I guess I could get acquainted with "Linux" if the need really arises... On 1/24/2025 at 6:06 PM, Mark-XP said: a lot of frustration (a high level of frustration-tolerance is required!) and hard efforts Sadly, my RL has enough of frustration as it is, actually getting bigger by the month (personal things I won't disclose here); I'd rather do without so much frustration in my DL, too; plus, the adage "You can't teach an old dog new tricks" seems to suit me fine currently ... Over the years, of course, I have come across Linux related subjects in various forums, this isn't totally "alien-land" for me; as an exclusive Windows user I learned very quickly to use the Command Prompt and CLI software (while many of my Windows-using close friends, till this day, remain oblivious of non-GUI apps); so the "terminal" doesn't frighten me that much in itself; it's the steep learning curve I'm not inclined to deal with... PS: When Mozilla removed support for XP+Vista starting with Fx-53, Vista usage was tenfold the Linux usage, so I wrote to Mozilla and complained that they were OK to continue supporting the few Linux users, but NOT the Vista ones; I was more naive at the time, not fully aware of "planned obsolescence" and "agendas" by the big IT companies; Mozilla staff didn't bother responding, one community fellow user mentioned "lack of future OS security updates", but I wasn't convinced (by then, it was discovered already one could install WS2008 security updates on Vista, how about that?) ; from that time on, subconsciously at least, I began harbouring some aversion towards "lucky" Linux - this has waned now, FWIW... OT end (darn, I haven't kept it short ) Edited January 26 by VistaLover 2
j7n Posted March 25 Author Posted March 25 (edited) I'm starting to get an error "WARNING: [youtube] xxx: nsig extraction failed: Some formats may be miss ing" It then fetches only the video and no sound, which is not obvious from the start. Sometimes it only finds a giant VP9 video that I can't play and no sound. It seems that in this fallback [hlsnative] mode (after nsig error), it wants to put the audio on the same MP4 file extension, which didn't happen before. It would give either m4a or webm. This is the command-line I use to get h.264 video that is possible to play with a GPU. t:\working>"D:\apps\youtube-dl.exe" -f 299/137/298/136/22/bestvideo,140/bestaudio --fixup never --restrict-filenames --no-check-certificate --hls-prefer-native -o "t:\working\%(title)s- %(id)s .%(ext)s" https://www.youtube.com/watch?v=VkAGO65m7zA [youtube] Extracting URL: https://www.youtube.com/watch?v=VkAGO65m7zA [youtube] VkAGO65m7zA: Downloading webpage [youtube] VkAGO65m7zA: Downloading tv client config [youtube] VkAGO65m7zA: Downloading player 363db69b [youtube] VkAGO65m7zA: Downloading tv player API JSON [youtube] VkAGO65m7zA: Downloading ios player API JSON WARNING: [youtube] VkAGO65m7zA: nsig extraction failed: Some formats may be miss ing n = imP02v_RNa8litWIa ; player = https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js WARNING: [youtube] VkAGO65m7zA: nsig extraction failed: Some formats may be missing n = hz-Q273usDk7nZvkL ; player = https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js WARNING: [youtube] VkAGO65m7zA: nsig extraction failed: Some formats may be missing n = 4rLsXzf8oE9cABRpw ; player = https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js WARNING: [youtube] VkAGO65m7zA: nsig extraction failed: Some formats may be missing n = qaV5zFs-fdZkEb0nF ; player = https://www.youtube.com/s/player/363db69b/player_ias.vflset/en_US/base.js [youtube] VkAGO65m7zA: Downloading m3u8 information [info] Testing format 616 [info] Testing format 234 [info] VkAGO65m7zA: Downloading 2 format(s): 616, 234 [hlsnative] Downloading m3u8 manifest [hlsnative] Total fragments: 167 [download] Destination: t:\working\When_food_is_actually_too_old_to_eat- VkAGO65m7zA .mp4 [download] 100% of 279.24MiB in 00:00:56 at 4.98MiB/s [download] t:\working\When_food_is_actually_too_old_to_eat- VkAGO65m7zA .mp4 has already been downloaded [download] 100% of 279.24MiB Edited March 25 by j7n
nicolaasjan Posted March 26 Posted March 26 (edited) 15 hours ago, j7n said: I'm starting to get an error "WARNING: [youtube] xxx: nsig extraction failed: Some formats may be missing" Should be fixed with this commit. I've updated my build of youtube-dl. Click on the link in my signature, or get it from here. youtube-dl -v https://www.youtube.com/watch?v=VkAGO65m7zA [debug] System config: [] [debug] User config: ['--console-title', '--rm-cache-dir', '-i', '-o', '/dev/shm/test-ytd/%(title)s.%(ext)s', '-f', 'bestvideo[height<=1080][ext=mp4][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--no-mtime', '--embed-thumbnail', '--force-ipv4'] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=VkAGO65m7zA'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2025.03.26 [debug] Lazy loading extractors enabled [debug] Single file build [debug] Python 3.10.12 (CPython x86_64 64bit) - Linux-5.15.0-135-generic-x86_64-with-glibc2.35 - OpenSSL 3.0.2 15 Mar 2022 - glibc 2.35 [debug] exe versions: ffmpeg N-118905-gcbbc927a67-20250324, ffprobe N-118905-gcbbc927a67-20250324, rtmpdump 2.4 [debug] Proxy map: {} Removing cache dir /home/nico/.cache/youtube-dl ... [youtube] VkAGO65m7zA: Downloading webpage [youtube] VkAGO65m7zA: Downloading TVHTML5 API JSON [youtube] VkAGO65m7zA: Downloading player 363db69b [debug] [youtube] Decrypted nsig hfNZjNyvEvbXH8GgQ => lTBfL0Mv03nNQQ [debug] [youtube] Decrypted nsig SnZwwCPJNfqHtV0Tk => JsHrGt7DnNJHkg [youtube] VkAGO65m7zA: Downloading thumbnail ... [youtube] VkAGO65m7zA: Writing thumbnail to: /dev/shm/test-ytd/When food is actually too old to eat.jpg [debug] Invoking downloader on 'https://rr2---sn-5hnekn7l.googlevideo.com/videoplayback?expire=1742992623&ei=j6DjZ-3UEpbXi9oPidOKgA8&ip=<REDACTED>&id=o-AEOleGADhXuRXbThj2VuIcSnjUrVHXZSYGSXEeYo_j0t&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1742971023%2C&mh=FB&mm=31%2C29&mn=sn-5hnekn7l%2Csn-5hne6nzk&ms=au%2Crdu&mv=m&mvi=2&pl=16&rms=au%2Cau&initcwndbps=4437500&bui=AccgBcOLm1YHkTtGqu07fYP5Fel8A4c5q-XRthbkEuQMPN83U9Ty72c4mTtUNJUxse_jULIO_ljbCZKR&vprv=1&svpuc=1&mime=video%2Fmp4&ns=U7AzfhiMtEY_pkkvlCugQiAQ&rqh=1&gir=yes&clen=228049231&dur=986.652&lmt=1742776449710566&mt=1742970544&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=3309224&n=JsHrGt7DnNJHkg&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRgIhAItHUWwrzIfkhuj5qFuknvypVvS9O37PcvY3KiINKrnRAiEAlqo55UdO9FMjAMwgVm5WOAHzw6_ZVM2JFNBDAYsFX_g%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AFVRHeAwRgIhAN2Sc9eA0N5nprqjyM5zXmeKKYuZ2glBBcViD-wGCLszAiEA093797tCvs0GHOGWXbfu900wqhsd38EwivZc7FcnEac%3D' [dashsegments] Total fragments: 22 [download] Destination: /dev/shm/test-ytd/When food is actually too old to eat.f137.mp4 [download] 100% of 217.48MiB in 00:09 [debug] Invoking downloader on 'https://rr2---sn-5hnekn7l.googlevideo.com/videoplayback?expire=1742992623&ei=j6DjZ-3UEpbXi9oPidOKgA8&ip=<REDACTED>&id=o-AEOleGADhXuRXbThj2VuIcSnjUrVHXZSYGSXEeYo_j0t&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1742971023%2C&mh=FB&mm=31%2C29&mn=sn-5hnekn7l%2Csn-5hne6nzk&ms=au%2Crdu&mv=m&mvi=2&pl=16&rms=au%2Cau&initcwndbps=4437500&bui=AccgBcOLm1YHkTtGqu07fYP5Fel8A4c5q-XRthbkEuQMPN83U9Ty72c4mTtUNJUxse_jULIO_ljbCZKR&vprv=1&svpuc=1&xtags=acont%3Doriginal%3Alang%3Den-US&mime=audio%2Fmp4&ns=U7AzfhiMtEY_pkkvlCugQiAQ&rqh=1&gir=yes&clen=15969555&dur=986.708&lmt=1742776468552695&mt=1742970544&fvip=1&keepalive=yes&lmw=1&c=TVHTML5&sefc=1&txp=3308224&n=JsHrGt7DnNJHkg&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cxtags%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhALAFRAve53AwIraDDScIy3fTXC3lvcudPLgLuo2qC6FDAiB4JzhAepvrlxaJpc-4Bc76PA3jlRnWlvyxI3Z3_A-ZVg%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AFVRHeAwRgIhAN2Sc9eA0N5nprqjyM5zXmeKKYuZ2glBBcViD-wGCLszAiEA093797tCvs0GHOGWXbfu900wqhsd38EwivZc7FcnEac%3D' [dashsegments] Total fragments: 2 [download] Destination: /dev/shm/test-ytd/When food is actually too old to eat.m4a.f140-1.m4a [download] 100% of 15.23MiB in 00:00 [ffmpeg] Merging formats into "/dev/shm/test-ytd/When food is actually too old to eat.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/test-ytd/When food is actually too old to eat.f137.mp4' -i 'file:/dev/shm/test-ytd/When food is actually too old to eat.m4a.f140-1.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/dev/shm/test-ytd/When food is actually too old to eat.temp.mp4' Deleting original file /dev/shm/test-ytd/When food is actually too old to eat.f137.mp4 (pass -k to keep) Deleting original file /dev/shm/test-ytd/When food is actually too old to eat.m4a.f140-1.m4a (pass -k to keep) [ffmpeg] Adding thumbnail to "/dev/shm/test-ytd/When food is actually too old to eat.mp4" [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/dev/shm/test-ytd/When food is actually too old to eat.mp4' -i 'file:/dev/shm/test-ytd/When food is actually too old to eat.jpg' -c copy -map 0 -map 1 -disposition:v:1 attached_pic 'file:/dev/shm/test-ytd/When food is actually too old to eat.temp.mp4' Edited March 26 by nicolaasjan 2
j7n Posted March 26 Author Posted March 26 I forgot to say that I use YT-DLP. But it seems to also work with today's update. 1
nicolaasjan Posted March 26 Posted March 26 2 hours ago, j7n said: I forgot to say that I use YT-DLP. But it seems to also work with today's update. Yes, that was fixed 2 days ago with this commit. 1
user57 Posted March 26 Posted March 26 On 1/26/2025 at 1:05 AM, VistaLover said: ... This is a binary hack (HexEdited official binaries) that uses OCA wrapper DLLs (libkrnl.dll, libadv32.dll, libhlp32.dll, libns32.dll, libws32.dll, libxbc.dll, libxt.dll) and, as such, the patched python.exe will ONLY run on XP SP3, at best (e.g., it doesn't run under Vista SP2 32-bit, throwing: The procedure entry point ntdll.CsrNewThread could not be located in the dynamic link library libxt.dll ) ; I realise the thread's title mentions "WinXP" (but several other Windows versions have been mentioned already, I suppose OP wouldn't mind ), but it would be a great injustice if a solution for XP was eventually found but not one for Vista ... The way to go is to mod py3.10+ source and then build with a suitable compiler and flags so as to produce binaries that would run on NT 5.1 upwards natively (that's the procedure cmalex followed for his py3.9 offering, additionally targeting the SSE instructions set - but this last bit might be quite unrealistic for py3.10+) ... Another route I thought of is to hex-edit the adang CPython binaries, that already target NT 6.1, and link them to custom-made DLL wrappers, much like how Supermium 32-bit is able to run under XP and Vista - but this is all totally over my head ... FWIW, I think "embedded" Python distributions are inapt for producing yt-dlp Windows binaries via PyInstaller (as you've found out yourself ); not only is a working copy of pip needed, but also an "include" directory with header (.h) files... TL;DR: The task in demand needs experienced Python and C/C++ coders, with knowledge of the NT 5.x/6.0 kernel functions... this might be a good moment to mention the "engine problem" again first the one-core-api is giving a nice support for some win6+ apis since we talk about phyton stopping the xp support we can point out the engine question again a engine often use functions of a certain OS, is written for that certain OS elder programming languages useally never had a such point neither if it was c, c++, assembly, basic, delphi because that are a programming language ... that dont need a certain "windows, linux, mac" function today that is changing the new c++ styles often get tranlated into a different code (which then use a OS function) -> and then you have it your nt 6+ is involved a such example would be the c-runtime - even tho you written a normal c++ code the c++ code still now involves that c-runtime and that c-runtime use nt 6+ functions for c++ mutex would be a such example https://en.cppreference.com/w/cpp/thread/mutex however there is not only a nt 6+ interpration for this (aka srw locks) you also could use a thread based atom style to solve this problem there are some more, keyed_events, mutex windows functions as as createmutexa, creatthread styles, or criticalsection styles when i saw a new project i saw the following problem it uses DX11 it uses phyton it uses cmake it needs VS2019 (aka new c++ styles + the c-runtime) the project itself already where written with windows 10 functions often you dont have insight into the things these use (i often call them engines) lets say phyton break - then you cant compile it up because phyton decided to longer like xp if cmake use nt6 then you also cant compile up if visual studio wants a newer version you cant compile up if directx wants a newer version of directx you also cant compile up that makes it a lot to go through before you even can do anything the new trends doing exactly so even ffmpeg is going into that direction (for example ffmpegs cuda engine) in this discussion it seems to be bond to phyton a possible solution would be a code translation from phyton to c++ (normal styles ones) a good thing with c is that you can always have a c interpration in comparison to a other language without having a hard time with a lot of math like in assembly assembly for example can represent any language - its because all languages create a assembly code in the end c++ made a good compromise (but new c++ styles going into a direction to be something like a java script) im trying to point out that all of these try not to be just a programming language, they going into a different direction to like a script and engines so if phyton is not possible anymore, i would suggest a translation to c++
j7n Posted March 29 Author Posted March 29 (edited) Downloading an Opus file in a Matroska container still gives it a .webm extension, which I need to rename to .mka to play in MPC-HC. It should be given any audio extension. (MPC-HC can pick up extra audio files, which is meant for dubbed movies.) The previously mentioned command-line asks for AAC, but sometimes it gives me Opus. Edited March 29 by j7n
gaouser Posted April 10 Posted April 10 It's a better idea to make a YT proxy server. and fetch the videos as MP4/WMV from there with a custom client for it. I may in fact do that. as backportings getting harder and harder.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now