SmartTube icon indicating copy to clipboard operation
SmartTube copied to clipboard

[Feature Request]: Autoselect the best audio quality to support multichannel 5.1+ Dolby Digital and Audio presets

Open okibcn opened this issue 11 months ago • 3 comments

Describe the feature you'd like to request

Some videos in YT are recorded in 5.1 ac-3, 5.1 mp4a or even ec-3 (Dolby Digital+). Currently I can access and manually select the multichannel quality, but it reverts to stereo for the next video. The original YouTube app selects the multichannel 5.1 audio quality for every video that supports it when the device supports it too. SmartTube should do the same.

It is quite annoying having to click the HQ button (Playback Quality settings) menu and click again in Audio Formats to select the best 5.1 audio track for that video. If it is too difficult to detect the availability of 5.1, alternative you can implement a similar function currently used for the video stream in the Playback quality settings menu. I am referring to Video Presets, where you can select a higher video quality (i.e. 4K/60) even when the hardware only supports 1080p. It would be nice having also an Audio presets menu.

Describe the solution you'd like

Apply to Audio the same preset policy applied to video quality, playing the best available audio quality for a stream supported by the hardware.

Describe alternatives you've considered

If it is too difficult to detect the maximum quality or multichannel support for the hardware, you can implement Audio Presets working in a similar way to Video Presets, leaving to the user the capability to select the maximum quality desired.

okibcn avatar Jan 11 '25 20:01 okibcn

You can find here some 5.1 YouTube videos to see how the 5.1 track is not selected automatically: https://youtu.be/21bPE0BJdOA https://youtu.be/ClpEj1ayNSs https://youtu.be/YYKlNy7sDZo

okibcn avatar Jan 11 '25 22:01 okibcn

Another example is https://www.youtube.com/watch?v=euf-GKJV2S8 . With the default audio track selection, I have to turn the volume up way, way, way high to make out even half of the words. Choosing "0.38Mbps, ec-3, 5.1" or "ac-3, 5.1" fixes this. As @okibcn said, the YouTube app (on Roku, at least) auto-chooses an audio track that also is correctly loud.

y-lee avatar Mar 13 '25 05:03 y-lee

Bump! I found out that if you set 'adjust audio volume' option then all videos start to prefer the 'middle' sound quality almost for every video no matter you've disable it option or not. In my case I prefer opus over mp4a and on every video I have to choose better quality every time the video is loaded. It's sorted by a stream bitrate from top to bottom and the default for me is always somewhere in the middle, let's say 0.07mbps, not 0.15 mbps! I don't know the logic of that behavior so yes, the preset for audio settings option would be just great!

Ffffnord avatar Nov 28 '25 16:11 Ffffnord