CREDIT:
Credit for part of the code (specifically the arguments passed to mp4decrypt in the subprocess call) in this repository goes to a fellow CDRM Project user, who has asked to remain anonymous.

PURPOSE;
These files provide the functionality needed to replace Shaka Packager - Devine's default decryption tool - with mp4decrypt, which is the better option for some (if not all) services.  For example, ABC iview (AUBC) and Channel 5 (MY5) both give a "seeing non-zero composition offset" warning when decrypting video tracks, but this does not happen when using mp4decrypt.  Furthermore, some services, such as AUBC, package and encrypt using mp4dash, which is mp4decrypt's sister software (both are products of Bento4 / Axiomatic Systems) and is therefore the logical choice for such situations.

INSTALLATION AND USAGE:
1. replace the binaries.py (devine/core/binaries.py) and widevine.py (devine/core/drm/widevine.py) files in your existing Devine installation with the two respective .py files in this repository.  You may wish to make a backup of the original files before replacing them in case you want to revert back to Shaka Packager or in the unlikely event that something goes awry.
2. download mp4decrypt from this repository (the version on here currently works and will be updated as necessary) or from the official source at https://www.bento4.com/downloads/
3. add mp4decrypt to your system/user PATH.
4. proceed to use Devine as usual.

DISCLAIMER:
DO NOT decrypt or attempt to decrypt content for which you have no rights and/or are not authorized (note that "rights" here means permissions, not exclusive intellectual-property rights).  Doing so may violate copyright law depending on jurisdiction and risks depriving content creators/owners of revenue and potentially their livelihoods (and nobody wants that).