Closed Bug 1902901 Opened 4 months ago Closed 1 month ago

HLS Streaming sound behaves strange when switching from Sereo to Multi-Channel or Vise-Versa

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 127
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: linden, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0

Steps to reproduce:

I'm using HLS.js to play HLS streams, but when I change the audio source from a Stereo Channel layout to a Multi-Channel one, like 2.0 to 5.1, it sounds just extremely strange to me, either it sounds Slow-Motion or way too fast. Like the audio plays either at 10x or at x0.01 ... Both sounds horrible. This explicitly happens when the Audio Channel Layout changes!

Please also see: https://github.com/video-dev/hls.js/issues/6504

On Chrome, it's working absolutely fine ... No bugs at all, so this does not seems to be a hls.js issue

I also created a Test HLS setup using the Big Buck Bunny clip, it shows the issue immediately when using HLS.js as player on FireFox ... if you switch between Stereo Track it's not a problem, when you switch between Stereo and 5.1 or vise-versa, you directly hear the issue...

The file can be obtained here (HLS structure + input mp4 file):

https://drive.google.com/file/d/1tcqwS2KPm2hcDtI10RL8WfydEifO3H_5/view?usp=drive_link

My User Agent:

Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0

Actual results:

Audio behaves strange on when the Channel layout changes from e.g. 2.0 to 5.1

Expected results:

Sound should play normally! Just like in Chrome.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Hi linden,

Can you please create a log and attach it to this bug? (Please see this very short video for the how-to : https://paul.cx/public/about-logging-presentation.webm)

Thanks!

Flags: needinfo?(linden)

Reporter, please try on Firefox Nightly, I've fixed something recently for this, would be good to confirm.

Flags: needinfo?(linden)

@Paul Adenot: On the 128.0b4 version I currently get at the website -> https://www.mozilla.org/de/firefox/channel/desktop/ ???

Flags: needinfo?(padenot)

(In reply to linden from comment #4)

@Paul Adenot: On the 128.0b4 version I currently get at the website -> https://www.mozilla.org/de/firefox/channel/desktop/ ???

Okay I just tried the 128.0b4 version, but when I switch now the Audio from Stereo to 5.1 or vise-verse the Audio simply drops, I dont hear anything, just the video plays.

Flags: needinfo?(padenot)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)

Fixed that some time ago.

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.