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

[bug]: "Unable to load" a video #45

Closed
justchokingaround opened this issue Jun 22, 2024 · 13 comments
Closed

[bug]: "Unable to load" a video #45

justchokingaround opened this issue Jun 22, 2024 · 13 comments

Comments

@justchokingaround
Copy link

i am unable to get any video to play on nixOS. i've tried building from source and also tried out the latest release, but unfortunately none worked for me. (i'm not sure if this is related to e9c4450, but it seems like that didn't fix it)
image

as you can see here, mpv is able to play the link that is displayed for a given video
image

@darkhz
Copy link
Owner

darkhz commented Jun 22, 2024

I'll take a look into it.

@darkhz
Copy link
Owner

darkhz commented Jun 22, 2024

@justchokingaround, how did you attempt to play the video exactly? Did you press 'a'/'v' on the media item?

@justchokingaround
Copy link
Author

yep, i pressed v. but the same happens for a as well

@darkhz
Copy link
Owner

darkhz commented Jun 23, 2024

Okay, so apparently a particular endpoint in that instance (local=true) is disabled, that's why it doesn't return any media.
I'll issue a fix soon. Meanwhile you can try changing instances and loading media.

@justchokingaround
Copy link
Author

i had the same issue with the couple other instances i tried

@darkhz
Copy link
Owner

darkhz commented Jun 24, 2024

@justchokingaround In the second screenshot, MPV is able to play the video because it extracts all the media information from YouTube (yes, even though the URL provided is an Invidious URL), not exactly from the Invidious instance. That particular instance does not play some videos properly mainly because it contains outdated stream url data, when I tested it. Can you list the other instances you tried so that I can test those as well?

@justchokingaround
Copy link
Author

yeah, i just tried out all of them, and i get that error for every single one of them. the only exception is iv.melmac.space for which i get a Media fetch error

@darkhz
Copy link
Owner

darkhz commented Jun 24, 2024

Even for invidious.protokolla.fi? It seems to be working for me. What is the exact error you get?

@justchokingaround
Copy link
Author

image
image

@darkhz
Copy link
Owner

darkhz commented Jun 24, 2024

Strange, it does work over here:
image

Can you post your MPV version, and also try this command:
mpv 'https://invidious.protokolla.fi/latest_version?id=xXlCcdPz6Vc&itag=139&local=true'

@justchokingaround
Copy link
Author

image

@darkhz
Copy link
Owner

darkhz commented Jun 24, 2024

Can you try upgrading your MPV version to 0.38.0? There were some API changes in the latest version, and the latest commit adapts to those changes.

@justchokingaround
Copy link
Author

this got fixed with mpv 0.38.0. sorry for the late response, i completely forgot 😔

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

2 participants