code-charity / code-charity/youtube
Enable an option for AV1 like youtube's "Always prefer AV1" But have it NOT fall back to a lower res"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 996
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 7
Description
Is it just me or have you all been there? Your hardware can perfectly support AV1 and you enable "Always prefer AV1" in https://www.youtube.com/account_playback which will allow you to always view AV1 if it is enabled in the said video no matter what the resolution is. That's the problem though.
But when you enable this setting, Youtube won't care what resolution it is and always use the AV1 codec when available. So I think that it would be nice to add a feature which would be "Prefer AV1 if at highest res" Or a set resolution that we can choose. (I would choose 1080p). So I won't have to randomly stumble upon 144p videos that are encoded in AV1 with no other resolutions available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the extension's playback, quality, and codec-preference controls to find where YouTube's AV1 preference is handled. Confirm how available resolutions are selected, then define completion as allowing a highest-resolution or chosen-resolution threshold so AV1 does not force playback at a lower resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100