Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play/download certain YouTube videos #155

Closed
Phoenix616 opened this issue Apr 13, 2019 · 4 comments
Closed

Can't play/download certain YouTube videos #155

Phoenix616 opened this issue Apr 13, 2019 · 4 comments

Comments

@Phoenix616
Copy link

Trying to play or download certain videos seems to be failing. They player just loads for a long time and the downloader fails with a 404 error.

The only video with this issue that I've encountered so far is this one: https://www.youtube.com/watch?v=jdELRPEbX4A

It seems to play fine on the website or official app but other third party players (noticed it in Kodi first) seem to fail too.

@theScrabi
Copy link
Member

Noticed invideo.us has similar issues. Could you test if you can download the video using youtube-dl? Maybe they have a solution.

@omarroth
Copy link

Invidious will sometimes have issues with playback since users download the video from a different IP from where the video is requested. See iv-org/invidious#92, you should be able to fix this with &local=true.

I'm able to play/download the video linked in Invidious, youtube-dl, and NewPipe. I expect though the issue in this case is similar to fent/node-ytdl-core#417. To paraphrase: the video signature sometimes needs to be added as a different param name than &signature=. See also ytdl-org/youtube-dl#18927.

This line likely needs to be changed to something like:

streamUrl = streamUrl + tags.get("sp") + decryptSignature(tags.get("s"), decryptionCode);

Similar to this line in Invidious.

@hp8wvvvgnj6asjm7
Copy link

Same here since two weeks.. please when do you release an update?

@AudricV
Copy link
Member

AudricV commented May 29, 2022

This issue should have been fixed (non-progressive/unavailable streams have been hidden since 0.20.0 and extraction of streams with signatureCiphers is handled properly), that's why I am closing this issue.

If that's not the case, please let us know.

Thank you!

@AudricV AudricV closed this as completed May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants