hello fellas...

I have an encrypted mp4 file vid_enc,mp4  i get return 3 keys 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

i know the mannual method to decrypt file using multiple keys like --key xxxxxx:xxxx --key xxx:xxxx so on...
and its working mannualy decrypt no issues...
but i dont want this as mannual...


i need that below script can check each key one by one and which is correct it decrypt mp4 file..
os.system('mp4decrypt' + ' --key ' + str(decrypt_key) + ' "' + download_path + 'vid_enc.mp4' + '" "' + download_path + 'vid_dec.mp4' + '"')

above script overwrites all keys and grab the last one.. it cant check all keys one by one..
so want mp4decrypt can check each key one by one...
any solution guys..
Decrypt mp4 file using multiple keys...
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : Decrypt mp4 file using multiple keys...
Issue date:

--- start body ---
hello fellas...

I have an encrypted mp4 file vid_enc,mp4  i get return 3 keys 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

i know the mannual method to decrypt file using multiple keys like --key xxxxxx:xxxx --key xxx:xxxx so on...
and its working mannualy decrypt no issues...
but i dont want this as mannual...


i need that below script can check each key one by one and which is correct it decrypt mp4 file..
os.system('mp4decrypt' + ' --key ' + str(decrypt_key) + ' "' + download_path + 'vid_enc.mp4' + '" "' + download_path + 'vid_dec.mp4' + '"')

above script overwrites all keys and grab the last one.. it cant check all keys one by one..
so want mp4decrypt can check each key one by one...
any solution guys..
--- end body ---

None