If anyone wonders how Netflix, Prime, or any platform's videos are still pirated: 1. Recording playback by tweaking the source code of the website, using certain extensions, or rooting Android devices to manipulate the "FLAG_SECURE" setting. However, this method results in low-quality video. 2. Recording decrypted HDMI output using HDMI capture devices like Elgato, which can be connected between a media player and a display/TV to record the output. This method provides high-quality video, even up to 4K. 3. There are different security levels (L1, L2, L3) in Content Decryption Modules (CDMs), as mentioned in the video. L3 doesn't run in Trusted Execution Environments (TEE), making it easier to extract from Android devices. With this method, users can download playback content in up to 1080p or 720p. 4. For some Android devices, the TEE has been exploited, allowing L1 CDMs to be extracted. Pirates may purchase these exploited devices to obtain L1 CDMs, which are then used to download 4K-quality content. 5. It is believed that some people have reverse-engineered the Chrome CDM but have kept it secret. In the past, there have been instances of Chrome CDM being reverse-engineered. For example, you can search for "GitHub tomer007 reversing widevine" to find a write-up on how the Chrome CDM was reverse-engineered. There are other methods as well, but the ones listed above are the most prominent and easiest to use.
There is a trick to record Netflix from Chrome. Just inspect the element and add this style: `filter: blur(0px)`. Now use any screen recorder. Video stream will get recorded.
DRMs cannot protect from virtualization and screen recording. Create a Virtual Machine, add your streaming service in it, record your screen from the main machine.
Are you sure? The DRM video cant be played inside VM. it stucks indefinitely. Even if it plays, recorded video wont show the DRM video, and the frame where video was playing will be shown as black box(similar to the example in this video). PS: I tried this with primevideo on windows10 vm hosted by Ubuntu.
There’s some hardcore engineering going on in the world, and folks here in India are chatting about DSA vs. dev! 🤦♂ Edit: Quite a few people in the replies clearly lack basic common sense and are getting triggered just because I mentioned DSA. They seem to think I’m saying DSA is useless, which I never said. By that logic, you could also infer that I’m saying dev is useless. What I’m really addressing is this absurd, baseless debate of 'either DSA or Dev.' If you’re pursuing computer science, DSA is a must-it's not optional. There shouldn't even be a debate about this.
That's I want to also say, thse Yt wala bhiaiya, didi, bhabhi have runied the engineering ecosystem of India. And stupid students are blindly following the DSA cheatsheets only.
Am a senior developer, and your completely wrong here , you need mind and logic building to do these kinds of things , for those we need DSA , DSA is not just about solving problems it's how you approach them.
You can't record screen record , its a browser feature not Netflix. You have to disable some settings in browser to stop Netflix applying such security
This video literally put my brains on fire 🔥🔥 Though I am a dev myself, sometimes I go crazy when I think how much energy and hard work tech companies put into a project just to keep some thieves at bay
thank you for the great content! I've come across this and I've hypothesised that "true" encryption is not possible and feel humbled by the great engineering that has gone into this.
Hey Mehul, the video is very very Impressive, but I am genuinely impressed with the marketing of fermeon as a platform. It's really great that you are genuinely and organically marketing a platform of your own and not by any shady ads or anything. Hats off man!
Nah it's scummy he should disclose that he has vested interest in fermon. People who are just watching his video as a one off will not have any idea that what he is talking about is owned by him or gives him a financial gain if used by his viewers.
This is some crazy good content! appreciate the knowledge and effort. keep this going and you wont need any clickbait thumbnails anymore. honestly, I avoid watching catchy thumbnail videos.. but i watched and loved this one because of the content. its great execution.
So does it mean that if I am watching a video on Google Chrome on Android or Windows, I am watching in 720p, but Netflix is charging me saying that they are providing HD content?
That's really good explanation! Though it's funny that all of this is evaded with just Virtualbox 😅 and I think there are devices that can capture the monitor's HDMI output doing it on a hardware level. I know there are harder solutions like fingerprinting could be a good idea to add to your solution too.
It's very easy if you're experienced enough. No matter how securely the file was encrypted, to play it back it must be decrypted. So the decrypted content and the key must be somewhere in the system memory. Software might not be able to access it, but if you tap into the data line of the memory chip, the key will eventually appear so you can grab it and decrypt the video yourself. Or the decrypted video will also appear. It's a time consuming progress to put it together from the pieces, but it's not impossible.
Hey , can you do it for me please , i have purchased 1 batch's course but due to internet issues i can't stream it at my home , and it doesn't allow download , like it has in app downloads but has some glitch in it.. so it saves the file in a bin or maybe it's an encrypted format , so i want it in a video format . Can you?please!
@ronikagrwal Unless it's a Netflix like thing it might not be as secure so you can do it in an easier way. You can check if you can catch the delivery of the key by pressing F12 on the page that plays back the video and reload. You'll see a bunch of things but one is the video link that should end in either m3u8, mp4 or ts extension and most probably will have a bunch of URL parameters. Or it could be an xml, manifest or something like that. If you inspect this you'll either find the key in there or a link to the license server that will serve the key. Don't try to open the link, it won't work! Instead, start the video and you should see the file in the link appear. Inspect it and it should contain the key. Use this key with a decryption tool like OpenSSL to decrypt the video file. The bin file might not the video you're looking for but the manifest file you've inspected earlier should contain the name of the video files or pieces of it. You can download these and use the key to decrypt them. Each video will have its own key but if one video is in pieces, the same key will work with all of them. I use this method to decrypt sport content from the government broadcaster (which is free so I'm not sure why they encrypted the video, but they did).
I was looking for this kind of video, because I always get fascinated about how this thing works. Got the basic idea will do my own research to get more clear understanding of this
Thanks for this video. This is basically sandboxing the client browser layer which is playing the video. There is still some client detection part which I guess may be important in this context so that people know how the recording trigger is detected etc.
How to bypass drm protection very very easily : grab a firestick or any device with hdmi output, use a cheap hdmi to usb capture card 10 to 15 usd, plug into pc, open obs and record whatever you want
Thank you for explaining the whole encryption part and how exactly media streams played using the security built on top of the servers. That was insightful. Hope next time you may get something similar like screen share enabling the same for some of the application.
Personally, I don't watch movies or series much but I do like to play games and tbh DRM actually hurts the performance and its highly invasive to the Kernel level.
You explained the Crux of it. Thanks. I work on an OTT company. Will share it across. If you could make a video on how you have these videos on CDN like Akamai that would complete the flow of video distribution
So basically it doesn't actually protect from piracy, but requires you to install proprietary stuff and leak a bunch of info to Google. Neat. Thanks for the explanation!
Hey, Mehul thanks a lot man for making such videos. Though I'm a beginner in this journey but such videos can give us some new goal or we can use all these technologies in our projects etc. Your such videos are like introduction to new tech for people like me. : )
there i a simple workaround to record netflix. SStep 1 - download an secondary browser (edge , chrome ). Step 2 - dissable Hardware/GPU acceleration ijn that browser. Step 3 start recording using OBS studio. This work flawlessly on edge for me.
If i am not mistaken... You can record/use virtual cam on drm videos using for example Obs. Just turn off hardware acceleration on your browser and you should be all set up
You can disable hardware acceleration in your browser to fix black screens when sharing or recording streams. However, this might result in receiving the stream at a lower quality.
Back in 2014, I once downloaded a movie using Showbox on my Android device. While going through the files, I noticed that it had downloaded all the frames, each as a tiny file of just a few kilobytes. had to stitch them all together, but there were thousands of files, and I eventually gave up halfway. not sure if Netflix on Android still does that.
DRM is powerless against me recording the HDMI output of a media player ☺️ OK, so it's a real-time process, but as someone who grew up in the 70s/80s, that's how recording video always was, so it doesn't bother me!! FWIW, this isn't something I do very often, but once in a while there's something I need/want to record 🤷♂️
The reason they can keep doing it is because most people have no idea how it's done. Even if netflix knows how it happens, they might not patch it because the knowledge is not available to most of their actual customers who would have real benefit from it
Hdcp splitters, they can remove protection from between the fire tv/ roku tv and the hdmi monitor... and some lab setup receiving the hdmi ... idk how the captions are captured tho, if not manual (unless captions aren't drm protected)
there's probably like 20 different workarounds, so Netflix movies/series will always get pirated, but you as a legitimate user still can't make a stupid screenshot
This is was very informative. I'd like to add just one more thing. Microsoft has their own implementation using this Microsoft Edge on Windows has Netflix at 4K.
You said how it manages to play, but WHY it gets BLANK WHEN WE RECORD IT?? And You're correct that Chrome's DRM (Digital Rights Management) typically limits Netflix playback to 720p. However, Netflix uses additional technologies to enable higher resolutions: Netflix's 4K playback requirements: 1. Widevine DRM L1: Required for 4K playback. Widevine L1 is a more secure DRM level. 2. HTML5 Premium: Netflix uses HTML5 Premium to deliver 4K content. 3. Google's Encrypted Media Extensions (EME): Enables DRM-protected content playback.
If I get what you asked, TEE see some traces of video recording software through metadata it consumes and returns grey picture frame instead of decrypted one. But as far as I've got, you are better with this kind stuff, so you already know the answer.
Only 480p playback is visible to user processes which is decrypted by L3 as software plugins. L2 and L1 which is 720p and above are decrypted in OEMCrypto module in TEE which makes the rendered stream invisible to all user processes which includes recorders, L1 goes one step further makes it invisible to OS itself.
this can easily be circumvented by using a capture card on the display port and recording the audio as well, sure you might need to recompile the audio and video with a very slight quality hit but yeah it can definitely be done.
Bro who says it comes without downtime, technically the data u see is almost 3-5 sec late, for 0 latency or delay you have to buy a connection from SEBI, and if you are talking about downtime on apps like upstox, dhan and all sometime these are also down for few hours or mins, use grow their service is always down😂
Assume, he can't, because of it's physically impossible to deliver information instantly, so it's ALWAYS time lag between computation and data delivery.
with this, you can also get an undesired bug on macs running the m chips, and which make use of docking stations with displaylink technologies. since mac treats the extensions of screens on displaylink technology as "your screen is being observed", meaning the flag is triggered, if you wan to play netflix on your secondary screen, it will play it blank. pull out the docking station and the video will play as expected... so this thing is tricky altogether.
@@samzam7243 TH-cam introduced it recently. Their AI basically detects keywords which are difficult to understand and if you click on them it'll show you the Google results
Correct me if I am wrong but doesn't this become redundant if you have a capture card connected to your display driver. So you let the DRM do the decryption and just consume the audio and video streams directly.
Yea even I thought this was a work around . You could also read from a HDMI port like on a tv and reconstruct the video , I think this is called webrip format in the torrent world. Atleast this method helps that video is not torrentable before a legitimate user is able to watch it, just saves some time. I still think some people still able bypass it
This doesn't work because the TV manufacturers also implement DRM. Look up HDCP. HDCP prevent other devices from copying the video stream. Of course workarounds exist, but most people are not aware of them.
people have already figured out a way to decrypt widevine L1 protected content. couple years ago someone dropped a github repo named "Widevine Dump". this repo included some highly sophisticated code that can download and decrypt content from amazon prime, netflix, hulu, etc. now, we have software like StreamFab which are publicly available for anyone to use to download content from many OTT platforms including netflix,amazon prime,etc
While others are posting low effort stuff making half hour videos reading 2 min blogs, you sir are making high quality technical content. Great respect 🫡🫡
Unfortunately, yes. They simply don't care about users. This is just a distraction to the investors. So the platforms tells them they are safe... But safe only to the average Joe recording themselves, like in the past that you could record a TV transmission or a tape in your home VCR.
None of what you said explained why the screen is black when recording - that's probably just JS or CSS that can be easily disabled lol After TEE has done the decryption, they can't stop you from capturing it - it's there in your memory registers.
I liked your style of explaining. Mehul can you please tell me which program did you use to explain the concepts, where you write and draw lines, arrows, etc?
All this effort they go to, but at the end of the day the content is playing on the screen - you just need a way to screen capture without being seen by the TEE. Kernel or hardware level interventions, VMs, physical cameras, it's impossible to block.
I love your videos mainly because no-nonsense pure technical architectural and real-world problems..... I wish you explained this in more depth no matter of the length of video I understand this takes lot of effort and editing time, but kindly don't skip important concepts. Even I was wondering about this for a long time Udemy also doing the same thing now....
Nice content quick question, how does this prevent recording via external software? I mean is there some web api which can detect that the screen is being recorded or shared and blackens out the video?
There's no way to prevent a streaming video from being recorded. All this encryption does is try to prevent a perfect copy of the sent video data from being recorded. Recording a screen can be done at an operating system level that is outside of what the browser has control over.
But, you still didn't tell the reason why we can't record the video through video recording/capture software. Its fine that the vudeo is playing in a drm protected video player. But, what is stopping the screen capture utility to record that? Why aren't we able to make the drm software beleive that there is no screen recording software? What about passthrough HDMI capture devices? Is netflix able to block that too?
how does firefox play drm video then, does it ask some OS layer software to do this ( is this the reason firefox does not play netflix in linux) because firefox is opensource right? also you did not cover the video recording part, how does the browser knows when the screen is getting recorded ?
uhmm, the whole video goes in drain because, i played netflix yesterday on CHROME, recorded with OBS to get some Drive to Survive clips, and i have them, i did nothing as mentioned in comments
I once read on some OpenGL topic a feature where a buffer gets displayed so fast that it makes it "exclusive" to the main hardware display and there is no way a software can intercept the data and it said it was the feature perfectly fits for DRM technology to utilize, is this the hardware acceleration feature? i cant pinpoint the site but this is what I recall please enlight me if im wrong
Wait, since information exchange happens with the widevine server, won't those calls be visible if we intercept them through wireguard? It doesn't matter if the decryption happens within the secure environment. Won't it be possible to intercept those requests and try to reverse-engineer/ see the payload returned by the widevine signing server? Right?
It's possible for only L3, L2 and L1 keys are only usable in requesting device keybox(part of OEMCrypto) for that playback session only. In L1 and L2 not even CPU has access to decrypted clear keys. Widevine is nuts
Great video, you gave me great insights on the DRM topic It’s crazy to think that the best solution is to gave up control to propertary software and hardware. Google is dominating the internet
There must be some countries where Netflix is not allowed to do it like this because I’ve been downloading Netflix shows from bots for a long long time and the quality of file is the original media with subtitles and everything embedded in the media.
If anyone wonders how Netflix, Prime, or any platform's videos are still pirated:
1. Recording playback by tweaking the source code of the website, using certain extensions, or rooting Android devices to manipulate the "FLAG_SECURE" setting. However, this method results in low-quality video.
2. Recording decrypted HDMI output using HDMI capture devices like Elgato, which can be connected between a media player and a display/TV to record the output. This method provides high-quality video, even up to 4K.
3. There are different security levels (L1, L2, L3) in Content Decryption Modules (CDMs), as mentioned in the video. L3 doesn't run in Trusted Execution Environments (TEE), making it easier to extract from Android devices. With this method, users can download playback content in up to 1080p or 720p.
4. For some Android devices, the TEE has been exploited, allowing L1 CDMs to be extracted. Pirates may purchase these exploited devices to obtain L1 CDMs, which are then used to download 4K-quality content.
5. It is believed that some people have reverse-engineered the Chrome CDM but have kept it secret. In the past, there have been instances of Chrome CDM being reverse-engineered. For example, you can search for "GitHub tomer007 reversing widevine" to find a write-up on how the Chrome CDM was reverse-engineered.
There are other methods as well, but the ones listed above are the most prominent and easiest to use.
Great info bro 👍 & happy that it is not gpt generated
You have discord?
can I get your linkedin ? or telegram or facebook or gmail
L3 extraction tool , then N_m3u8DL-RE or yt-dlp then ffmpeg
Then pywidevine
@@juaninfante7000 Leave them alone and do your research. They gave you enough hints already
There is a trick to record Netflix from Chrome. Just inspect the element and add this style: `filter: blur(0px)`. Now use any screen recorder. Video stream will get recorded.
bhai sabko nahi batana hai, chilla chilla ke
@@maverick_8707 Go s your d
😮😮
Does this work only on netflix or on every drm protected site
this might be really really cool thing you have just told me
and does this work only on chrome , what about firefox?
what if we change our useragent to chrome windows but we are using firefox linux for example
DRMs cannot protect from virtualization and screen recording.
Create a Virtual Machine, add your streaming service in it, record your screen from the main machine.
but playing the video on virtual machine itself will be limited to 480p as there is no hardware acceleration available with vm.
I'm confused. What is VMGL?
It can, there is no virtualization for TEE
@@neerajbhale Hardware acceleration is available is many VMs now and its not limited to 480p. You can play upto 4k if you have a powerful system
Are you sure? The DRM video cant be played inside VM. it stucks indefinitely. Even if it plays, recorded video wont show the DRM video, and the frame where video was playing will be shown as black box(similar to the example in this video).
PS: I tried this with primevideo on windows10 vm hosted by Ubuntu.
There’s some hardcore engineering going on in the world, and folks here in India are chatting about DSA vs. dev! 🤦♂
Edit:
Quite a few people in the replies clearly lack basic common sense and are getting triggered just because I mentioned DSA.
They seem to think I’m saying DSA is useless, which I never said. By that logic, you could also infer that I’m saying dev is useless.
What I’m really addressing is this absurd, baseless debate of 'either DSA or Dev.' If you’re pursuing computer science, DSA is a must-it's not optional. There shouldn't even be a debate about this.
Yes bro we fucked up
Fact of the matter is companies are be promoting the DSA demand for filtering out easily.
That's I want to also say, thse Yt wala bhiaiya, didi, bhabhi have runied the engineering ecosystem of India.
And stupid students are blindly following the DSA cheatsheets only.
Have always been like this. It is because we have blinded by the money. Everyone is chasing that.
Am a senior developer, and your completely wrong here , you need mind and logic building to do these kinds of things , for those we need DSA , DSA is not just about solving problems it's how you approach them.
Great Video! Explains why you cannot download DRM protected content but doesn’t really explain why you can’t screen record netflix content
You can't record screen record , its a browser feature not Netflix. You have to disable some settings in browser to stop Netflix applying such security
Hardware or GPU Video acceleration needs to be turned off in browser settings
HDCP.
you can screen on linux with no problem on firefox at least
@@mannumannu9200how to do that??
This video literally put my brains on fire 🔥🔥 Though I am a dev myself, sometimes I go crazy when I think how much energy and hard work tech companies put into a project just to keep some thieves at bay
thank you for the great content! I've come across this and I've hypothesised that "true" encryption is not possible and feel humbled by the great engineering that has gone into this.
Hey Mehul, the video is very very Impressive, but I am genuinely impressed with the marketing of fermeon as a platform. It's really great that you are genuinely and organically marketing a platform of your own and not by any shady ads or anything. Hats off man!
Nah it's scummy he should disclose that he has vested interest in fermon. People who are just watching his video as a one off will not have any idea that what he is talking about is owned by him or gives him a financial gain if used by his viewers.
@shoraz Your point is great. He should mention that.
This is some crazy good content! appreciate the knowledge and effort. keep this going and you wont need any clickbait thumbnails anymore. honestly, I avoid watching catchy thumbnail videos.. but i watched and loved this one because of the content. its great execution.
Yeaa I too avoid those type of videos😊
It’s next level. I tried recording the tv using the camera in my phone and the picture went black just like what he showed.
It's worse for me. I have a photographic memory and the screen goes black as soon as I look at it :(
😂
@@bdawg970💀
What do you mean ? I can perfectly record my tv with my iPhone, I have video and audio
Bruhs got L1 Level of Sarcasm 😂😂😅
So that explain how netflix ended the piracy issue?! Good job guys, keep it up, you are doing great!
😂 This is the best sarcasm
They didnt end shit. The content is ripped minutes after release for 1080p and every few weeks in bulk for 4k
So does it mean that if I am watching a video on Google Chrome on Android or Windows, I am watching in 720p, but Netflix is charging me saying that they are providing HD content?
Y E S
you really gotta be kidding me to pay for movies 😂
Why are you using Chrome? Use the app.
@cannotthinkofanybetterhandle The real question is, why are people still using Netflix?
@@firestormjupiter what is a better alternative?
That's really good explanation! Though it's funny that all of this is evaded with just Virtualbox 😅 and I think there are devices that can capture the monitor's HDMI output doing it on a hardware level. I know there are harder solutions like fingerprinting could be a good idea to add to your solution too.
Virtualbox cannot talk to the hardware chip based TEE, and for HDMI there is HDCP , for widevine L1 both are required. You can capture only L3 at max
It's very easy if you're experienced enough. No matter how securely the file was encrypted, to play it back it must be decrypted. So the decrypted content and the key must be somewhere in the system memory. Software might not be able to access it, but if you tap into the data line of the memory chip, the key will eventually appear so you can grab it and decrypt the video yourself. Or the decrypted video will also appear. It's a time consuming progress to put it together from the pieces, but it's not impossible.
Hey , can you do it for me please , i have purchased 1 batch's course but due to internet issues i can't stream it at my home , and it doesn't allow download , like it has in app downloads but has some glitch in it.. so it saves the file in a bin or maybe it's an encrypted format , so i want it in a video format . Can you?please!
@ronikagrwal Unless it's a Netflix like thing it might not be as secure so you can do it in an easier way. You can check if you can catch the delivery of the key by pressing F12 on the page that plays back the video and reload. You'll see a bunch of things but one is the video link that should end in either m3u8, mp4 or ts extension and most probably will have a bunch of URL parameters. Or it could be an xml, manifest or something like that. If you inspect this you'll either find the key in there or a link to the license server that will serve the key. Don't try to open the link, it won't work! Instead, start the video and you should see the file in the link appear. Inspect it and it should contain the key. Use this key with a decryption tool like OpenSSL to decrypt the video file. The bin file might not the video you're looking for but the manifest file you've inspected earlier should contain the name of the video files or pieces of it. You can download these and use the key to decrypt them. Each video will have its own key but if one video is in pieces, the same key will work with all of them. I use this method to decrypt sport content from the government broadcaster (which is free so I'm not sure why they encrypted the video, but they did).
Of course, it's very easy to take a DDR stick and inspect every byte while it's still hot (data disappears shortly after it's disconnected from PC)
I was looking for this kind of video, because I always get fascinated about how this thing works. Got the basic idea will do my own research to get more clear understanding of this
Thanks for this video. This is basically sandboxing the client browser layer which is playing the video. There is still some client detection part which I guess may be important in this context so that people know how the recording trigger is detected etc.
How to bypass drm protection very very easily : grab a firestick or any device with hdmi output, use a cheap hdmi to usb capture card 10 to 15 usd, plug into pc, open obs and record whatever you want
This wont work because TEE knows the HDMI device connected is not trusted.
@@NileshAkhade it will work if you change it from firestick to a chrome based streaming service because its only L3 TEE
All these hoops and Netflix videos still get pirated 🤣
Isn't that mean they are more intelligent?
How do they do it any idea?
Yeah i am interested how movies website like modlviesmod pirate that
Once the video leaves from the HDMI port its insecure😌. They maybe using some kindoff HDMI recording solutions which can capture both video and audio.
@@kushaalrana Using fapstream
You are one of my favorite dev channels. The content you put out is such high quality, wishing you more success.
Thank you for explaining the whole encryption part and how exactly media streams played using the security built on top of the servers. That was insightful. Hope next time you may get something similar like screen share enabling the same for some of the application.
Personally, I don't watch movies or series much but I do like to play games and tbh DRM actually hurts the performance and its highly invasive to the Kernel level.
You explained the Crux of it. Thanks. I work on an OTT company. Will share it across.
If you could make a video on how you have these videos on CDN like Akamai that would complete the flow of video distribution
also let them know that if buying isn't owning, piracy isn't stealing :")
@@anupamdash1102 YEAH !! LETS GO !! Break the chain !
So basically it doesn't actually protect from piracy, but requires you to install proprietary stuff and leak a bunch of info to Google.
Neat.
Thanks for the explanation!
Hey, Mehul thanks a lot man for making such videos. Though I'm a beginner in this journey but such videos can give us some new goal or we can use all these technologies in our projects etc. Your such videos are like introduction to new tech for people like me. : )
there i a simple workaround to record netflix. SStep 1 - download an secondary browser (edge ,
chrome ). Step 2 - dissable Hardware/GPU acceleration ijn that browser. Step 3 start recording using OBS studio. This work flawlessly on edge for me.
If i am not mistaken... You can record/use virtual cam on drm videos using for example Obs. Just turn off hardware acceleration on your browser and you should be all set up
You can disable hardware acceleration in your browser to fix black screens when sharing or recording streams. However, this might result in receiving the stream at a lower quality.
Back in 2014, I once downloaded a movie using Showbox on my Android device. While going through the files, I noticed that it had downloaded all the frames, each as a tiny file of just a few kilobytes. had to stitch them all together, but there were thousands of files, and I eventually gave up halfway. not sure if Netflix on Android still does that.
Maybe you recorded HLS file. This format is used for streaming videos.
DRM is powerless against me recording the HDMI output of a media player ☺️ OK, so it's a real-time process, but as someone who grew up in the 70s/80s, that's how recording video always was, so it doesn't bother me!! FWIW, this isn't something I do very often, but once in a while there's something I need/want to record 🤷♂️
Then explain how websites such as fmovies put these netflix movies on the same day they are released on Netflix?
The reason they can keep doing it is because most people have no idea how it's done. Even if netflix knows how it happens, they might not patch it because the knowledge is not available to most of their actual customers who would have real benefit from it
Hdcp splitters, they can remove protection from between the fire tv/ roku tv and the hdmi monitor... and some lab setup receiving the hdmi ... idk how the captions are captured tho, if not manual (unless captions aren't drm protected)
there's probably like 20 different workarounds, so Netflix movies/series will always get pirated, but you as a legitimate user still can't make a stupid screenshot
This is was very informative. I'd like to add just one more thing. Microsoft has their own implementation using this Microsoft Edge on Windows has Netflix at 4K.
You said how it manages to play, but WHY it gets BLANK WHEN WE RECORD IT?? And You're correct that Chrome's DRM (Digital Rights Management) typically limits Netflix playback to 720p. However, Netflix uses additional technologies to enable higher resolutions: Netflix's 4K playback requirements: 1. Widevine DRM L1: Required for 4K playback. Widevine L1 is a more secure DRM level. 2. HTML5 Premium: Netflix uses HTML5 Premium to deliver 4K content. 3. Google's Encrypted Media Extensions (EME): Enables DRM-protected content playback.
If I get what you asked, TEE see some traces of video recording software through metadata it consumes and returns grey picture frame instead of decrypted one.
But as far as I've got, you are better with this kind stuff, so you already know the answer.
Only 480p playback is visible to user processes which is decrypted by L3 as software plugins. L2 and L1 which is 720p and above are decrypted in OEMCrypto module in TEE which makes the rendered stream invisible to all user processes which includes recorders, L1 goes one step further makes it invisible to OS itself.
this can easily be circumvented by using a capture card on the display port and recording the audio as well, sure you might need to recompile the audio and video with a very slight quality hit but yeah it can definitely be done.
Can u teach how stock market data come without downtime
Websockets
What does "without downtime" means?
Bro who says it comes without downtime, technically the data u see is almost 3-5 sec late, for 0 latency or delay you have to buy a connection from SEBI, and if you are talking about downtime on apps like upstox, dhan and all sometime these are also down for few hours or mins, use grow their service is always down😂
Also curious what exactly you're asking
Assume, he can't, because of it's physically impossible to deliver information instantly, so it's ALWAYS time lag between computation and data delivery.
with this, you can also get an undesired bug on macs running the m chips, and which make use of docking stations with displaylink technologies. since mac treats the extensions of screens on displaylink technology as "your screen is being observed", meaning the flag is triggered, if you wan to play netflix on your secondary screen, it will play it blank. pull out the docking station and the video will play as expected... so this thing is tricky altogether.
🔍 icon ??😮
@@samzam7243 TH-cam introduced it recently. Their AI basically detects keywords which are difficult to understand and if you click on them it'll show you the Google results
Correct me if I am wrong but doesn't this become redundant if you have a capture card connected to your display driver.
So you let the DRM do the decryption and just consume the audio and video streams directly.
Yea even I thought this was a work around . You could also read from a HDMI port like on a tv and reconstruct the video , I think this is called webrip format in the torrent world. Atleast this method helps that video is not torrentable before a legitimate user is able to watch it, just saves some time. I still think some people still able bypass it
This doesn't work because the TV manufacturers also implement DRM.
Look up HDCP.
HDCP prevent other devices from copying the video stream.
Of course workarounds exist, but most people are not aware of them.
people have already figured out a way to decrypt widevine L1 protected content.
couple years ago someone dropped a github repo named "Widevine Dump".
this repo included some highly sophisticated code that can download and decrypt content from amazon prime, netflix, hulu, etc.
now, we have software like StreamFab which are publicly available for anyone to use to download content from many OTT platforms including netflix,amazon prime,etc
@@cloudstrife9204 Correct.
This channel is a goldmine!
While others are posting low effort stuff making half hour videos reading 2 min blogs, you sir are making high quality technical content. Great respect 🫡🫡
I see whom you are pointing at😂
I never watch those Theo videos lol
Thanks Mehul, Quality Content 🔥. keep them coming more
So I will get better quality videos than what I am getting on firefox on linux, if I just cancel my netflix subscription and hit the high seas?
Unfortunately, yes. They simply don't care about users. This is just a distraction to the investors. So the platforms tells them they are safe... But safe only to the average Joe recording themselves, like in the past that you could record a TV transmission or a tape in your home VCR.
Then how can we get Netflix series and movies within 5-6 hr after launch cause if it's that difficult than no one can download only
Yes it is hard but there are groups who can extract L1 keys and decrypt videos from source but they don't tell how to prevent it from getting patched
Hey, good content.
What's the tool you're using to draw boxes and arrows & write the notes?
This is awesome content, I always wanted to know, what happen behind the scenes, known somewhat but this is majority of it
Amazing Content 🔥 , Thankyou so much for sharing 🙌
Aapka Knowledge Toh Kamaal Ka Hai Bhai 🤌
You explained a complex topic very simply. Kudos!
Wow..thank you for explaining it in a very simple language.
This is good. Been looking for this content on DRM
None of what you said explained why the screen is black when recording - that's probably just JS or CSS that can be easily disabled lol
After TEE has done the decryption, they can't stop you from capturing it - it's there in your memory registers.
Very nice explanation in demystifing DRM. Which drawing software do you use in this video?
Such an interesting and clear tutorial. Thanks a lot Mehul!
You explained the Crux of it. Thanks
If you could make a video on how you have these videos on CDN, that would be great.
A very knowledgeable video.
What do you mean i can easily record it through obs and it is showing
Mehul sir always talks at engineering level things, not like others ❣
I liked your style of explaining. Mehul can you please tell me which program did you use to explain the concepts, where you write and draw lines, arrows, etc?
it's tldraw
@codedamn thankyou Bhai I'll search for it
Whats the virtual board in use? Pretty quick to create shapes, drag around & use simple fonts!
tldraw
Its excalidraw
All this effort they go to, but at the end of the day the content is playing on the screen - you just need a way to screen capture without being seen by the TEE. Kernel or hardware level interventions, VMs, physical cameras, it's impossible to block.
I learned new today about drm, but One of the best thing, learning continued also in comments😅😅,😂😂😂 thanks bhai log.
I love your videos mainly because no-nonsense pure technical architectural and real-world problems..... I wish you explained this in more depth no matter of the length of video I understand this takes lot of effort and editing time, but kindly don't skip important concepts. Even I was wondering about this for a long time Udemy also doing the same thing now....
I was watching netflix on chrome for months until I found out it is just 720p. I am still mad 😂
Pretty cool video! Thanks for the explanation.
There are downloaders availabe which can download from Netflix, Amazon prime, AppleTv, Hotstar and many more....
If you turn off hardware acceleration (on settings) in the Chrome browser, you can recording on Netflix and all other platforms.
Nice content quick question, how does this prevent recording via external software? I mean is there some web api which can detect that the screen is being recorded or shared and blackens out the video?
But after this also any series upload on Netflix it is available on the same day on 3rd party or eg telegram
very good explanation. Thank you very much.
Really amazing and well explained; Thank you very much.
There's no way to prevent a streaming video from being recorded. All this encryption does is try to prevent a perfect copy of the sent video data from being recorded. Recording a screen can be done at an operating system level that is outside of what the browser has control over.
Superb Content🔥🔥🔥🔥🔥
But how do they disable screen recording on laptops and desktop using screen recording applications?
But, you still didn't tell the reason why we can't record the video through video recording/capture software.
Its fine that the vudeo is playing in a drm protected video player. But, what is stopping the screen capture utility to record that? Why aren't we able to make the drm software beleive that there is no screen recording software?
What about passthrough HDMI capture devices? Is netflix able to block that too?
This is awesome, never knew just how complex widevine was.
How did you put that comment?
@waqasahmad55202 it's auto generated by Google, like TikTok doing on their comment
@@waqasahmad55202it's TH-cam, they are trying out this gesture where some words have search feature
thanks man , thats awesome information....waiting for next cool stuff like this
Wow. Just wow. I'm blown. Such a great tech video.
how does firefox play drm video then, does it ask some OS layer software to do this ( is this the reason firefox does not play netflix in linux) because firefox is opensource right? also you did not cover the video recording part, how does the browser knows when the screen is getting recorded ?
Firefox also supports Google Widevine, but you have to enable it IIRC.
This is great content! Thanks for sharing.
can anyone tell me what software he is using for writing notes..??
uhmm, the whole video goes in drain because, i played netflix yesterday on CHROME, recorded with OBS to get some Drive to Survive clips, and i have them, i did nothing as mentioned in comments
What about the browser that is not built on top of chromium will netflix not support that browser
can you please tell what software he uses for drawing those boxes and arrows???
tldraw
I once read on some OpenGL topic a feature where a buffer gets displayed so fast that it makes it "exclusive" to the main hardware display and there is no way a software can intercept the data
and it said it was the feature perfectly fits for DRM technology to utilize, is this the hardware acceleration feature?
i cant pinpoint the site but this is what I recall please enlight me if im wrong
I now have more respect to the WebDL releases on torrents where the scene group somehow dump those keys from the TPM
Le me: tv pe chalake phone se record karlo 😂😂
so if i pay i cant play fhd but i can play fhd by downloading from some sites. + this site have collection from all other sites 😔
Wait, since information exchange happens with the widevine server, won't those calls be visible if we intercept them through wireguard? It doesn't matter if the decryption happens within the secure environment. Won't it be possible to intercept those requests and try to reverse-engineer/ see the payload returned by the widevine signing server?
Right?
It's possible for only L3, L2 and L1 keys are only usable in requesting device keybox(part of OEMCrypto) for that playback session only. In L1 and L2 not even CPU has access to decrypted clear keys. Widevine is nuts
I know people record from netflix and upload torrents. Would be interesting if you let us knowhow that works too.
Can you make a separate video on TEE What is it? How it works etc?
Wonderful video Mehul
Great video, you gave me great insights on the DRM topic
It’s crazy to think that the best solution is to gave up control to propertary software and hardware.
Google is dominating the internet
DRM developers go through all of this hassle, only to be completely ignored and have their dream shattered by a $2 HDMI splitter from AliExpress. 😂
This is top quality content 👏
Encrypting the video is useless because eventually it will still pass the unencrypted movie back to the user else it cant play.
Very informative, subscribed
Then how are Netflix videos available to download on other pirated website?
what software or online tool youre using plz reply the name..
brower by design in open sharing platform ... anthing from any webiste netflix or anthing else by design can be download
There must be some countries where Netflix is not allowed to do it like this because I’ve been downloading Netflix shows from bots for a long long time and the quality of file is the original media with subtitles and everything embedded in the media.
Wdym bots, i just download mine from torrents
@@vanskis7618 bots download the torrents, then I download it from the bots.
@@vanskis7618those are telegram bots
Hello,Mehul . A Request to make a video on Shutterstock
what is the tool he uses to draw on screen? any idea. i dont think it is excalidraw
it's tldraw
@@codedamn