

Netflix on Safari with Dolby Atmos
source link: https://forums.macrumors.com/threads/netflix-on-safari-with-dolby-atmos.2329766/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Netflix on Safari with Dolby Atmos
First of all, Safari supports Dolby Atmos Spatial Audio. As is evident when playing Dolby Atmos files.
Now, Netflix does support Dolby Atmos, just not on the web. There exists a nice extension, Netflix 1080p. For us this is not too relevant, as it cannot be ported as is to Safari, and Safari already does Dolby Vision at 4K. But it's still limited to 2 channel audio.
This extension does provide 5.1 too, so I was intrigued. I managed to get DDPLUS 5.1 out of Netflix, which correctly shows up as Multichannel audio with Spatial Audio. Atmos is also possible, but I got stuck. It shows up as Atmos on Netflix, but still just Multichannel in sound settings.
I created a gist of the modified Cadmium Playercore. It is a mess, mostly I just wrote over the existing heaac-2-dash because the minified .js file is extremely hard to read and Safari kept going back to 2.0 without basically overwriting everything. Atmos also needs a bit of a push.
If somehow Atmos could get through Spatial Audio, I would be willing to make this nice and potentially an extension. 5.1 is already quite nice with Spatial Audio though, but I really hope this could be pushed all the way.
Github Gist
needsometonic
macrumors newbie
i am able to get 4k on safari but how did u get 5.1 channel on safari? can you help me out in this case. and yes i am also looking how to play atmos from netflix, i saw that extension for chrome but it limits playback to 1080p only. thankfully someone is also looking in this case.So after posting about this yesterday, I did a little digging.
First of all, Safari supports Dolby Atmos Spatial Audio. As is evident when playing Dolby Atmos files.
Now, Netflix does support Dolby Atmos, just not on the web. There exists a nice extension, Netflix 1080p. For us this is not too relevant, as it cannot be ported as is to Safari, and Safari already does Dolby Vision at 4K. But it's still limited to 2 channel audio.
This extension does provide 5.1 too, so I was intrigued. I managed to get DDPLUS 5.1 out of Netflix, which correctly shows up as Multichannel audio with Spatial Audio. Atmos is also possible, but I got stuck. It shows up as Atmos on Netflix, but still just Multichannel in sound settings.
I created a gist of the modified Cadmium Playercore. It is a mess, mostly I just wrote over the existing heaac-2-dash because the minified .js file is extremely hard to read and Safari kept going back to 2.0 without basically overwriting everything. Atmos also needs a bit of a push.
If somehow Atmos could get through Spatial Audio, I would be willing to make this nice and potentially an extension. 5.1 is already quite nice with Spatial Audio though, but I really hope this could be pushed all the way.
Github Gist
View attachment 1937870
I can’t give you an easy way.i am able to get 4k on safari but how did u get 5.1 channel on safari? can you help me out in this case. and yes i am also looking how to play atmos from netflix, i saw that extension for chrome but it limits playback to 1080p only. thankfully someone is also looking in this case.
This is just for development purposes but the code is in the gist. It is a modified version of Cadmium player which is Netflix’s client side engine.
The 1080p extension approach is not viable on safari because it does not support features of the Web Extension API that is necessary to easily redirect Netflix’s request for the Cadmium player .js file to a modified one.
It should work on Chrome, but I didn’t investigate since it doesn’t support Spatial Audio.
needsometonic
macrumors newbie
Yes, I did saw your gist. I was able to enable dev options in safari and access local sources of Netflix player. But I wasn't able to make changes in it. That's where I'm stuck, I hope you can help me in that case how to make changes or import that gist in safari to make it work.I can’t give you an easy way.
This is just for development purposes but the code is in the gist. It is a modified version of Cadmium player which is Netflix’s client side engine.
The 1080p extension approach is not viable on safari because it does not support features of the Web Extension API that is necessary to easily redirect Netflix’s request for the Cadmium player .js file to a modified one.
It should work on Chrome, but I didn’t investigate since it doesn’t support Spatial Audio.
Moreover I did find a new extension for Netflix which is for Edge browser and it has inbuilt Dolby Atmos option. That extension has a cardium player.js file as well.
For now please help me make changes in safari sources that's what I need to do.
I get it working only for English language. Is there any way how to get it working for all other available languages?So after posting about this yesterday, I did a little digging.
First of all, Safari supports Dolby Atmos Spatial Audio. As is evident when playing Dolby Atmos files.
Now, Netflix does support Dolby Atmos, just not on the web. There exists a nice extension, Netflix 1080p. For us this is not too relevant, as it cannot be ported as is to Safari, and Safari already does Dolby Vision at 4K. But it's still limited to 2 channel audio.
This extension does provide 5.1 too, so I was intrigued. I managed to get DDPLUS 5.1 out of Netflix, which correctly shows up as Multichannel audio with Spatial Audio. Atmos is also possible, but I got stuck. It shows up as Atmos on Netflix, but still just Multichannel in sound settings.
I created a gist of the modified Cadmium Playercore. It is a mess, mostly I just wrote over the existing heaac-2-dash because the minified .js file is extremely hard to read and Safari kept going back to 2.0 without basically overwriting everything. Atmos also needs a bit of a push.
If somehow Atmos could get through Spatial Audio, I would be willing to make this nice and potentially an extension. 5.1 is already quite nice with Spatial Audio though, but I really hope this could be pushed all the way.
Github Gist
View attachment 1937870
needsometonic
macrumors newbie
recently i got it working with the help of katzecz. And i was able to get high bitrate for audio in atmos, but in 5.1 it is still low, can you somehow manage to push t to highest bitrate in audio as well, to enable high bitrate audio all I did was add hq behind 5.1 or atmos, thats what katzecz found.So after posting about this yesterday, I did a little digging.
First of all, Safari supports Dolby Atmos Spatial Audio. As is evident when playing Dolby Atmos files.
Now, Netflix does support Dolby Atmos, just not on the web. There exists a nice extension, Netflix 1080p. For us this is not too relevant, as it cannot be ported as is to Safari, and Safari already does Dolby Vision at 4K. But it's still limited to 2 channel audio.
This extension does provide 5.1 too, so I was intrigued. I managed to get DDPLUS 5.1 out of Netflix, which correctly shows up as Multichannel audio with Spatial Audio. Atmos is also possible, but I got stuck. It shows up as Atmos on Netflix, but still just Multichannel in sound settings.
I created a gist of the modified Cadmium Playercore. It is a mess, mostly I just wrote over the existing heaac-2-dash because the minified .js file is extremely hard to read and Safari kept going back to 2.0 without basically overwriting everything. Atmos also needs a bit of a push.
If somehow Atmos could get through Spatial Audio, I would be willing to make this nice and potentially an extension. 5.1 is already quite nice with Spatial Audio though, but I really hope this could be pushed all the way.
Github Gist
View attachment 1937870
When I play that atmos file safari I get 5.1. Just me?So after posting about this yesterday, I did a little digging.
First of all, Safari supports Dolby Atmos Spatial Audio. As is evident when playing Dolby Atmos files.
Same.When I play that atmos file safari I get 5.1. Just me?
needsometonic
macrumors newbie
hi, how do you make it work ? i do stuck and can't edit the local source. Can you help me?recently i got it working with the help of katzecz. And i was able to get high bitrate for audio in atmos, but in 5.1 it is still low, can you somehow manage to push t to highest bitrate in audio as well, to enable high bitrate audio all I did was add hq behind 5.1 or atmos, thats what katzecz found.
needsometonic
macrumors newbie
Enable developer options of safari,hi, how do you make it work ? i do stuck and can't edit the local source. Can you help me?
Open Netflix play anything click develop option in top bar then show page source
In left there is scripts folder or something tap it then you will find cadmium player click it, tap copy kind of icon then select create response override then the tap import and select the file. Then refresh the page you are good to go. It will stay 5.1 until you reload the page. Click import and load file again if doesn’t work in first try and refresh the page
i try this and not working, not even go to 5.1 still stay in stereo. I'll attach a few files for you to have a lookEnable developer options of safari,
Open Netflix play anything click develop option in top bar then show page source
In left there is scripts folder or something tap it then you will find cadmium player click it, tap copy kind of icon then select create response override then the tap import and select the file. Then refresh the page you are good to go. It will stay 5.1 until you reload the page. Click import and load file again if doesn’t work in first try and refresh the page
Attachments
Many thanks for your work !
martin.busek
macrumors newbie
needsometonic
macrumors newbie
Open netflix. play any content in it pause it. then go to develop option in menu bar, show page source, in left menu go to scripts, cadmium player in right text box thing in top of it tap that copy button type thing, create response local override, in left menu you will see local overrides, tap it, in right text thing there is import button and import the file and hit refresh on netlfix page. it will give netflix until you manually refresh page or reopen netflix.Hi, I'm bit of beginner here and need some help. When I download the "gist" file as zip and extract it, how do I install to Safari? I Have M1 MacBook Pro 16" and I was surprised how well the spatial audio works in Apple TV app, but I'd like it to work in Netflix/Safari too. Thanks for any help.
martin.busek
macrumors newbie
Thank you very much for the help.Open netflix. play any content in it pause it. then go to develop option in menu bar, show page source, in left menu go to scripts, cadmium player in right text box thing in top of it tap that copy button type thing, create response local override, in left menu you will see local overrides, tap it, in right text thing there is import button and import the file and hit refresh on netlfix page. it will give netflix until you manually refresh page or reopen netflix.
oranjer
macrumors newbie
needsometonic
macrumors newbie
i got you regarding this. https://gist.github.com/expertsultan/eea5ebc059f2600dca9857ff1d36a0b3I manage to get Atmos by overriding with this gist. However, in those shows/movies with only 5.1 audio, I can only get stereo. Is any update going to fix this? Thanks a lot.
ridgerider
macrumors newbie
Simos.805
macrumors member
oranjer
macrumors newbie
I think (most if not all of) Netflix Atmos titles come only with 5.1. Try open debug panel and you will find that:Interesting stuff! I applied the last gist and the player interface now reports '(Atmos)', but actually only decodes to 5.1 instead of 7.1.4 as configured in Audio Midi Setup.. If anyone know how to fix it, I'd appreciate any advice.
Audio Track: en, Id: A:2:1;6;en;1;0;, Channels: 5.1, Codec: audio/mp4; codecs="mp4a.a6" (ddplus, atmos)
markus8197
macrumors newbie
But when ever I apply these gits the video quality drops to like 480p or something. It is really pixelated. my internet speed is 450mps which can't cause any issues so does anyone have any idea why these gists are causing the image quality to drop?
Cheers!
Recommend
-
5
Not getting Dolby Atmos with paired HomePods? M
-
9
TechSpatial audio in Apple Music makes it sound like music is surrounding you — here’s how to try itPublished Thu, Jun 10 202110:15 AM E...
-
8
Mini Atmos Bar — The second-gen Sonos Beam soundbar arrives with Dolby Atmos, $50 price hike Improved mini soundbar comes after price increases across the Sonos lineup.
-
7
Dolby Atmos and Apple’s rewritten audio stack Robert Scoble Personal...
-
4
Sony’s wearable speaker puts Dolby Atmos audio right up to your ears
-
5
How to listen to spatial and hi def music streaming, CD/HD, Ultra HD, Dolby Atmos and 360 Reality AudioSpatial audio and higher definition audio are great ways to listen to high quality music via Amazon Music Unlimited, Deezer, Tidal and othe...
-
7
This Dolby Atmos soundbar is half the size of the Sonos Arc ...
-
2
Polk's latest soundbar packs Dolby Atmos in an ultra-compact designBilly Steele·Senior News EditorTue, March 15, 2022, 6:00 PM·2 min read
-
7
Filed under: Polk crammed Dolby Atmos and a ton of features into this 15-inch soundbar The $499 MagniFi Mini...
-
10
Devialet Dione Is A Dolby Atmos Soundbar With Style To Match
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK