QMPlay2 icon indicating copy to clipboard operation
QMPlay2 copied to clipboard

Windows Xp v20.12.16 minor update for youtube-dl

Open YoshiKill opened this issue 1 year ago • 6 comments

Hello, and thanks a lot for your great work. I have some not trivial request (My tastes are very...singular) I use old Xp version 20.12.16 for my retro Pc, its work great i even can watch youtube with youtube-dl until this day. Now youtube change there stuff and only video source is 360p, all other is in DASH. So my request is ask for update, for this old version, to add chose DASH source of video + audio for youtube-dl, if its possible. It will be great support for retro PC enthusiasts.

IMG_20240623_221222_jpg

IMG_20240623_221328_jpg

YoshiKill avatar Jun 23 '24 20:06 YoshiKill

It must be something else, not DASH. Is it possible to run newer version of youtube-dl there?

zaps166 avatar Jul 05 '24 22:07 zaps166

It must be something else, not DASH. Is it possible to run newer version of youtube-dl there?

(Sorry for long answer, have a big problem with electricity now. )

Some enthusiasts compile mod version of new YouTube-dl and yt-dlp for old PC, yes it's work fine. I make some screen from -F output IMG_20240716_175708.jpg

IMG_20240716_175654.jpg

YoshiKill avatar Jul 16 '24 15:07 YoshiKill

@zaps166 Hello, any news for this not trivial request? There is any chance add Dash support for this XP version?

YoshiKill avatar Oct 13 '24 12:10 YoshiKill

Windows XP is not supported anymore, I don't have any tools already for this.

zaps166 avatar Oct 17 '24 17:10 zaps166

Windows XP is not supported anymore, I don't have any tools already for this.

What tools is needed for compile Qmplay2 in xp? Or modern code don't support work in XP any way? I can try install all software to compile it. If you help me. But if you don't have any interest I understand.

YoshiKill avatar Oct 19 '24 08:10 YoshiKill

You have to use Qt 5.6 branch, Install/compile Qt 5.6.3.

Also verify which version of MinGW/GCC compiler supports Windows XP and compile all needed dependencies (requires older FFmpeg 4.x maybe - don't remember version exactly).

You can try to take DLLs from last QMPlay2 Windows XP release, but you have to have header files and try to link to these DLLs w/o .a files (maybe MinGW can handle it).

zaps166 avatar Oct 19 '24 11:10 zaps166

I don't have tools for Windows XP anymore, I don't want to build environment for 23 years old operating systems, sorry :disappointed: You can do it on your own, also see #776 .

zaps166 avatar Dec 11 '24 07:12 zaps166

@YoshiKill If you have 20.12.06 with Qt5, it should be fairly trivial to backport a fix for HD YT streaming. This commit fixes it: https://github.com/zaps166/QMPlay2/commit/2f9281bb1026afd55650f4c33fdd3f3b91deee85 (Depending on whether it applies cleanly, you may need to backport something else too, but again, if you start from 20.x, this is likely easy.)

barracuda156 avatar Dec 20 '24 06:12 barracuda156

@YoshiKill If you have 20.12.06 with Qt5, it should be fairly trivial to backport a fix for HD YT streaming. This commit fixes it: https://github.com/zaps166/QMPlay2/commit/2f9281bb1026afd55650f4c33fdd3f3b91deee85 (Depending on whether it applies cleanly, you may need to backport something else too, but again, if you start from 20.x, this is likely easy.)

Okey, thanks for idea. I try it 🤝

YoshiKill avatar Dec 20 '24 10:12 YoshiKill

If you have some modern fast hardware, it is not hard to bisect to find a fix you are interested in, as long as you do not need to backport or fix a lot of stuff on the go. YouTube playback issues are largely platform-agnostic, so you can probably bisect and test on a modern system to determine what is needed for a legacy one. (No guarantee that there are no platform-specific issues in addition to generic ones, of course, but perhaps worth trying. Running multiple rebuilds on arm64 with Qt5 saved me a lot of time in debugging this for PowerPC with Qt4.)

barracuda156 avatar Dec 20 '24 10:12 barracuda156