jgreco / mpv-youtube-quality

A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly
368 stars 37 forks source link

Is there a way to set default quality? #18

Open therajat08 opened 3 years ago

therajat08 commented 3 years ago

Also is it possible to control the amount of youtube video loaded in background? I seems like it just keeps loading entire video. And not a portion just ahead of current point of frame or time.

I have another issue. The font size is so large some options aren't even in the screen. How do i change the size?

Thanks

therajat08 commented 3 years ago

okay so i found that i needed to just make profiles in mpv.conf like:

[360p]
ytdl-format=bestvideo[height<=360][vcodec=vp9]+bestaudio/bestvideo[height<=360]+bestaudio/best[height<=360]/best

[480p]
ytdl-format=bestvideo[height<=480][vcodec=vp9]+bestaudio/bestvideo[height<=480]+bestaudio/best[height<=480]/best

Still haven't figured to control the text size.

DrZingo commented 3 years ago

Still haven't figured to control the text size.

you can set it in script-opts/youtube-quality.conf file

example:

scale_playlist_by_window=yes
style_ass_tags={\\fnmonospace\\fs8}

\\fs8 is the fontsize

Darkmaster006 commented 3 years ago

okay so i found that i needed to just make profiles in mpv.conf like:

[360p]
ytdl-format=bestvideo[height<=360][vcodec=vp9]+bestaudio/bestvideo[height<=360]+bestaudio/best[height<=360]/best

[480p]
ytdl-format=bestvideo[height<=480][vcodec=vp9]+bestaudio/bestvideo[height<=480]+bestaudio/best[height<=480]/best

Still haven't figured to control the text size.

Did you find any way to set default quality? Thank you.

Darkmaster006 commented 3 years ago

okay so i found that i needed to just make profiles in mpv.conf like:

[360p]
ytdl-format=bestvideo[height<=360][vcodec=vp9]+bestaudio/bestvideo[height<=360]+bestaudio/best[height<=360]/best

[480p]
ytdl-format=bestvideo[height<=480][vcodec=vp9]+bestaudio/bestvideo[height<=480]+bestaudio/best[height<=480]/best

Still haven't figured to control the text size.

Did you find any way to set default quality? Thank you.

https://github.com/mpv-player/mpv/issues/4241 Second comment worked for me.