I have a strange case
Mpd with multiple periods with first period being some ad.
Removed first period, added hostname to every <BaseUrl> part (taken from the segments that came in in network tab) eg. https://cf.eu.prd.media.max.com/2e8dc8bd-514c-48f9-98da-63fb6e38dab7/v/0_6a28f9/v4.mp4Code:https://cf.eu.prd.media.max.com/r/dash.mpd?f.audioCodec=heaac&f.audioTrack=en-US%7Cdescriptive%2Cprogram&f.audioTrack=pl%7Cprogram&f.textTrack=en-US&f.textTrack=pl&f.videoCodec=avc&f.videoDynamicRange=sdr&r.duration=30.000000&r.duration=5751.960000&r.keymod=2&r.main=1&r.manifest=8f26c2a6-0492-4f0e-b57d-3e3226388175%2F0_c34543.mpd&r.manifest=2e8dc8bd-514c-48f9-98da-63fb6e38dab7%2F1_03e3ca.mpd&r.origin=cfc%7Cprd-wbd-emea-vod&x-wbd-tenant=beam&x-wbd-user-home-market=emea
mpd content:
WidevineFetch returned multiple keys but still only audio decodedCode:https://pastebin.com/XdxE5JsL
command i use
Command outputCode:N_m3u8DL-RE btc.mpd --key 01007b3d8622c40b593074d18bcd9648:53d4a6e764e3731ffba0705bc994269e --key 010112575f3d5f1b14ebee8496eca4b7:0670b9339ec092e060bedcae93f85b8b --key 0102af6a082e198682be97fefd0b780a:b4ede66a4e6bb3d333da13beb6e00c36 --key 0105c1a08a823547dfcb6cd9ac24805f:00000000000000000000000000000000 --save-name b -mt -M format=mp4 -sv best -sa lang:pl -ss
Is it too complex thing for N_m3u8DL-RE ?Code:16:09:20.667 INFO : N_m3u8DL-RE (Beta version) 20240630 16:09:20.685 INFO : Loading URL: btc.mpd 16:09:20.687 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP 16:09:20.688 INFO : Parsing streams... 16:09:20.701 WARN : Writing meta json 16:09:20.702 INFO : Extracted, there are 17 streams, with 10 basic streams, 3 audio streams, 4 subtitle streams 16:09:20.703 INFO : Vid *CENC 1920x1080 | 13888 Kbps | v3 | 25 | avc1.640029 | 1 Segment | Main | ~01h35m51s 16:09:20.704 INFO : Vid *CENC 1600x900 | 8306 Kbps | v7 | 25 | avc1.640028 | 1 Segment | Main | ~01h35m51s 16:09:20.704 INFO : Vid *CENC 1280x720 | 5192 Kbps | v6 | 25 | avc1.64001f | 1 Segment | Main | ~01h35m51s 16:09:20.705 INFO : Vid *CENC 1024x576 | 3244 Kbps | v8 | 25 | avc1.64001f | 1 Segment | Main | ~01h35m51s 16:09:20.706 INFO : Vid *CENC 768x432 | 2136 Kbps | v4 | 25 | avc1.64001e | 1 Segment | Main | ~01h35m51s 16:09:20.706 INFO : Vid *CENC 640x360 | 1518 Kbps | v0 | 25 | avc1.64001e | 1 Segment | Main | ~01h35m51s 16:09:20.707 INFO : Vid *CENC 544x306 | 1017 Kbps | v1 | 25 | avc1.640015 | 1 Segment | Main | ~01h35m51s 16:09:20.707 INFO : Vid *CENC 480x270 | 645 Kbps | v5 | 25 | avc1.640015 | 1 Segment | Main | ~01h35m51s 16:09:20.707 INFO : Vid *CENC 416x234 | 438 Kbps | v2 | 25 | avc1.64000d | 1 Segment | Main | ~01h35m51s 16:09:20.708 INFO : Vid 352x198 | 4 Kbps | images_1 | 1153 Segments | ~01h36m05s 16:09:20.708 INFO : Aud *CENC a0 | 66 Kbps | mp4a.40.5 | en-US | 2CH | 1 Segment | ~01h35m51s 16:09:20.709 INFO : Aud *CENC a6 | 66 Kbps | mp4a.40.5 | pl | 2CH | 1 Segment | ~01h35m51s 16:09:20.709 INFO : Aud *CENC a2 | 66 Kbps | mp4a.40.5 | en-US | 2CH | 1 Segment | Alternate | ~01h35m51s 16:09:20.710 INFO : Sub t3 | en-US | 6 Segments | Subtitle | ~01h35m51s 16:09:20.710 INFO : Sub t10 | pl | 6 Segments | Subtitle | ~01h35m51s 16:09:20.711 INFO : Sub t11 | pl | 6 Segments | ~01h35m51s 16:09:20.711 INFO : Sub t2 | en-US | 6 Segments | ~01h35m51s 16:09:20.712 INFO : Parsing streams... 16:09:20.712 INFO : Selected streams: 16:09:20.712 INFO : Vid *CENC 1920x1080 | 13888 Kbps | v3 | 25 | avc1.640029 | 1 Segment | Main | ~01h35m51s 16:09:20.713 INFO : Aud *CENC a6 | 66 Kbps | mp4a.40.5 | pl | 2CH | 1 Segment | ~01h35m51s 16:09:20.717 WARN : Writing meta json 16:09:20.720 INFO : Save Name: b 16:09:20.720 WARN : MuxAfterDone is detected, binary merging is automatically enabled 16:09:20.872 WARN : The entire file has been cut into small segments to accelerate 16:09:21.093 INFO : Start downloading...Aud a6 | 66 Kbps | mp4a.40.5 | pl | 2CH 16:09:21.295 WARN : The entire file has been cut into small segments to accelerate 16:09:21.299 INFO : Start downloading...Vid 1920x1080 | 13888 Kbps | v3 | 25 | avc1.640029 | Main 16:09:21.911 WARN : Type: cenc 16:09:21.916 WARN : KID: 01007b3d8622c40b593074d18bcd9648 16:09:21.921 WARN : Reading media info... 16:09:22.046 INFO : [0x1]: Audio, aac (LC) (mp4a), 14 kb/s 16:09:22.365 WARN : Type: cenc 16:09:22.366 WARN : KID: 0105c1a08a823547dfcb6cd9ac24805f 16:09:22.369 WARN : Reading media info... 16:09:22.439 INFO : [0x1]: Video, h264 (High) (avc1), 1920x1080, 25 fps, 14 kb/s 16:09:24.143 INFO : Binary merging... 16:09:31.294 WARN : Type: cenc 16:09:31.297 WARN : KID: 01007b3d8622c40b593074d18bcd9648 16:09:31.299 INFO : Decrypting... 16:11:12.194 INFO : Binary merging... 16:12:40.855 WARN : Type: cenc 16:12:40.856 WARN : KID: 0105c1a08a823547dfcb6cd9ac24805f 16:12:40.858 INFO : Decrypting... 16:14:21.937 WARN : b.mp4 16:14:21.938 WARN : b.pl.m4a 16:14:21.938 WARN : Muxing to b.MUX.mp4 16:14:21.980 WARN : [h264 @ 00000000007d8c80] top block unavailable for requested intra mode 16:14:21.981 WARN : [h264 @ 00000000007d8c80] error while decoding MB 4 0, bytestream 391 16:15:53.524 WARN : Cleaning files... 16:15:53.848 WARN : Rename to b.mp4 16:15:53.849 INFO : Done
I also tried dash-mpd-cli but it keeps "Retrying video segment" and downloads only ~45mb file which mp4decrypt fails to decrypt
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
Your mistake is you're using -sv best with L3 keys and expecting to be able to decrypt 1080p quality. Go for 720p after you removed the ad.
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*] -
https://play.max.com/movie/90e45730-bcb5-4525-aaea-44425a77c531
Use that manifest url:
Code:https://cf.eu.prd.media.max.com/r/dash.mpd?f.textTrack=en-US&f.textTrack=pl&f.videoCodec=avc&f.videoDynamicRange=hdr&r.manifest=8f26c2a6-0492-4f0e-b57d-3e3226388175%2F0_c34543.mpd&r.manifest=2e8dc8bd-514c-48f9-98da-63fb6e38dab7%2F1_03e3ca.mpd&r.origin=cfc%7Cprd-wbd-emea-vod&x-wbd-tenant=beam&x-wbd-user-home-market=emea&f.videoMaxHeight=2160&f.videoMaxWidth=3840
https://gofile.io/d/zqSnJ4Last edited by aqzs; 9th Oct 2024 at 11:22.
-
Last edited by monk87; 9th Oct 2024 at 11:35.
-
Public available methods, no.
Private methods found by you, or other knowledgeable users, yes. One way is finding some published papers about specific devices with possible exploits. Then you start from them and come up with your own fancy smart exploit. And you get an L1 somehow. There's no tutorial.
If something is made public, is fixed fast. Just stick to L3.--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*] -
To download the 720p media using dash-mpd-cli safely encapsulated in a software container, skipping the pre-roll add:
Code:podman run --tty -v .:/cargo ghcr.io/emarsden/dash-mpd-cli:latest -v -v --prefer-video-height 720 --minimum-period-duration 40 "https://cf.eu.prd.media.max.com/r/dash.mpd?f.audioCodec=heaac&f.audioTrack=en-US%7Cdescriptive%2Cprogram&f.audioTrack=pl%7Cprogram&f.textTrack=en-US&f.textTrack=pl&f.videoCodec=avc&f.videoDynamicRange=sdr&r.duration=30.000000&r.duration=5751.960000&r.keymod=2&r.main=1&r.manifest=8f26c2a6-0492-4f0e-b57d-3e3226388175%2F0_c34543.mpd&r.manifest=2e8dc8bd-514c-48f9-98da-63fb6e38dab7%2F1_03e3ca.mpd&r.origin=cfc%7Cprd-wbd-emea-vod&x-wbd-tenant=beam&x-wbd-user-home-market=emea" --key 01007b3d8622c40b593074d18bcd9648:53d4a6e764e3731ffba0705bc994269e --key 010112575f3d5f1b14ebee8496eca4b7:0670b9339ec092e060bedcae93f85b8b --key 0102af6a082e198682be97fefd0b780a:b4ede66a4e6bb3d333da13beb6e00c36 --concat-preference mp4:ffmpegdemuxer --timeout 1000 -o foo.mp4
- This manifest is using SegmentBase addressing for the segments, which dash-mpd-cli currently downloads as one large file instead of using the MP4 sidx information that a web browser would use (in order to download multiple small segments). This is why it's necessary to increase the default timeout for network requests (--timeout option).
- With --minimum-period-duration 40 dash-mpd-cli will skip over the first Period element, a 30-second pre-roll ad. Run dash-mpd-cli with the -v and --simulate options first to see the list of periods and their durations (as well as the PSSH info, which can be useful).
- The new --concat-preference mp4:ffmpegdemuxer option uses ffmpeg's "concat demuxer" mode to concatenate the Period media, which is much faster than the "concat filter" mode in ffmpeg.
- Obviously, --prefer-video-height 720 to download the 720p stream.
- Replace "podman" by "docker" if you have that installed.
- This manifest is using SegmentBase addressing for the segments, which dash-mpd-cli currently downloads as one large file instead of using the MP4 sidx information that a web browser would use (in order to download multiple small segments). This is why it's necessary to increase the default timeout for network requests (--timeout option).
Similar Threads
-
Catchup stream with multiple keys
By Manickam in forum Video Streaming DownloadingReplies: 1Last Post: 7th Sep 2024, 16:42 -
Ffmpeg widevine cenc decryption with multiple keys
By matthias1232 in forum Video Streaming DownloadingReplies: 7Last Post: 7th Sep 2024, 09:57 -
Downloading Multiple MPD files with Nm3u8dl -RE
By Sagnik in forum Video Streaming DownloadingReplies: 3Last Post: 5th Jun 2024, 08:01 -
help with multiple keys
By alexurpi in forum Video Streaming DownloadingReplies: 1Last Post: 25th Mar 2024, 05:12 -
Building pc to capture multiple analog camera, running multiple virtualdub
By workshow in forum Newbie / General discussionsReplies: 3Last Post: 29th Dec 2019, 11:38