PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[Bug] Audio distortion and playback/buffering issues when "Force SABR" is enabled

Open whyohwhys opened this issue 5 months ago • 5 comments

Checklist

  • [x] I make sure that the issue is NOT a duplicate of pinned issues
  • [x] I make sure I am using the LATEST version - check here
  • [x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • [x] I have attached the error report in the issue

Describe the bug

Image

Description: Enabling the "Force SABR" option (as shown in image_cd76b9.png) causes severe audio distortion and changes in playback behavior.

Playback & Buffering Issues:

Long Initial Loading: Videos take significantly longer to start loading when first opened.

Frequent Buffering & Freezing: Frequent buffering occurs during playback, causing the video to freeze or appear completely stuck.

Background Playback Stability: On the positive side, background playback experiences fewer crashes or sudden disconnections compared to before.

Audio Symptoms:

Muffled & Wavering Music: The background music sounds muffled, distorted, and constantly fluctuates or wavers (similar to an underwater effect).

Unstable SFX Volume: Sound effects experience sudden volume spikes and drops, making the overall audio levels highly erratic and unstable.

Pitch Stretching: The audio pitch occasionally stretches or warps, creating an unnatural and eerie sound.

Version

5.2.0

Frequency

Always (100% of the time)

Device

s23

Steps to reproduce the bug

No response

Additional context

No response

whyohwhys avatar Jun 29 '26 16:06 whyohwhys

I knew this day would come 😭. I knew about this issue when I was working on SABR; I encountered a lot of bugs and unstable behavior, but I think I can persevere through it and crack a solution.

I’m on it, @InfinityLoop1308 :)

Priveetee avatar Jun 29 '26 16:06 Priveetee

I knew this day would come 😭. I knew about this issue when I was working on SABR; I encountered a lot of bugs and unstable behavior, but I think I can persevere through it and crack a solution.

I’m on it, @InfinityLoop1308 :)

Thank you so much for all your hard work. I truly appreciate this app and am so grateful to use it every day.

For the past few days, I was mostly watching podcast-style content that only featured conversations, so everything seemed fine. However, with the recent release of Deltarune chapter 5, I was watching a Chapter 5 gameplay video and noticed the audio cracking, distorting, and skipping wildly—honestly, it sounded almost "haunted."

This prompted me to investigate what was causing the issue, and I discovered it happens depending on whether the SABR option is turned on or off.

I really hope this can be resolved. Thank you once again for everything you do!

whyohwhys avatar Jun 29 '26 16:06 whyohwhys

Thx a lot @whyohwhys :p, btw can u please share the link of the video please so maybe I can reproduce it on my device and capture the logs 😊

Priveetee avatar Jun 29 '26 16:06 Priveetee

Thx a lot @whyohwhys :p, btw can u please share the link of the video please so maybe I can reproduce it on my device and capture the logs 😊

Here is a specific timestamp where the issue is most prominent: https://youtube.com/watch?v=s4MiZG5S5tU&t=14158

If you listen to the stage-clear music at this section, you can clearly notice how it deviates from the original audio—the sound fades into the distance, drops in volume, and then certain notes suddenly spike or pierce through.

This artifact occurs throughout the entire video during general gameplay and combat whenever background music is playing:

Distant Audio: Certain sound effects or music tracks randomly sound far away or muffled.

Audio Stretching: The pitch and audio frequently stretch or warp.

Volume Spikes: Specific notes or frequencies unexpectedly pop out and sound way too close or loud.

whyohwhys avatar Jun 29 '26 16:06 whyohwhys

Thx, I know exactly what it is 😭 Probable isolated cause: on some gameplay videos, YouTube exposes several AAC itag=140 variants.

The code was just picking the highest bitrate, so it could grab a variant with xtags=CgcKAnZiEgEx, which decodes to vb=1 (voice boost that u can see on certain youtube video), instead of the normal AAC xtags=null. That could explain the volume/pitch/compressed sound, especially on music/SFX or other.

Priveetee avatar Jun 29 '26 16:06 Priveetee