ytfzf
ytfzf copied to clipboard
ytdl-format (option not found)
Before Making This Post
- [x] I have taken a look at both man pages,
ytfzf(1)
andytfzf(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.
What version of mpv
do you have?
mpv 0.35.0-348-g0f13c38e72 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
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.
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
.