-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 x.com Videos Anymore #14233
Comments
youtube-dl is unmaintained nowadays, switch to yt-dlp |
I do use |
The commit that adds support for it isn't in any release yet, you need to install the nightly or master branch. yt-dlp/yt-dlp@4813173 Use something like pipx to install yt-dlp, Either way not a mpv issue. |
I did do just that @llyyr but x.com videos still don't won't stream, could it be because I'm using the Flatpak version of |
mpv version shouldn't matter, is mpv using the right yt-dlp executable? You can check with |
So would that be EDIT: I see, just |
yt-dlp just tagged a new release few hours ago, so you can probably just upgrade to it normally instead of installing from master https://github.com/yt-dlp/yt-dlp/releases/tag/2024.05.26 |
Did that & |
does |
Yeah that works (since fixes from |
Can you regenerate the log file with updated yt-dlp? In the previous one, yt-dlp just says the url isn't supported because it wasn't at that version. |
Here you go: output-redux.txt |
yt-dlp says unsupported URL so you probably have an older yt-dlp shadowing the newer one in your PATH, otherwise this is inexplicable. Not a mpv bug either way |
I have no idea how to fix that. How should I proceed? |
Explicitly point mpv to the yt-dlp executable that you know for sure is updated. |
Is that a command I can just run on its own or appended to |
It's a mpv flag so you run it appended to mpv like |
I was going to ask that next. I will try. |
This is the output: [ytdl_hook] Traceback (most recent call last):
[ytdl_hook] File "/home/christian/.local/bin/yt-dlp", line 5, in <module>
[ytdl_hook] from yt_dlp import main
[ytdl_hook] ModuleNotFoundError: No module named 'yt_dlp'
[ytdl_hook] youtube-dl failed: unexpected error occurred
Failed to recognize file format.
Exiting... (Errors when loading file) |
Huh, I regenerated the cookies.txt file & |
mpv Information
Other Information
Reproduction Steps
mpv <INSERT_ANY_X.COM_URL>
Expected Behavior
For the A/V to play in an
mpv
borderless window.Actual Behavior
A/V from https://x.com/ URLS does not play, likely because
mpv
/youtube-dl
is still expecting a https://twitter.com/ URL.Log File
output.txt
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: