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

Missing ability to choose stream quality/codec #2

Open
Extravert-ir opened this issue Nov 30, 2019 · 2 comments
Open

Missing ability to choose stream quality/codec #2

Extravert-ir opened this issue Nov 30, 2019 · 2 comments

Comments

@Extravert-ir
Copy link

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

@azrafe7
Copy link
Owner

azrafe7 commented Jun 27, 2020

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

var quality = "highest";
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)

@Animationss
Copy link

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

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

3 participants