inalam / netflix-4K-DDplus

MicrosoftEdge(Chromium core) extension to play Netflix in 4K(Restricted)and DDplus audio
MIT License
2 stars 0 forks source link

update cadmium playercore #1

Open inalam opened 5 months ago

inalam commented 5 months ago

Hello, @zackmark29 @zhongquan1234 @Phoenomenal

i tried updating cadmium playercore and worked on my end. you could try if you want. ~bugs: bitrate selector wont show up.~

the settings i use: image

info: Playing bitrate (a/v): 192 / 4940 (1920x1080) Audio Track: en, Id: A:2:1;6;en;1;0;, Channels: 5.1, Codec: audio/mp4; codecs="mp4a.40.5" (he-aac) Video Track: Codec: video/mp4;codecs=avc1.4d0028 (avc, prk)

honorable mention: @titanabrian

Phoenomenal commented 5 months ago

Hi, where the cadmium playercore file you updated ? To me still don't work tried both Chrome and Edge with your settings. And your fork right now exactly the same as lkmvip with cadmium last update 3 month ago.

image

inalam commented 5 months ago

Hi, where the cadmium playercore file you updated ? To me still don't work tried both Chrome and Edge with your settings. And your fork right now exactly the same as lkmvip with cadmium last update 3 month ago.

image

ahh i push it on test branch https://github.com/inalam/netflix-4K-DDplus/tree/test

Phoenomenal commented 5 months ago

Working but as you write before without bitrate selector. And also audio is limited to 5.1 surround he-aac codec with bitrate 192 kbps. (was getting 640 kbps ddplus tracks while on Microsoft Edge)

Thanks!

inalam commented 5 months ago

Working but as you write before without bitrate selector. And also audio is limited to 5.1 surround he-aac codec with bitrate 192 kbps. (was getting 640 kbps ddplus tracks while on Microsoft Edge)

Thanks!

i've never see above 192 kbps in audio bitrate before the error UI3013, maybe because i am using regular headphone and i am not sure how to solved it also 😂

inalam commented 5 months ago

i just notice that the pop up now showing. i think after clearing cache now showing updated playercore. can you try @Phoenomenal

Phoenomenal commented 5 months ago

Working but as you write before without bitrate selector. And also audio is limited to 5.1 surround he-aac codec with bitrate 192 kbps. (was getting 640 kbps ddplus tracks while on Microsoft Edge) Thanks!

i've never see above 192 kbps in audio bitrate before the error UI3013, maybe because i am using regular headphone and i am not sure how to solved it also 😂

To see above 192 kbps you needed to use Microsoft Edge browser (its the only browser that support DD+ codec) Maybe Netflix plan needed to be premium (i always on this plan and with that extension was getting DD+ and Atmos audio in titles that supports it and also 4k + hdr, with your test branch still have 4k+hdr but DD+ broken so limited to 192 kbps with the exeption of Dolby Atmos titles because i use Dolby Atmos for heaphones) . Don't need any special hardware (i also use headphone) but can recommend to buy dolby atmos for headphones app in microsoft store. Very good app to simulate surround sound in movies and games that use more than 2 audio channels and works with any headphones.

Yes, bitrate selector now pop up ))

Phoenomenal commented 5 months ago

In Dolby Atmos titles still having max bitrate possible. As i write above its because i use Dolby For Headphones and is available even without any extension. Just need to use Microsoft Edge and have Premium Netflix plan for it to work.

Screenshot_1

inalam commented 5 months ago

In Dolby Atmos titles still having max bitrate possible. As i write above its because i use Dolby For Headphones and is available even without any extension. Just need to use Microsoft Edge and have Premium Netflix plan for it to work.

Screenshot_1

wait isn't it said your audio bitrate 768kbps? i do have premium netflix but not with dolby for headphones

Phoenomenal commented 5 months ago

I just ended tweaking other Netflix extension to force it replace He-aac codec with ddplus + enable Atmos even without Dolby Atmos for Headphones. Also support 4k and HDR profiles You could try it yourself (test only on Edge of course) : https://github.com/Phoenomenal/netflix-international

i recommend to check all the boxes in settings :
image

So 5.1 audio tracks now ddplus with fixed 192 kbps bitrate (much better than he-aac with same bitrate) and Atmos now works also if you on Premium (dont need Dolby for headphones app) but limited for 448 kbps. But there is a way to achieve 768 kbps in Atmos. need to tweak this setting in cadmium (need to delete slashes before "heaac-5.1-dash") :

if (globalOptions.use6Channels) { profiles = profiles.concat([ //"heaac-5.1-dash", "ddplus-5.1-dash", //"ddplus-5.1hq-dash", "ddplus-atmos-dash", ]);

But doing so will make all non Atmos 5.1 tracks revert to he-aac. So its a toss, honestly not hear ant difference between 448 and 768 atmos. But clearly notice difference between ddplus and he-aac so i will keep it that way.

inalam commented 5 months ago

I just ended tweaking other Netflix extension to force it replace He-aac codec with ddplus + enable Atmos even without Dolby Atmos for Headphones. Also support 4k and HDR profiles You could try it yourself (test only on Edge of course) : https://github.com/Phoenomenal/netflix-international

i recommend to check all the boxes in settings : image

So 5.1 audio tracks now ddplus with fixed 192 kbps bitrate (much better than he-aac with same bitrate) and Atmos now works also if you on Premium (dont need Dolby for headphones app) but limited for 448 kbps. But there is a way to achieve 768 kbps in Atmos. need to tweak this setting in cadmium (need to delete slashes before "heaac-5.1-dash") :

if (globalOptions.use6Channels) { profiles = profiles.concat([ //"heaac-5.1-dash", "ddplus-5.1-dash", //"ddplus-5.1hq-dash", "ddplus-atmos-dash", ]);

But doing so will make all non Atmos 5.1 tracks revert to he-aac. So its a toss, honestly not hear ant difference between 448 and 768 atmos. But clearly notice difference between ddplus and he-aac so i will keep it that way.

very nice, it does works flawlessly. image

there is something i am not sure with equalizer 3. using yours and mine on my end always get ~400ish kbps bitrate. can you check it?

Phoenomenal commented 5 months ago

Don't understand what you mean by equalizer 3. That one here in cadmuim (ddplus-5.1hq-dash) ? If so i keep it disabled cause most videos wont load with it (that one supposed to ramp up bitrate for non atmos 5.1 tracks from 192 up to 640 but i cant make it work) image

Am i to undersatand correctly you enabled he-aac to achieve 768 on Atmos tracks ? This is the only way it works for me or else if he-aac disabled atmos revert to 448 kbps.

inalam commented 5 months ago

ah my bad i mean equalizer 3 the movie https://www.netflix.com/title/81674658

Phoenomenal commented 5 months ago

With he-aac enabled in cadmium ("heaac-5.1-dash") Screenshot_2

and

With he-aac disabled in cadmium (//"heaac-5.1-dash")

Screenshot_3

inalam commented 5 months ago

could it be only happens on my side? 😭 by the way netflix international only works for edge? not chrome? i am trying to do what you did to this extention and my head goes dizzy already 😖

Phoenomenal commented 5 months ago

I understand what you mean now. Video bitrate so no 4k for you.

A bit later tonight i will write you what to check and what to download on your pc to make Netflix playback 4k

Chrome should work (just uncheck either vp9 or av1 setting) Obviously no atmos tracks on Chrome (and no 4k and hdr of course)

inalam commented 5 months ago

I understand what you mean now. Video bitrate so no 4k for you.

A bit later tonight i will write you what to check and what to download on your pc to make Netflix playback 4k

Chrome should work (just uncheck either vp9 or av1 setting) Obviously no atmos tracks on Chrome (and no 4k and hdr of course)

the popup not showing in chrome. resolution goes to FHD but not highest bitrate using avc prk. oh nice i could use 4k with FHD monitor right? will wait for sure

Phoenomenal commented 5 months ago

1) First you need to install HEVC extension - either buy for 1 usd from microsoft store https://apps.microsoft.com/detail/9nmzlz57r3t7? or download free version https://hevc-video-extensions-from-device-manufacturer.ru.uptodown.com/windows

2) download edge extension Tampermonkey https://microsoftedge.microsoft.com/addons/detail/iikmkjmpaadaobahmlepeloendndfphd

3) install this script to Tampermonkey https://greasyfork.org/ru/scripts/444125-netflix-uhd

4) on Edge go there : edge://flags/ (just type this in adress bar) and in search type PlayReady DRM for Windows and click from default to enabled option

Then restart your PC and see if that 4k works

inalam commented 5 months ago
  1. First you need to install HEVC extension - either buy for 1 usd from microsoft store https://apps.microsoft.com/detail/9nmzlz57r3t7? or download free version https://hevc-video-extensions-from-device-manufacturer.ru.uptodown.com/windows
  2. download edge extension Tampermonkey https://microsoftedge.microsoft.com/addons/detail/iikmkjmpaadaobahmlepeloendndfphd
  3. install this script to Tampermonkey https://greasyfork.org/ru/scripts/444125-netflix-uhd
  4. on Edge go there : edge://flags/ (just type this in adress bar) and in search type PlayReady DRM for Windows and click from default to enabled option

Then restart your PC and see if that 4k works

haha no luck for me. it's good enough with 1080p. youtube 4k already makes my pc lag tho😂

Phoenomenal commented 5 months ago

Probably your PC specs (CPU/GPU and monitor) are lower than Netflix requirement for 4K playback There you can see what they require : https://help.netflix.com/en/node/23931

Ultimately the last thing you can try is to force HDCP in that Netflix UHD script changing forceHDCP = true image

If not i think you good either way. On 1080p monitor you don't see much difference + when watching on Microsoft Edge Netflix gives you best possible FHD profile (avc and avc,prk). And with extension best audio codec ddplus and Atmos. Its already very good quality.

Also you could try this Tampermonkey script i found yesterday - https://greasyfork.org/ru/scripts/478739-netflix-plus . With this audio bitrate for 5.1 is 640 kbps ddplus codec + atmos 768 kbps.

Riverdale with Netflix Plus :

Screenshot_2

inalam commented 5 months ago

Probably your PC specs (CPU/GPU and monitor) are lower than Netflix requirement for 4K playback There you can see what they require : https://help.netflix.com/en/node/23931

Ultimately the last thing you can try is to force HDCP in that Netflix UHD script changing forceHDCP = true image

If not i think you good either way. On 1080p monitor you don't see much difference + when watching on Microsoft Edge Netflix gives you best possible FHD profile (avc and avc,prk). And with extension best audio codec ddplus and Atmos. Its already very good quality.

Also you could try this Tampermonkey script i found yesterday - https://greasyfork.org/ru/scripts/478739-netflix-plus . With this audio bitrate for 5.1 is 640 kbps ddplus codec + atmos 768 kbps.

Riverdale with Netflix Plus :

Screenshot_2

of course my monitor only FHD 😖, yes indeed i wont see much difference with already high bitrate. if you know working high bitrate for audio extention/script in chrome let me know🤙

Phoenomenal commented 5 months ago

In chrome you cant go more than He-AAC 192 kbps. in Netflix Chrome and all other Windows browsers except Microsoft Edge don't support Dolby Digital. (Dolby Digital Plus is available today in Microsoft Edge , Apple Safari 9 on OS X 10.11 , and Apple Safari 9 on iOS 9.3 and above.) and Netflix give high bitrate only on Dolby Digital (up to 640 on normal 5.1 and Dolby Atmos up to 768) On Chrome max bitrate is He-AAC codec 192 kbps and no Atmos obviously.

Crazy but to me : https://github.com/lkmvip/netflix-4K-DDplus working now again ))

Make sure your settings is the same (that settings give best overall video and audio bitrate possible on both Edge and Chrome :

Screenshot_1

inalam commented 5 months ago

In chrome you cant go more than He-AAC 192 kbps. in Netflix Chrome and all other Windows browsers except Microsoft Edge don't support Dolby Digital. (Dolby Digital Plus is available today in Microsoft Edge , Apple Safari 9 on OS X 10.11 , and Apple Safari 9 on iOS 9.3 and above.) and Netflix give high bitrate only on Dolby Digital (up to 640 on normal 5.1 and Dolby Atmos up to 768) On Chrome max bitrate is He-AAC codec 192 kbps and no Atmos obviously.

Crazy but to me : https://github.com/lkmvip/netflix-4K-DDplus working now again ))

Make sure your settings is the same (that settings give best overall video and audio bitrate possible on both Edge and Chrome :

Screenshot_1

ahh yes it does working again for me