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.
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.
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.
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
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.
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.
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).
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.
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.
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!
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.
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
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.
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
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
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. : )
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.
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 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?
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 UA-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
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.
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.
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.
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.
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
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.
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.
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 🫡🫡
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.
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....
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.
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.
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 🤷♂️
This is some real content. Thank you so much. Would love to have some code examples for data compression you explained in the previous video. Love from Pakistan ❤
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?
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
Although a pirate with video card can just capture the DP/HDMI output. But it's not a moral question, rather if someone's willing to spend the initial money because they hate netflix, because video card is actually very common.
Although a normal day-to-day user might not bother to crack HDCP (which is not so special BTW), It is technically not impossible to do so, given that pirates go to extreme extents to copy "copyrighted" media, a home made solution can easily be made. Although you can't sell it due to legal issues.
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.
Had to try the screen recording thing on my Linux setup, and it just worked without issue hahaha. I could record Netflix on Firefox with OBS on Wayland.
Bro huge respect for me. I'm also working TEE right now at my job, where I'm working on deploying a web server which requires super high security in AWS Nitro enclave. Never expected this to be on an Indian ytber no offense
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
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.
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.
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
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
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.
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.
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
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)
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😊
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.
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!
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.
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
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.
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
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
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. : )
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.
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 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?
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 UA-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
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.
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 are one of my favorite dev channels. The content you put out is such high quality, wishing you more success.
This channel is a goldmine!
This is awesome content, I always wanted to know, what happen behind the scenes, known somewhat but this is majority of it
If you turn off hardware acceleration (on settings) in the Chrome browser, you can recording on Netflix and all other platforms.
Very clear that you have not understood this clearly. I would recommend you to understand this fully and then make a video to others.
Thanks Mehul, Quality Content 🔥. keep them coming more
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.
Wow..thank you for explaining it in a very simple language.
This is good. Been looking for this content on DRM
You explained a complex topic very simply. Kudos!
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
Such an interesting and clear tutorial. Thanks a lot Mehul!
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
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.
Amazing Content 🔥 , Thankyou so much for sharing 🙌
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.
Aapka Knowledge Toh Kamaal Ka Hai Bhai 🤌
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
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.
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....
A very knowledgeable video.
Mehul sir always talks at engineering level things, not like others ❣
I learned new today about drm, but One of the best thing, learning continued also in comments😅😅,😂😂😂 thanks bhai log.
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
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 UA-cam, they are trying out this gesture where some words have search feature
Very nice explanation in demystifing DRM. Which drawing software do you use in this video?
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.
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
Really amazing and well explained; Thank you very much.
Encrypting the video is useless because eventually it will still pass the unencrypted movie back to the user else it cant play.
I now have more respect to the WebDL releases on torrents where the scene group somehow dump those keys from the TPM
Pretty cool video! Thanks for the explanation.
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
very good explanation. Thank you very much.
chrome and firefox both can play upto 1080p Netflix on their latest versions
use no script extension on your browser and disable the drm javascript
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.
I was watching netflix on chrome for months until I found out it is just 720p. I am still mad 😂
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 🤷♂️
Meanwhile me beating DRMs since last 2 years, have downloaded videos from all streaming platforms you name. Yes, downloaded, not recorded.
How did you learn it ?
@@naeempetiwala1289 trying and trying bro. I'm being reverse engineering since last 7 years
Please teach us if possible...
There are downloaders availabe which can download from Netflix, Amazon prime, AppleTv, Hotstar and many more....
Can you make a separate video on TEE What is it? How it works etc?
Torrent per Netflix ka sara maal mil jata hai easily. Kitni bhi protection kar le.
Just turn off hardware (GPU) acceleration in chrome and record your desktop with OBS....works fine
Hey, good content.
What's the tool you're using to draw boxes and arrows & write the notes?
This is great content! Thanks for sharing.
This is some real content. Thank you so much.
Would love to have some code examples for data compression you explained in the previous video.
Love from Pakistan ❤
Please keep making such engineering videos
Still all the Netflix series are available freely from Day 1 of launch
Hackers also update with them and they use loopholes in this entire process
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
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. 😂
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.
If you're using a browser turn off hardware acceleration if you wanna record/stream.
Wow. Just wow. I'm blown. Such a great tech video.
Just use hdmi recorder.
thanks man , thats awesome information....waiting for next cool stuff like this
All you need to do is disable hardware acceleration in settings
Although a pirate with video card can just capture the DP/HDMI output. But it's not a moral question, rather if someone's willing to spend the initial money because they hate netflix, because video card is actually very common.
No it cannot, there's something called HDCP for it
Although a normal day-to-day user might not bother to crack HDCP (which is not so special BTW), It is technically not impossible to do so, given that pirates go to extreme extents to copy "copyrighted" media, a home made solution can easily be made. Although you can't sell it due to legal issues.
@@sudiptapandit4880 chinese hdmi splitters have hdcp bypass feature and few splittters can even bypass latest hdcp 2.2 and record 4k videos
Le me: tv pe chalake phone se record karlo 😂😂
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.
brower by design in open sharing platform ... anthing from any webiste netflix or anthing else by design can be download
But how do they disable screen recording on laptops and desktop using screen recording applications?
Had to try the screen recording thing on my Linux setup, and it just worked without issue hahaha. I could record Netflix on Firefox with OBS on Wayland.
Bro huge respect for me. I'm also working TEE right now at my job, where I'm working on deploying a web server which requires super high security in AWS Nitro enclave. Never expected this to be on an Indian ytber no offense
Security by obfuscation, it would be interesting to see if LLMS can decide some of obfuscation
Setup a Virtual Machine and Record it from your Host.
Title should be: How netflix tries to stop you from downloading videos.
Because there's so many ways of downloading them some even curcumvent the DRM.
DRM stands for Digital Restrictions Management. There's no rights, only restrictions
I remember that hardware acceleration trick for movie nights
In any case, bravo to the community, my girlfriend has these Korean dramas in 4K HDR 2 hours after their release in South Korea.
Thank you learnt something valuable today