avi12/youtube-auto-hd

[Feature request] Resolution conditional on aspect ratio

avi12 opened this issue · 3 comments

Discussed in #139

Originally posted by hung0702 February 12, 2024
I use this great extension on several devices. For each, I just set it to one resolution and forget it. However, many youtube videos are now coming in wider formats, like 1.85:1 or 2:1. For these, I use a tampermonkey script to auto zoom (filling vertical height). In these cases, I start to notice the lower quality and have to raise it.

For my QHD display, I run widescreen videos at 4k. I see there are advanced options to condition the resolution on the framerate. Could this implementation be adapted to detect the aspect ratio and adjust the resolution? This request is very specific to my use case with an external tool to change video zoom. Do you think this feature would be valuable to others?

Sounds like a very interesting feature, I wonder though how many users will find it useful
Can you create a compelling Figma sketch to showcase a possible UI modification? Remember that it must be compelling for both basic and advanced users (e.g. add a toggle)

I have heard of Figma a lot but haven't looked into it. This seems like a good opportunity, and I'll dig in later.

Before that, I thought about it a bit and wanted some feedback. Right now, framerate is being used to determine quality. This request proposes adding aspect ratio.

Other conditions may arise that prove meaningful and interesting. Would it be valuable to redesign to use an Adaptive resolution toggle that contains all the conditions and their config menus? Might be scope creep.

I think MVP would just be an Extra-wide next best resolution toggle that would detect your viewport and if lower than current resolution would request the nearest stream resolution equal to or greater than the current res? Compared to framerate, I don't think granularity would add value (sliders and quality for specific resolution ranges). People will either just toggle it on or off if they use a crop tool.

AFAIK the majority of users don't even need the FPS separation; they just set the quality to all FPS ranges with the single slider
The advanced users do separate the quality for each FPS range
Keep in mind that there's also a setting of toggling enhanced bitrate, which is relevant to only a small-ish subset of the users (considering that ~1B users are on desktop and ~28M are Premium subscribers in the US)

So basically, the UI needs to be both simple for unknowledgeable users and complex for advanced users (FPS separation with enhanced bitrate toggles, aspect ratio thing)