libre-tube / LibreTube

An alternative frontend for YouTube, for Android.
https://libretube.dev
GNU General Public License v3.0
8.7k stars 447 forks source link

setting audio quality "best" doesnt actually change the quality best #6058

Open pokegamer5547 opened 5 months ago

pokegamer5547 commented 5 months ago

Steps to reproduce

Set the audio quality as best in settings

Expected behavior

It should select the one with highest bitrate and quality

Actual behavior

It doean't reapect that and always usea "mp4a.40.2 0kbps" as audio quality. Idk if it's due to HLS.

LibreTube version

0.23.2

Android version

android 13 lineage os 20

Other details

The download button does show higher quality options though. And the audio source option also doesn't seem to provide any additional options.

Acknowledgements

Bnyro commented 5 months ago

HLS doesn't provide bitrate information apparently, only DASH does. So I don't think we can do anything about it for HLS.

pokegamer5547 commented 5 months ago

HLS doesn't provide bitrate information apparently, only DASH does. So I don't think we can do anything about it for HLS.

That's also true, but how does newpipe used to do it tho? They always said even before DASH got implemented that newpipe app always picked highest bitrate audio.

pokegamer5547 commented 5 months ago

@Bnyro so i followed this comment instructions and disabled piped proxy and use hls and it's still working so i assume since i disabled use hls it's using dash. Yet the bitrate is still low.

Bnyro commented 5 months ago

Pinging team members is against the code of conduct, first and last warning.

pokegamer5547 commented 5 months ago

Pinging team members is against the code of conduct, first and last warning.

Ah i understand, i'm sorry about that :(

Bnyro commented 5 months ago

disabled piped proxy and use hls and it's still working so i assume since i disabled use hls it's using dash

No, when disabling the Piped proxy HLS is enforced because Dash playback without proxy was broken by YouTube some time ago, see https://github.com/libre-tube/LibreTube/issues/5524.