Thann / play-with-mpv

Chrome extension that allows you to play videos in webpages like youtube with MPV instead
https://chrome.google.com/webstore/detail/play-with-mpv/hahklcmnfgffdlchjigehabfbiigleji
The Unlicense
348 stars 80 forks source link

LAGG #68

Open Animationss opened 2 years ago

Animationss commented 2 years ago

When ever i attempt to play a video it lags a lot i alr have the all videos caped to 1080p but nothing works ive even tried capping the fps to 30 (--fps=30) but that does not work I here is a small video showing whats going on (dont mind the quality i dont have obs set up)

d0020002 commented 2 years ago

its youtube-dl issue script-opts-add=ytdl_hook-ytdl_path="/opt/bin/yt-dlp" in mpv.conf fixes issue for me of course install yt-dlp

Animationss commented 2 years ago

its youtube-dl issue script-opts-add=ytdl_hook-ytdl_path="/opt/bin/yt-dlp" in mpv.conf fixes issue for me of course install yt-dlp

So i put that script into the mpv.conf but nothing changed it may be because im using linux and the "opt/bin/yt-dlp file does not exist for linux users but i have no clue on where it might be on linux i've even tried looking as root in files

EDIT: Noticed that terminal says this [ytdl_hook] script-opts: unknown key ytdl_path, ignoring

tooothpaste commented 2 years ago

its youtube-dl issue script-opts-add=ytdl_hook-ytdl_path="/opt/bin/yt-dlp" in mpv.conf fixes issue for me of course install yt-dlp

So i put that script into the mpv.conf but nothing changed it may be because im using linux and the "opt/bin/yt-dlp file does not exist for linux users but i have no clue on where it might be on linux i've even tried looking as root in files

EDIT: Noticed that terminal says this [ytdl_hook] script-opts: unknown key ytdl_path, ignoring

Using script-opts-add=ytdl_hook-ytdl_path="/bin/yt-dlp" instead worked for me on linux