I'm trying to reconstruct ism audio from https://edgecastcdnsecure.hbogo.eu/2dd457bf-38c6-26e4-c7c7-a4d4fb0940cf_m111894_hbo/CO...2.ism/manifest
I managed to download all the segments with youtube_dl without drm limitations, i have the key
but when i try to decrypt the file (ffmpeg -decryption_key 2c9e499d6423560cdb5e43d3951ccb37 -i manifest-manifest.isma.part-Frag0 manifest-manifest.isma.part-Frag0.mp4)Code:2c9e499d6423560cdb5e43d3951ccb37 (KID=89212098090146b130c429997b5c9523)
In mpd streams there were init segments which i had to merge with each segment before decrypting but after looking at youtube-dl code it seems that those 'information' should already be inside each segment file.Code:[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ef0320d340] could not find corresponding trex (id 1) [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ef0320d340] trun track id unknown, no tfhd was found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ef0320d340] error reading header manifest-manifest.isma.part-Frag0: Invalid data found when processing input p
how do you deal with ism streams ?
+ Reply to Thread
Results 1 to 7 of 7
Last edited by notaghost; 16th Jan 2021 at 08:31. Reason: same reply as hvqdiscord notaghost#9997
The init info is not in the manifest file but is handled by the player. Here is the init file: https://anonfiles.com/t4vfSe9fp4/init_audio_m4a
Merge this with the audio file and decrypt. But you need to make sure that the ID of both, init and audio is the same. So you need to edit trex and tkhd values in a Hex editor.