If you have extracted a key (using a tool like mp4decrypt or a Widevine CDM) and have an encrypted segment (e.g., init.mp4 or segment_1.m4s ):