Jump to content

Who here has a Youtube-DL compile for WinXP?


Recommended Posts

Posted
On 10/9/2024 at 11:09 PM, VistaLover said:

Python coders of this era have no consideration at all :thumbdown for backwards compatibility; they'd like to only code in Python 3.20, if they could get their hands on it now, supposedly because it makes their lives "easier"; with the official PSF stance being "we only support what Microsoft supports", this practically means that Python projects will soon ONLY run under Win[10/]11, on H/W compatible with these OSes only :realmad: ; to add insult to injury, with Win11 being 64-bit only, I have trouble already finding 32-bit compiles for many of the (open source) programs I want :( ...

Where I work, the software they do had support for pre-Win10 recently dropped along with 32-bit builds. The worlds of free open-source and proprietary commercial software alike have been rolling in 64-bit for a long time now. I mean, AMD Opteron was released in 2003. What kind of support did you get for Apple II in 2001, hm?


Posted (edited)

@nicolaasjan thanks, with mobile user agent its work! The are any way to add this user agent directly in youtube-dl with out put it manually in cmd, for example i use some software to automatize process, like send youtube link from browser extension to mpv or qmplay2 they run youtube-dl to play video. So any way make it work?    

Edited by S75
Posted (edited)
5 hours ago, S75 said:

@nicolaasjan thanks, with mobile user agent its work! The are any way to add this user agent directly in youtube-dl with out put it manually in cmd, for example i use some software to automatize process, like send youtube link from browser extension to mpv or qmplay2 they run youtube-dl to play video. So any way make it work?    

Yes, you can put that line in your youtube-dl config file. :)

E.g.:

C:\Documents and Settings\$USER\Application Data\youtube-dl\config.txt

My config file for youtube-dl:

