truedread / netflix-1080p Goto Github PK
View Code? Open in Web Editor NEWChrome extension to play Netflix in 1080p and 5.1
License: MIT License
Chrome extension to play Netflix in 1080p and 5.1
License: MIT License
While watching quality eventually drops and I have to refresh to re-enable 1080p
The max. this extension offers is 192kbps AAC (5.1) and 96kbps AAC (2.0).
However, there are versions with higher bitrate. It's possible to download them in Google Chrome with a user script, so I'm sure there is also a way having them while streaming. The best 2.0 audio is 128kbps (E-AC-3) and the best 5.1 audio is 384kbps (AC-3). Some shows (like anime) only have 2.0 audio and the 96kbps AAC sounds worse than the 128kbps E-AC-3. The only legit way getting the 128kbps E-AC-3 is the Windows 10 app afaik.
Unexpected error requires refresh to fix. (Opera)
1080P functionality is good however with loading browser and running Netflix first time, error is always encountered and must be bypassed. Seen with most recent Chrome extension update.
Whoops, something went wrong...
Unexpected Error
Error Code: M7111-1331-4027
Officially, the only web browser to play 4K is Edge, windows only. Is it possible to use similar mechanism to play 4K in Chrome?
I am editing your extension to add the showAllSubDubTracks function and thus be able to show hidden languages, but I have the following problem, there are so many languages in some series that I can not fit on the screen, is there any way to fix it?
https://i.imgur.com/NfpVn4b.png
Mi edition is this:
bGa: b(d, "showAllSubDubTracks", !0),
I changed 1 to 0 for active showAllSubDubTracks.
I run a website that enables people to watch together videos from content providers like Netflix/Amazon/YouTube/etc. We do this by using a Chrome extension to embed these websites within an iframe and then set up listeners for play, pause and seek.
Recently, I had a user report that our extension does not play along nicely with yours. After looking into it for a while, I've realized that the issue is not to do with conflicts between extensions, but the fact that this extension fails when Netflix is embedded in an iframe.
At this point, the only anomaly I've found is that the cadmium-playercore version that Netflix is serving is different from the one being injected in via this extension.
Request URL: https://assets.nflxext.com/en_us/ffe/player/html/cadmium-playercore-6.0012.829.011.js Request Method: GET Status Code: 307 Internal Redirect Location: chrome-extension://cankofcoohmbhfpcemhmaaeennfbnmgp/cadmium-playercore-6.0011.853.011-1080p.js Non-Authoritative-Reason: WebRequest API
Eventually, when you try to play a video, it results in an error with code M7111-1003
.
Is there any reason you can think of as to why this extension would begin to fail when embedded in an iframe? If this is an insurmountable technical limitation, could I make a request to restrict the extension to only work only in cases where Netflix is the top frame (window.top === window
)? I can certainly help make a PR for this if needed.
To reproduce this error, I've set up a pen with an embedded Netflix. Please note that you will need an extension to modify the x-frame-options
header when attempting to reproduce this.
Hello,
Thanks for the incredible pluggin! :)
I'm watching Lost In Space in Chrome in 1080p and I'm experiencing multiple visible dropped frames. Buffering is correct though.
I don't experience this kind of thing in Edge or Netflix Windows 10 app in 1080p.
Is there something fixable?
Thank you very much again for the wonderful stuff! :)
Otherwise the extension works fine.
Could not play any video. message
"Oops something went wrong...
Streaming Error
The title is not available to watch instantly. Please try another title.
Disabling the extension solved the issue.
Impressive work with the chrome profile fix. I have some other clues which might help you.
If you want to go for maximum quality, consider to set the bitrate directly, as the high-quality-profile still contains multiple bitrates the cadmium player is allowed to choose from.
I have automated the enforcing of a certain bitrate. It would be quite easy to use this approach to always enforce the highest bitrate; and this should be stable in the sense that the cadmium player is not touched else than forcing the highest bitrate it provides.
It is however implemented using a rather dirty hack.
There is a window for choosing the bitrates (probably for netflix devs) accessible with the combination SHIFT + CONTROL + ALT + 'S'
. One can choose the bitrates, and then can press on "override", effectively enforcing said bitrate(s).
The best approach to automate I've found I to simply replicate this process: First open/close the window (so all necessary variables are populated) and then invoking the "override" routine with an array of bitrates. While I am not quite sure what happens exactly in the override routine, it sure works.
To implement this, you have to:
get_bitrates()
to get the array of possible bitratesset_bandwith(bitrate)
for the bitrate you want to use (the highest one probably)If this looks like a good idea to you I'll make a pull request in the following week.
insert after line 39448:
window.get_bitrates = function() {
var res = [];
for (var a = F.options, c = a.length; c--;) {
res.push(a[c].value);
}
return res;
}
window.set_bandwidth = function(value) {
D = {};
D[value] = 1;
b.li = k;
l();
if (a = b.pf) {
var h = G.value,
a = a.filter(function (a) {
return a.id == h;
})[0],
c = y.te ? b.wa[n.I.VIDEO].value : b.wa.value;
a && a != c && (a.Yoa = {
testreason: "streammanager",
selreason: "userselection"
}, y.te ? b.wa[n.I.VIDEO].set(a) : b.wa.set(a));
}
f();
return true;
}
Hey,
starting earlier today I could not play any video from Netflix anymore. Neither Google nor the support forum could provide any information about error code M7111-1309 although it kind of led me to this extension. Disabling the add-on led to me being able to watch stuff on Netflix again. No idea what caused this behavior. Any ideas?
Looks like the (Chrome) extension doesnt work anymore tried everything uninstalling, clearing cache doesnt work
I need the 2.0 sound by default. Leave 5.1 as optional.
Hello truedread,
I've been testing this extension and found some movies that do not support 1080p. They keep playing at 480p with the extension on and 540p with the extension off. I can stream the content at 1080p using my PS4 so the content is available at that resolution.
Here are some examples:
How can I help debug these movies? I'm using Google Chrome 68.0.3440.106 in Ubuntu 16.04.
Thank you!
Getting this in console:
index.js:173 Uncaught SyntaxError: Unexpected end of input none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 o.addListener @ none:6 r @ none:6 i @ none:6 (anonymous) @ none:6 u @ none:6 (anonymous) @ none:6 a @ none:6 A @ none:6 (anonymous) @ none:7 require @ none:1 kickoff @ none:1 (anonymous) @ none:7 (anonymous) @ none:7 cadmium-playercore-6.0011.474.011-1080p.js:29434 Manifest locked to Edge (or not available in 1080p) cadmium-playercore-6.0011.474.011-1080p.js:29435 Getting Edge manifest VM68:199 Performing key exchange VM68:201 Key exchange data: VM68:202 {headerdata: {…}, encryptionKeyData: {…}, signKeyData: {…}} VM68:92 Getting video metadata for ID 80219127 VM68:103 Metadata response: VM68:104 {version: "2.1", video: {…}, trackIds: {…}} none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 (anonymous) @ none:6 none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 (anonymous) @ none:6 none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 (anonymous) @ none:6 none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 (anonymous) @ none:6 none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 (anonymous) @ none:6 none:6 WebSocket connection to 'wss://push.prod.netflix.com/ws' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED o.open @ none:6 (anonymous) @ none:6
This issue has been closed: #20
So I'm opening a new one. :P
I tried watching Avengers Infinity War: https://www.netflix.com/watch/0?origId=80219127 but it really happens on any big movie.
I deactivated all other Addons, restarted Chrome and then tried again with the same result. Deactivating your addon lets me watch the movie in horrible 480p. There are reasons why Chrome is the only option for me right now. :(
Looking at the log I assume this is the reason for the fail:
Manifest locked to Edge (or not available in 1080p)
regards
Using qtwebflix player (https://github.com/gort818/qtwebflix) Cannot import settings into player.
The latest version 1.12 works fine with 1080p and 5.1 but after playing a while the audio and video get out of sync. The audio becomes faster than the video
And as such I get below-1000 bitrates
Is it not possible to have the 2.0 (64k/96k) aac streams available for selection when a 5.1 (192k) aac stream is available?
Of course, the extension can be disabled to regain the 2.0 aac streams, but then 1080p is lost.
There are some use cases where the 5.1 aac stream does not provide sufficient volume on a particular device (while the 2.0 aac streams always provides enough volume) but 1080p video is still desired.
Is there any way to update the application to force to native screen resolution (like 1440p screen) in movies available in 4k resolution on Chrome?
I'd like to buy you a coffee or two for this useful piece of software, but I despise crypto currencies for their senseless waste of electricity. Can I donate via some other way?
Hi,
Just yesterday I tried watching the "Black Lightning" TV Show and it wasn't running in 1080p. When I ran the test patterns they worked in 1080p just fine and I assumed everything would be running in 1080p, but the show didn't.
Do you have any idea why? For the record, I went to my PS4's Netflix app and the show was running in 1080p there.
I believe it can be easily reproduced (I wasn't able to check any other videos but "Black Lightning" TV show, so I can't say for real if others are working or not).
Thanks,
Rod
I don't know how difficult this would be and thus how reasonable a request it is, but it seems like Netflix has been re-encoding things very recently and the video quality is quite often just plain bad. Since this extension tells Netflix that the user is on Android (right?), is it possible/would you consider telling it it's running a device that needs to fall back from what I assume is H.265 or AV1 to H.264 or VP9?
Perhaps I don't know what I'm talking about, but it'd potentially be a godsend to bypass these new bitstarved encodes.
Hello sir,
This is not an issue. I am just asking for a feature. You extension works perfectly on my chrome. I am able to get Full HD and also the bitrate secret menu with your extension. Netflix recently blocked the bitrate menu and only with your extension enabled i am able to get it(only God knows how you did that!!!).
The feature I am asking for is that can you make a similar extension for Microsoft Edge as I want to access the birtare menu in there. I want to watch 4k and meet all the requirements, but still netflix suddenly lowers the bitrate and I am not getting constant 4k bitrate. Sir, can you please make an extension for Edge that would bring back the bitrate menu please? That would be highly helpful.
I am very sorry if me asking about this over here upset you in any way sir.
Thanks again for your marvelous Chrome extension.
Netflix added 640 kb EAC3.. Would it be possibile to add it?
https://i.imgur.com/XiHBz4O.png
No code or anything refreshing, restarting, and reinstalling wouldn't help. Not sure how to get any debugging info.
I tried with the extension but they're all only available in SD, e.g. Iron Man, Forrest Gump, Modern Family. They're all available in HD when I try to check it on Edge but with the extension it ain't workin.
cadmium-playercore-6.0012.078.011.js
https://www.netflix.com/watch/80058399
https://www.netflix.com/watch/80206300
https://www.netflix.com/watch/70213465
https://www.netflix.com/watch/80050060
All movies have resolution 853x480 and codec
Audio Track: mp4a.40.2
Video Track: video/mp4;codecs=avc1.640028 (avc)
This was working as of no less than 24h ago. Dunno what they did, nor why they are so adamant on preventing browser users from accessing 1080p content.... but none the less they seem to be at it again. It's the classic:
Whoops, something went wrong...
Unexpected error
There was an unexpected error. Please Reload the page and try again.
Error Code M7111-1331-2206
As expected if you disable your extension it resolves the error... to a dismal pixelated mess of 480 on my big beautiful screen. If there is any further information you need feel free to message me and i'll supply you with whatever i can, within my capabilities. I've confirmed this to be happening in Windows 7, Debian 9 Stretch, and OSX Sierra on Chrome 70.xxx.xxx.xx.xxx.x (insert obfuscated non-standard revision mishmash here)
Eidt: if you're not getting the error, just F5 and it will reload with the error message.
Edit 2: Test patterns do confirm that 720p is working. However, the movie I was watching last night is a movie I know used to be available up to 1080p.
On Edge i get Bitrate: 5110kbps - Profile: playready-h264mpl40-dash.
On Chrome i only get Bitrate: 2023 Profile: playready-h264hpl40-dash with the same movie.
No longer possible to get higher bitrates on chrome? Already read release notes for the latest version, is that problem not solved yet?
I'm trying to get netflix to work on Windows Xp in Google Chrome in 1080p.
The last working version of Chrome on Windows Xp is Version 49.0.2623.112.
I have successfully managed to get netflix to play normally by copying the Widevine files to the WidevineCDM directory.
Now I'm trying to get it to work in 1080p.
The Netflix 1080p extension in this version of Chrome (49.0.2623.112) doesn't work.
When playing a video it just displays a black screen and the video doesn't play at all.
After removing the extension it plays fine in 720p.
So, is there a way to get the extension to work in this version of Chrome?
Same thing happens when trying the extension in this Chrome version on Windows 10.
So, the problem is from Chrome 49 not Windows Xp.
I'm thinking, probably, a simple change to the extension is all that is needed.
I was doing some tests here and I realized that movies do not run above 480p and the series runs normally, why does this happen? And is there a solution to the case?
Early this month the extension suddenly stopped working for me.
The test pattern seems to still be working, but none of the movies and shows I checked out had 5.1 or 1080p, including some like Mars that worked fine last year.
The only indication that the extension is active to some degree is that it shows that the audio is 2.0 when watching something.
It's the same with vladikoff's version for Firefox.
Because I need to use 4K in Chromium, and I like 5.1 sound, thanks
I think the following entry in my console is the cause:
Uncaught TypeError: Cannot read property 'then' of null
at Object.engage (cadmium-playercore-5.0008.544.011-1080p.js:28662)
at Object.d.engage (none:2)
at Object.engage (none:2)
at i.engage (none:2)
at Object.dispatch (none:2)
at Object.attemptToEngagePlayer (none:2)
at Object.onClickCapture (none:2)
at Object.handleEvent (none:2)
Other than that line there are some errors about net::ERR_CERT_SYMANTEC_LEGACY but i think that is related to tracking.
Any chance in providing a Firefox version of this extension? Currently, I am using the Windows 10 Store app, but I would much rather keep this within Firefox so I can make use of other extensions as well.
Video shows the loading icon with the thumbnail in the background while the movie/episode plays in the background with audio only. No controls are available, clearing the cache does not fix the issue.
Thanks for your awesome work! I have a small but slightly odd feature request, given the title of your extension. :-) I'm probably not alone, but my sole reason for using the extension is actually to get 5.1. In my case, I can't really benefit from 1080p since I have a 720p projector as well as an older HTPC that gets choppy when trying to play the 1080p stream. (It's happy with the video stream chosen when the extension is disabled.) Of course, eventually it drops down to a stream my computer can handle, but it's distracting for the first minute or two every time.
PC, windows 10, latest ver of both chrome and firefox
www.netflix.com-1522163440899.log
Here's the console log if it helps..
Of course I've deleted the cache and cookies from chrome.
Thank you for this addon!
I don't have a 5.1 sound setup and with this extension I always get the 5.1 audio as default. It would be great if we could optionally disable the 5.1 audio altogether.
Simply commenting out the "heacc-5.1-dash" solves this perfectly, but an option would be very much appreciated.
var profiles = [
"playready-h264mpl30-dash",
"playready-h264mpl31-dash",
"playready-h264mpl40-dash",
"heaac-2-dash",
//"heaac-5.1-dash",
"simplesdh",
"nflx-cmisc",
"BIF240",
"BIF320"
];
There is a new Edge Browser running with Chromium Engine. (https://www.microsoftedgeinsider.com/en-us/)
4K Netflix works with it, but with this Addon I only get 1080p. The Reason why I need this Addon is for the Bitrate Menu and 5.1 Audio.
Is there a way to get the Bitrate Menu and 5.1 only without forcing 1080p? So people with Edge Chromium could get 4K Netflix with Bitrate Menu.
Netflix runs fine when add-on is disabled.
The Good Place doesn't load, Test Patterns show bitrates below 1000, only this shows good results. Version of playercore loaded by the player differs from the one loaded by the extension.
Hi.
I'm having an issue with Chrome V70 and Firefox V63 where having the plugin installed and enabled generates a "Oops something went wrong, unexpected error"
Only way to resolve this is to use netflix with the plugin disabled (not great as I record content off it using OBS for Archive purposes (the netflix original shows)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.