Skip to content

Selecting a specific video resolution reduces audio quality to minimum #1441

@AlyoshaVasilieva

Description

@AlyoshaVasilieva

Official Instance

Describe the bug

Selecting a specific video resolution, instead of using Auto, causes Piped to use the lowest quality Opus audio stream available.

To Reproduce

  1. Go to https://piped.kavin.rocks/ and reset preferences, then set Default Quality to something very high such as 2160p
  2. Open https://piped.kavin.rocks/watch?v=dk_Q4KPBqXg with devtools open, observe that it is using video itag 248 (1080p) and audio itag 251 (160kbps Opus), the highest qualities available
  3. Change video's Resolution from Auto to 1080p
  4. Piped now loads video itag 248 (same as before, highest) and audio itag 249 (50kbps Opus, lowest)

Expected behavior

Setting video resolution to the highest available option should not result in low quality audio.

Logs/Errors

N/A

Browser, and OS with Version.

Firefox 104.0.2 on Windows 10

Additional context

Changing the resolution back to Auto does change audio back to the highest quality stream once the quality switch occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions