vlc4youtube icon indicating copy to clipboard operation
vlc4youtube copied to clipboard

Missing ability to choose stream quality/codec

Open Extravert-ir opened this issue 5 years ago • 2 comments

Very useful addon!

I'd like to be able to choose the default selected codec and quality, because right now the choice is not optimal for me (for example, I have hardware decoding for webm, but it still opens an h264 stream).

Maybe I have missed something? I'm using the addon on Firefox

Extravert-ir avatar Nov 30 '19 08:11 Extravert-ir

As you can see from the screenshot below usually youtube videos have very few links with streams with already composited audio+video (for this song only one is composited for example), and if you want a different quality you need to manually mix the separate audio and video streams together.

image

Not sure if that's always the case or if there are YT pages with a relevant number of audio+video links (if you know one please post it here).

Sidenote: if you know your way around programming, addons and how to load an unpacked extension (a guide is here https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/) you can try to change the value of quality from "highest" to "lowest" in here https://github.com/azrafe7/vlc4youtube/blob/6fe3425554ce04657571eebbda2e53ad63a29f5e/js/popup.js#L121 and see how it behaves.

(for more info about quality, filter and ytdl.utils.chooseFormat() you can check https://github.com/fent/node-ytdl-core#ytdlurl-options)

azrafe7 avatar Jun 27 '20 01:06 azrafe7

So how would i set the default quality on edge (linux) or on chrome to 1080p all the time cause it always defaults to 360p and its pain

Animationss avatar Oct 08 '21 15:10 Animationss