WHTJEON / widevine-dl

Widevine MPD Content Downloader & Decryptor
GNU General Public License v3.0
272 stars 97 forks source link

Cannot find "mp4decrypt" on mac os #14

Open cmoulliard opened 2 years ago

cmoulliard commented 2 years ago

Issue

When we execute the script python widevine-dl.py from a terminal, then we got this error on mac

Decrypting WideVine DRM.. (Takes some time)
sh: mp4decrypt: command not found
sh: mp4decrypt: command not found

Question: How do we get such a key ?

Enter WideVineDecryptor Prompt: 
> 
Felixbstck commented 1 year ago

The issue isn't with the key but with mp4decrypt which doesn't work on mac even with a valid key

Felixbstck commented 1 year ago

I got a fix to the decryptor you can download a new decryptor from https://www.bento4.com/downloads/ it's in the bin files just rename to mp4decrypt_mac

CAlmendros commented 1 year ago

Same issue happens on linux but, at least on linux's case, the problem is that mp4decrypt hasn't execution permissions.

This solved the issue for me:

chmod +x mp4decrypt_linux