code-charity / code-charity/youtube

Add option to force M4A audio track or block other audio codecs

Open
#3,367 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Completion Rare use-case?
Dominant language
JavaScript
Stars
4.6k
Forks
996
Avg merge
2d 15h
Merged PRs (30d)
7

Description

Hello,
in default YT uses OPUS audio codec even for music.
But the OPUS track is upsampled to 48000 Hz.
Music is mostly at 44100 Hz and the M4A track keep the original sampling rate.

The addon supports changing the video codec or blocking an video codec, but not for audio.
Please add this feature also for audio.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing option that changes or blocks video codecs, then trace how codec preferences are applied in the extension. Add equivalent handling for audio codecs, including forcing M4A or blocking other audio codecs, and verify that the audio selection behaves as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.