I used the command line to download a series from abc.com with N_m3u8DL-RE I decrypted the both file audio and video with mp4decrypt and combined them with ffmpeg the final result a corrupted video , anyone could guide to solve this issue ?
[Attachment 69225 - Click to enlarge]
+ Reply to Thread
Results 1 to 22 of 22
-
-
Looks like incorrect key
You can also do the whole download, decrypt and merge with a single command using N_m3u8DL-RE -
write here your video link. someone get the key and you can compare with yours
-
This is the link for the episode to download
I got 3 keys from command line N_m3u8DL-RE kid=4098a6a720374bfcbb4e362b652bcd51
and two, one for video and audio as shown in attachment please feel free to correct me if I made a mistake
[Attachment 69226 - Click to enlarge] -
-
The command was: N_m3u8DL-RE URL MPD which I got from stream detector this one
"https://content-dtci.uplynk.com/ext/d874124ecca24c88a3c9575e78686acf/0f8ac4cc8d2e459eba4d0cafe74e830e.mpd?cqs=fBsa8dmbY 2U1KjI7cykvEgG2zqF9j72cJM-Sz51N6HjG0MQnufdXx3-4j3rY5jV232B8Mhbqpf2ApEM595rLBjp8_geih4llO7ZxWfpW5 FXZ26u8_zwkZDWVgmK_8BXw2jXUWEzTe1mTFdc3a--1nipEbtazmJn4irVm7Lkm3pQvErpAHTbIKwIK0tJf9ivr2eWn0 DhzZZTwJc5j887kgjDO1ojNu5pdThW4xwc0LPy12KkVNWUcqJW 8_VVItmfOdyHwPMc77yUt9Z3Fy4RadYMVTy7J8GorZMWAWJhwQ Sgd4L3jRNGkEJ5ct6GZmpo6SQ7SiZ46eJLnvrlidABlvAAyBYN K-2AdxGPTVYCU5qnuhIrLtTKYMcvAXYN6gDCDslfQqhWKJi0b2v3 ZApgiJtNmFLw_H8t6eq63ILTJhk8HRtCbxjuG26RlizBHl5V49 A_wRtM3wpMweAQcgf4Us4jLbXxFRyBJqKhwbv9xWtK3qMDJn8R wZZf567UkyRb5YZ9RvZsKdCldoqWowB5FYrMjM_uDqFQvOfZNq JCB1NZkY3R8Y5LGHzQGQNUK_8-D14neNBnHrbwVlfAqfnyHDV_-jpjttiX1LArr7g_cAV8=&kid=4098a6a720374bfcbb4e362b652bcd51"
00:55:46.336 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
00:55:46.337 INFO : Parsing streams...
00:55:46.425 INFO : Extracted, there are 10 streams, with 7 basic streams, 2 audio streams, 1 subtitle streams
00:55:46.426 INFO : Vid *CENC 1280x720 | 5871 Kbps | G | avc1.64001f | 625 Segments | ~42m40s
00:55:46.428 INFO : Vid *CENC 1280x720 | 4493 Kbps | F | avc1.64001f | 625 Segments | ~42m40s
00:55:46.429 INFO : Vid *CENC 1280x720 | 2961 Kbps | E | avc1.4d001f | 625 Segments | ~42m40s
00:55:46.430 INFO : Vid *CENC 960x540 | 1508 Kbps | D | avc1.4d001f | 625 Segments | ~42m40s
00:55:46.432 INFO : Vid *CENC 640x360 | 607 Kbps | C | avc1.4d001e | 625 Segments | ~42m40s
00:55:46.433 INFO : Vid *CENC 416x234 | 309 Kbps | B | avc1.4d000d | 625 Segments | ~42m40s
00:55:46.434 INFO : Vid *CENC 256x144 | 145 Kbps | A | avc1.4d000c | 625 Segments | ~42m40s
00:55:46.436 INFO : Aud *CENC v0 | 129 Kbps | mp4a.40.5 | en | 2CH | 625 Segments | ~42m40s
00:55:46.437 INFO : Aud *CENC dvs0 | 129 Kbps | mp4a.40.5 | en | 2CH | 625 Segments | ~42m40s
00:55:46.438 INFO : Sub 3 | en | wvtt | 625 Segments | ~42m40s
00:56:13.130 INFO : Parsing streams...
00:56:13.130 INFO : Selected streams:
00:56:13.131 INFO : Vid *CENC 416x234 | 309 Kbps | B | avc1.4d000d | 625 Segments | ~42m40s
00:56:13.132 INFO : Aud *CENC v0 | 129 Kbps | mp4a.40.5 | en | 2CH | 625 Segments | ~42m40s
00:56:13.132 INFO : Sub 3 | en | wvtt | 625 Segments | ~42m40s
00:56:13.133 INFO : Save Name: 0f8ac4cc8d2e459eba4d0cafe74e830e_2023-02-15_00-56-13
00:56:13.134 INFO : Start downloading...Vid 416x234 | 309 Kbps | B | avc1.4d000d
00:56:13.135 WARN : When CENC encryption is detected, binary merging is automatically enabled
00:56:13.680 WARN : Type: cenc
00:56:13.683 WARN : KID: 15656cb0aac340bc8a1e43c3808d4d71
00:56:13.685 WARN : Reading media info...
00:56:13.741 INFO : [0x2]: Video, h264 (avc1), 416x234
00:59:17.651 INFO : Binary merging...
00:59:18.020 INFO : Start downloading...Aud v0 | 129 Kbps | mp4a.40.5 | en | 2CH
00:59:18.129 WARN : Type: cenc
00:59:18.137 WARN : KID: 270e355946de4b0eabb7fa7e0991e57e
00:59:18.141 WARN : Reading media info...
00:59:18.238 INFO : [0x1]: Audio, aac (mp4a)
01:00:42.246 INFO : Binary merging...
01:00:42.415 INFO : Start downloading...Sub 3 | en | wvtt
01:00:42.519 WARN : Reading media info...
01:00:42.583 INFO : NaN: Unknown
01:01:01.989 WARN : Extracting VTT(mp4) subtitle...
01:01:02.117 INFO : Binary merging...
01:01:02.128 INFO : Done
two files video and audio then I decrypted them with code :
Code:mp4decrypt --key 4098a6a720374bfcbb4e362b652bcd51:15656cb0aac340bc8a1e43c3808d4d71 vid.mp4 output.mp4
Code:mp4decrypt --key 4098a6a720374bfcbb4e362b652bcd51:270e355946de4b0eabb7fa7e0991e57e audio.m4a output.m4a
-
They are kid not key. You will need 2 key for video and audio. —key kid:key “encrypted video.mp4” “decrypted video”
Code:video --key e758b98a2c2b44a0be2d15eb8b5c34c1:a513883f48026d791832a9f4d5f500fa audio --key 270e355946de4b0eabb7fa7e0991e57e:e1be45664b01633ebc3cc79874515320
Last edited by iamghost; 14th Feb 2023 at 20:13.
-
why you need to decrypt manually after download your video ??
put the key on N_m3u8DL-RE and he will do everything by himself ....
N-m3u8DL-RE -M format=mp4 --key xxxx "https://mpd" --save-name xxx -
-
-
as ElCap already say it
you will need PSSH and lic url to use https://cdrm-project.com/ to get keys
PSSH and lic are inside mpd file. -
-
-
Last edited by caputcha; 16th Feb 2023 at 18:52.
-
https://codebeautify.org/xmlviewer Put mpd in there click on beautify on right side you can clearly read and find license url there
-
-
Last edited by iamghost; 17th Feb 2023 at 05:53.
-
Similar Threads
-
Download from ABC.com
By phineferb98 in forum Video Streaming DownloadingReplies: 6Last Post: 3rd Jan 2023, 09:08 -
download from ABC
By [ss]vegeta in forum Video Streaming DownloadingReplies: 9Last Post: 29th Jul 2021, 12:44 -
Newbie: Video ok on phone but corrupted after download
By cliff1959 in forum Newbie / General discussionsReplies: 12Last Post: 5th Apr 2020, 18:18 -
I ask for help to download a video from ABC
By Boldest06 in forum Video Streaming DownloadingReplies: 12Last Post: 19th Nov 2019, 11:45 -
How to download videos from ABC site in HD?
By AngelofDarkness in forum Video Streaming DownloadingReplies: 5Last Post: 23rd Mar 2018, 03:18