Trying to use mp4decrypt to decrypt a video stream of MSNBC from Peacock. it's 5 hour long and it is the right key as far as I am aware as when playing the file back in pot player the first frame is shown. I also made a small recording right after to test mp4decrypt and it does the same thing, only plays the first frame and will not playback the video, with a time code that states it's 138 hours even tho it's only 50 something seconds, same thing with the five hour record.
I was able to fix the playback issue with the small recording by dumping it into mkvtoolnixgui, but it does not work with the five hour recording making it unplayable at all, with mediafile showing even less information.
The stream was captured using N_m3u8DL-RE
Command to capture stream. N_m3u8DL-RE -M format=mp4 --live-real-time-merge "https://live-oneapp-prd.akamaized.net/Content/CMAF_OL1-CTR-4s/Live/channel(msnbc)/master.mpd"
(Did not decrypt live while capturing. Trying to decrypt offline now.)
Even with the "fixed" short file along side the broken short file and long file recording it still shows as "encrypted" and when putting it into avidemux it just shows up as a black screen with what looks like tv noise at the bottom of the frame.
Here is the mpd link to the stream and the key in question to test for yourself. https://live-oneapp-prd.akamaized.net/Content/CMAF_OL1-CTR-4s/Live/channel(msnbc)/master.mpd 7fbd8a75e83336cdaba616c677f3bae9:936b15f1bfeb31c58 1d16ab2ab83cd65
This is the first time capturing mpd drm protected livestreams so I'm not sure if I did something wrong. If needed I can upload the full recording for y'all to look at.
I'm trying to find alternatives to mp4decrypt but trying to use Shaka-packeger seems to have some sort of argument interpretation issues with the usage examples in the drm decryption software list thread on this exact forum (I have renamed the command to the name of the actual file the binary was named which was not "shaka-packeger".) And I just have not been able to find a way to get ffmpeg to work either. Again I'm sure I am probably doing something wrong so feel free to inform in any errors or misunderstandings I am most likely making.
Here is the following command lines I am using.
For mp4decrypt
mp4decrypt --key 7fbd8a75e83336cdaba616c677f3bae9:936b15f1bfeb31c58 1d16ab2ab83cd65 --show-progress "D:\MSNBC_TO_DECRYPT\master_2024-01-23_19-23-42.mp4" "D:\MSNBC_TO_DECRYPT\DECRYPTED\master_2024-01-23_19-23-42.mp4"
For ffmpeg
ffmpeg -i "D:\MSNBC_TO_DECRYPT\master_2024-01-23_19-23-42.mp4" -encryption_scheme cenc-aes-ctr -encryption_key 936b15f1bfeb31c581d16ab2ab83cd65 -encryption_kid 7fbd8a75e83336cdaba616c677f3bae9 "D:\MSNBC_TO_DECRYPT\DECRYPTED\master_2024-01-23_19-23-42.mp4"
For Shaka
packager-win-x64 in="D:\MSNBC_TO_DECRYPT\master_2024-01-23_19-23-42.mp4",stream=video,output= "D:\MSNBC_TO_DECRYPT\DECRYPTED\master_2024-01-23_19-23-42.mp4" --enable_raw_key_decryption --keys key_id=7fbd8a75e83336cdaba616c677f3bae9:key=936b15 f1bfeb31c581d16ab2ab83cd65
Either way this is my first post btw, so uh hey ya :3
Any response is appreciated.
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 7 of 7
-
-
To get a decrypted and properly muxed .mp4 file:
Code:N_m3u8DL-RE "https://live-oneapp-prd.akamaized.net/Content/CMAF_OL1-CTR-4s/Live/channel(msnbc)/master.mpd" --key "7fbd8a75e83336cdaba616c677f3bae9:936b15f1bfeb31c581d16ab2ab83cd65" --mp4-real-time-decryption --live-real-time-merge -M --format=mp4 --save-name "msnbc"
Code:--live-record-limit "HH:mm:ss"
-
-
Code:
N_m3u8DL-RE "https://live-oneapp-prd.akamaized.net/Content/CMAF_OL1-CTR-4s/Live/channel(msnbc)/master.mpd" --live-real-time-merge --live-record-limit 00:05:00 -M --format=mp4 --key 7fbd8a75e83336cdaba616c677f3bae9:936b15f1bfeb31c581d16ab2ab83cd65 --use-shaka-packager
Last edited by DPyro; 27th Jan 2024 at 21:05.
-
This recording worked! Thank you!
None the less is it possible to use this with an existing recording file that is still encrypted? I'm still trying to decrypt a recording I already have that has yet to be decrypted. How does one use shaka-packeger to decrypt the file? The command line and arguments on the decryption thread does not work for me. Issues with argument interpretation from what I can see. -
-
Oddly enough I found this command to work for shaka packager.
Will post it here in case anyone else is having the same problem.
And if the decrypted file is still having time code issues throw it in mkvtoolnix gui and it should work in the end.
packager-win-x64 input="D:\MSNBC_TO_DECRYPT\master_2024-01-23_19-23-42.eng.m4a",stream=audio,output="D:\MSNBC_TO_DECRY PT\DECRYPTED\master_2024-01-23_19-23-42_DECRYPTED.eng.m4a" --enable_raw_key_decryption --keys label=0:key_id=7fbd8a75e83336cdaba616c677f3bae9:ke y=936b15f1bfeb31c581d16ab2ab83cd65
packager-win-x64 input="D:\MSNBC_TO_DECRYPT\master_2024-01-23_19-23-42.mp4",stream=video,output="D:\MSNBC_TO_DECRYPT\D ECRYPTED\master_2024-01-23_19-23-42_DECRYPTED.mp4" --enable_raw_key_decryption --keys label=0:key_id=7fbd8a75e83336cdaba616c677f3bae9:ke y=936b15f1bfeb31c581d16ab2ab83cd65
Similar Threads
-
Decrypt an mpd
By AUVIOHELPNEED in forum Video Streaming DownloadingReplies: 11Last Post: 18th Nov 2024, 09:11 -
How to download this DRM free livestream? (MPD or M3U8)
By dappaulu in forum Video Streaming DownloadingReplies: 3Last Post: 6th Nov 2023, 10:05 -
Decrypt MPD
By Zaito in forum Video Streaming DownloadingReplies: 2Last Post: 3rd Sep 2022, 22:36 -
Do you know how to decode a MPD Livestream?
By felipesantos989 in forum Video Streaming DownloadingReplies: 0Last Post: 14th May 2021, 22:27 -
Help decrypt MPD Live Stream
By Egn69217j_ in forum Video Streaming DownloadingReplies: 8Last Post: 13th Apr 2021, 07:21