--rm-cache-dir
-i
--no-mtime
--add-metadata
--embed-thumbnail
-o "~/Desktop/%(title)s.%(ext)s"
-f bestvideo[height<=1080][vcodec^=avc][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best
--user-agent "Mozilla/5.0 (Android 14; Mobile; rv:115.0) Gecko/115.0 Firefox/115.0"

 

Edited by nicolaasjan
Posted (edited)

@nicolaasjan 

Thanks, i just forgot about config file. Its works :cool:

Maybe you can help me with one more thing. With mpv or other player that can work with youtube-dl its only 360p can be playable, because only this format is not split for video and audio, all other is in dash container separate video and audio. 

The are any way to config or fix this dash problem for youtube-dl and player like mpv? I try gpt to help me with this, he send me config for mpv

ytdl-format="bv*[vcodec=vp9][height<=480]+ba/b[height<=480]"

but when i try it mpv is just open wait and close.

I have ffmpeg in same folder, with download dash video i have not any problem, but for play it from link only 360p. :unsure:

Edited by S75
Posted
1 hour ago, S75 said:

Maybe you can help me with one more thing. With mpv or other player that can work with youtube-dl its only 360p can be playable, because only this format is not split for video and audio, all other is in dash container separate video and audio. 

The are any way to config or fix this dash problem for youtube-dl and player like mpv? I try gpt to help me with this, he send me config for mpv

ytdl-format="bv*[vcodec=vp9][height<=480]+ba/b[height<=480]"

but when i try it mpv is just open wait and close.

I have ffmpeg in same folder, with download dash video i have not any problem, but for play it from link only 360p. :unsure:

I use:

ytdl-format="bestvideo[height<=1080][ext=mp4][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4]/best"

Only mp4 with avc codec plays hardware accelerated on my old PC...

Pass hwdec=auto to MPV.

Is your MPV player (or other player) up to date?

Posted (edited)
37 minutes ago, nicolaasjan said:

Is your MPV player (or other player) up to date?

no, i try use all this BDSM in my Pentium III SSE system, last version of mpv support it is this. 

The are 3dyd software youtube source that can play dash but only in mpc, in my system its has not good performance. And its outdate to, new version dont work with win xp. only 2.3.1  

 

Edited by S75
Posted
2 hours ago, S75 said:

but when i try it mpv is just open wait and close.

I have ffmpeg in same folder, with download dash video i have not any problem, but for play it from link only 360p.

... The separate standalone mpeg-dash streams are in a media format/container (iso6dash) that IS NOT compatible with old media players (such as mpv from back in 2015 :( ); when you download via yt-dl and a recent-ish build of ffmpeg is used, the separate media streams are muxed together into a standard iso MPEG4 container that has been supported for at least two decades... The 360p encode is itself by default packaged (and streamed) inside a "proper" MPEG4 container (with its mov atom placed in the beginning of the MP4 file) ...

Posted

You can play the separate streams in recent media players such as Media Player Classic Homecinema. Seeking is slow because that format doens't have a complete index or something like that. But I can avoid having ffmpeg. I avoid that monstrosity. Usually I watch videos straight through once and only skip over sponsorships.

Sometimes YT gives me a VP and Ogg Opus as the best formats. The extension given to the audio is "webm," and the player doesn't recognize it as an audio stream until it is renamed (should be mka or something). I couldn't do bug report about this because I don't use the official build.

Posted
16 hours ago, VistaLover said:

IS NOT compatible with old media players (such as mpv from back in 2015 :( )

that is sad, i know that this old mpv is not better choice for dash, but ask maybe the are some life-hack or trick to make it works. Old mpv is not best player for functionality, but its have good performance so i use it for most heavy file. There is one more good player for old xp system that have good performance and much more better functionality than mpv, its call Qmplay2 its my favorite player, but its old xp version has same problem with DASH like mpv. I write to git issue to request author update it but he do not interest of it at this time. So i try find some way to make it (Great again :D) work with youtube-dl with video hither than 360p.  

I have problem with DASH even with my modern version of mpv and yt-dlp. But with some troubleshooting i make it work with this mpv.conf

ytdl-format="bv*[height=1080]+ba/bv*[height<=720]+ba"

--ytdl-raw-options=merge-output-format=mkv

 

8 hours ago, j7n said:

You can play the separate streams in recent media players such as Media Player Classic Homecinema.

Yes i use it as main for now, how i said in previous post i use 2.3.1 version of 3DYD Youtube Source, its very good software, but i cant get any answer or support from it author, i write him email many time, to tell him about back support for win xp, but he didn't answer.

MPC is not so bad choice for watch video, but as i said mpv and Qmplay2 has better performance so if i can choice i choice it.

Posted (edited)
6 hours ago, S75 said:

MPC is not so bad choice for watch video,

On my XP VM I use a version from the My Digital Life Forums made by @Maroc. Works very well.

Links are visible only when logged in.

https://forums.mydigitallife.net/threads/some-of-my-latest-apps-done-for-xp.87973/

MPC-HC 2.2.1 (based on Release 2.2.1)

Unfortunately he stopped making new versions of his programs. :(

No idea if it is SSE compatible.

 

Edited by nicolaasjan
Posted

I download videos to the disk using the YT-DLP application instead of using the source filter. An exe file is easier to swap when it stops working. And I don't like upgrading the player because it changes many things that I prefer to keep as they are. Video plays on the Nvidia GPU. That is as good performance as it gets. On a fast computer, the seeking issue is also less noticeable. The ffmpeg in the background is the same in all players. When I occasionally get a "VP" codec and the resolution is HD, that is unwatchable on the CPU.

On the YouTube site I can't effectively seek around the timeline for multiple reasons. They really want to ram the advertisements down your throat. 1) If I seek, it will usually pop up an ad immediately, 2) The laggy performance, 3) The imprecise scrollbar with the big round knob.

I've not updated Yt-DLP for many months, and it still works.

  • 1 month later...
Posted (edited)

I've updated youtube-dl, applying the pending fix for YouTube.

See:

https://github.com/ytdl-org/youtube-dl/pull/32987.

You may have to pass cookies (from logged in account) and the following user agent:

--user-agent "Mozilla/5.0 (Android 14; Mobile; rv:128.0) Gecko/128.0 Firefox/128.0"
--cookies "C:\Documents and Settings\$USER\Application Data\youtube-dl\cookies.txt"

 

Edited by nicolaasjan
Posted
14 hours ago, nicolaasjan said:

You may have to pass cookies (from logged in account)

... So far, I have resisted selling my soul to Google :realmad: by registering an account with them (yes, I do use their "services" occasionally, but only as an "anonymous" user :P ; I do not even own an Android device :whistle:), but that would be "the last straw on the camel's back" for me :( if a Google account becomes now mandatory to grab a local copy of a YT clip (via yt-dl, yt-dlp, etc.)  :angry: ; not to mention that downloading while being logged-in is a sure recipe for Google's AI to (b)lock your YT account eventually (lots of such reports inside the yt-dl/yt-dlp GH trackers) ...

Posted

Until now, with yt-dlp I can still download non age-gated videos without passing cookies. :)

Today, I tried with my build of youtube-dl and got the 403 error even when passing fresh cookies... :dubbio:

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