TheGoddessInari / netflix-1080p-firefox

🍿 Force 1080p Netflix playback in Firefox
MIT License
280 stars 4 forks source link

Audio 5.1 not working #29

Open recoed opened 2 years ago

recoed commented 2 years ago

Audio 5.1 it´s not working and audio 2.0 its not working either.

TheGoddessInari commented 2 years ago

I'll need some details. What version of Firefox, which OS? What title(s) are affected? Does it say 5.1 is in use on the debug screen (ctrl+alt+D) for the Audio Track section (about two thirds of the way down)?

For stereo, you should be able to clear/deselect the 5.1 option and have any audio track selected.

recoed commented 2 years ago

Firefox 93, windows 10, its in every title I watch, also, it shows only in German, in the debug log shows in 5.1 but it doesn´t sound in 5.1. And yes when i deactivate the 5.1 audio it works fine.

GutsyHeart commented 2 years ago

Gentoo linux Firefox 95.0.1 Only 2.0

drpoutine commented 2 years ago

make sure you go to about:addons, and in the prefs you have enabled 5.1 in it

only issue i see is that its using heaac-5.1-dash and not the following

    'ddplus-2.0-dash',
    'ddplus-5.1hq-dash',
    'ddplus-atmos-dash',
    'dd-5.1-dash',
scorpius2k1 commented 2 years ago

Arch Linux Firefox 103.0.2 Says 5.1 in Netflix, but actually playing 2.0 System settings and test confirmed working fine with 5.1 surround. image

scorpius2k1 commented 2 years ago

Arch Linux Firefox 103.0.2 Says 5.1 in Netflix, but actually playing 2.0 System settings and test confirmed working fine with 5.1 surround. image

Firefox v100.x.x and greater do not work properly with multichannel (surround, etc) audio such he-aac test streams, but work fine on 99.x. This appears to be a Linux Firefox specific issue unrelated to this extension. Currently, the only workaround I am aware of is to downgrade Firefox to 99.x, certainly not a working solution long-term.

Multichannel audio test streams: https://www2.iis.fraunhofer.de/AAC/multichannel.html

Issue reported on bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1772769

TheGoddessInari commented 2 years ago

I'm seeing @scorpius2k1's described problem on Linux now.

For what it's worth, I'm using pipewire-pulse, instead of the apulse wrapper or pulseaudio daemon.

Is there something that more clearly demonstrates where the problem is coming into play? On the pipewire side, it shows 6 channels coming from firefox, but pavucontrol only shows stereo.

I might try and track down the Firefox pieces myself if I get some time.

scorpius2k1 commented 1 year ago

I'm seeing @scorpius2k1's described problem on Linux now.

For what it's worth, I'm using pipewire-pulse, instead of the apulse wrapper or pulseaudio daemon.

Is there something that more clearly demonstrates where the problem is coming into play? On the pipewire side, it shows 6 channels coming from firefox, but pavucontrol only shows stereo.

I might try and track down the Firefox pieces myself if I get some time.

Wanted to chime in an update on this, I've finally gotten a few replies from Firefox devs on their bug tracker. There is a temporary workaround in the settings, and an upcoming permanent patch. Ensure your Linux system is properly using multichannel audio (surround) prior to making any changes.

Temporary workaround, in Firefox goto about:config Search for media.forcestereo.enabled, set to false

Restart/Test audio channels here, as well as try on Netflix. https://www2.iis.fraunhofer.de/AAC/multichannel.html

This setting change immediately resolved the issue for me, and affects Firefox Linux versions 100.x and greater only. On the official bug report page, they are going to be issuing a patch soon so no workaround is needed. https://bugzilla.mozilla.org/show_bug.cgi?id=1772769

Additionally, I also had to uncheck "Allow Netflix to use VP9 for decoding" in the Netflix 1080p addon settings to ensure video quality was 1080p.

Hope this helps! It was really nice to see HD quality video with surround sound in Firefox again.