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

ytdl-format (option not found) #668

Open
1 task done
AaronStiff opened this issue Apr 1, 2023 · 4 comments
Open
1 task done

ytdl-format (option not found) #668

AaronStiff opened this issue Apr 1, 2023 · 4 comments

Comments

@AaronStiff
Copy link

Before Making This Post

  • I have taken a look at both man pages, ytfzf(1) and ytfzf(5)

What do you need help with?

When I try to play a video with alt+v, I get this error:

Error parsing option ytdl-format (option not found)
Setting commandline option --ytdl-format=bestvideo+bestaudio/best/bestvideo/bestaudio failed.

I've already installed youtube-dl and yt-dlp. I've seen several flags related to youtube-dl, but the man pages don't list what options I can pass them.

@Euro20179
Copy link
Collaborator

What version of mpv do you have?

@AaronStiff
Copy link
Author

mpv 0.35.0-348-g0f13c38e72 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects

@Euro20179
Copy link
Collaborator

I'm sorry, but idk what the problem is here. I can't replicate it, but the error is probably coming from mpv on this line $use_detach_cmd mpv --ytdl-format="$ytdl_pref" $(eval echo "$url_handler_opts") "$@" in the video_player function. That's about as much as I can figure out.

You could try uninstalling youtube-dl as having both youtube-dl and yt-dlp is unnecessary, and yt-dlp tends to work better.

@AaronStiff
Copy link
Author

No worries, it's not a very clear issue and I can't really offer much useful information. I probably messed something up compiling it all. Will try uninstalling youtube-dl.

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