-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Strong audio compression artifacts audible since version 0.22.0 #6138
Comments
I have encountered the same bug. I have a guess why it is happening. After the update the default audio quality of DASH format become 54 kbits/s. And there is no option to see or change it in the UI. it should have been max which is 140 kbits/s. For now a temporary solution is switch to Audio format change the audio quality to 140 kbits/s and then switch back to DASH format, Although changing video quality after that brings back the problem again. |
For a moment I thought this was not happening for other people, I even tried asking #5678 author who apparently got this problem fixed in 0.22. Just to add a bit of information: it seems the player uses opus 249 stream for every video that has it available, instead of 251. Artifacts are extremely noticeable on stream 249 as its bitrate is really low. It's so impactful that for a reasonable amount of videos, the stream is not even generated by YouTube. |
I replaced this line: FreeTube/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js Line 1248 in d158d29
with chosenVariant = matches.reduce((prev, current) => {
return (current.audioBandwidth > prev.audioBandwidth) ? current : prev
}, matches[0]) and it seems to improve things; I see Opus 251 and AAC 140 (128kbps?) instead of Opus 249. However, this is only if you don't select a quality manually. Selecting a quality manually chooses low quality audio streams. I don't know how to fix it fully (and this 'fix' is suspiciously hacky to me). |
I'm having this issue with the latest version off the development branch as well. |
This comment has been minimized.
This comment has been minimized.
Please do not close this, it's one of the issues that affects usability the most right now, only second to the new hapazard 403 errors. |
This issue is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Is this something we can expect to be changed? Freetube always seems to default to 53 kbps audio for me, which often sounds completely dreadful. I can only change it by switching to audio formats, changing the audio bitrate and then back to video for every video individually. Would be really nice to just have a separate audio quality option. |
It can be tied directly to video qulity, audio does not requite that much datarate. The Youtube web player uses high quality audio for 480p and above. I see no reason why Freetube can't do the same. |
A slightly less annoying workaround is to set Freetube to default to audio formats, then switch to DASH for each video. For some reason, it seems to default to the highest bit rate that way. So, at the very least, you are switching from audio to DASH, rather than going from DASH to audio, changing the audio quality, then going back to DASH. I wonder if it would be possible to simply add an audio quality button into DASH? |
Guidelines
Describe the bug
Since updating to version 0.22.0 on Debian 12/Flatpak, I notice strong audio artifacts in videos using FreeTube that were not there before. The artifacts sound like a form of heavy audio compression ("aquarium-effect") and appear in every quality setting using the DASH video format. I can only compare legacy formats in 360p, however, even on this lower quality setting, the audio artifacts are less noticeable (or different) than using the DASH format.
The artifacts are much more noticeable with music, rather than speech. To reproduce, play the following video in both FreeTube and the native YouTube website:
https://youtu.be/G4qVG_FL4_s
Already in the beginning, the artifacts can be heard in the "s"-sounds of the voice and the clarity of the precussion.
Expected Behavior
FreeTube should not introduce audio artifacts and did not in past versions (at least not audibly).
Issue Labels
feature stopped working
FreeTube Version
v0.22.0 Beta
Operating System Version
Debian 12
Installation Method
Flathub
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
previous version
Additional Information
No response
Nightly Build
The text was updated successfully, but these errors were encountered: