code-charity / code-charity/youtube
Add option to force M4A audio track or block other audio codecs
Nobody has claimed this yet.
- 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
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 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