Open beew opened 3 years ago
yt-dlp
returns an URL to 360 video in different mapping. youtube-dl with my custom user agent returned URL to video with spherical image (this is supported by QMPlay2).
So is there any fix?
I don't know yet.
Hi, youtube-dl has fixed its stuttering problem. I tried again replacing yt-dlp with youtube-dl (and renaming). Spherical view doesn't get flatten but very distorted. You can see it could kind of work maybe with some tweaking.
Hmm, youtube-dl is still maintained. However it's not released yet, so how can I test it quickly?
You just download the script from http://ytdl-org.github.io/youtube-dl/download.html
There have been a lot of commits since it went dead in 2021, they seemed to have backported some features from yt-dlp
You just download the script from http://ytdl-org.github.io/youtube-dl/download.html
But it's 2021, very old. I've tried it and 360 video stutters a lot, buffering was very slow, but image was good.
Hi, I just tested again.
This time I got the git version of youtube-dl from https://github.com/ytdl-org/youtube-dl/commits/master I cd into the folder and type make to create the youtube-dl binary.
Rename it yt-dlp and put it in ~./config/QMPlay2
The initial buffering might take a bit longer but no stuttering. 360 degree videos also works perfectly.
Ok. If they'll release it, I consider adding an option to choose yt-dlp or youtube-dl.
Hi,
Built qmplay2 from master, it works except with yt-dlp the videos are not in 360 deg format, but a 'flatten out' version, e.g https://www.youtube.com/watch?v=hNAbQYU0wpg
In QMPlay2 go to Playlist > Add > Address and then play the video, it is not in 360 degree format.
With youtube-dl 360 degree works but the stream stutters and stalls due to buttering (put youtube-dl in ~/.config/QMPlay2 and rename it yt-dlp)
OS is Ubuntu 20.04
See also my post here with the appimage.
https://github.com/zaps166/QMPlay2/issues/441#issuecomment-952596119