Yt-dlp doesn't have an extractor for this site, so you need to find the MPD file and run that:
MPD URL:
Lic URL:Code:https://a56483c-az-westeurope.fsly.cdn.ebsd.ericsson.net/fightzone/fightzone/assets/0d3d027f-dc23-4ebf-bd5f-ef906ee26f18_5D3C77b/materials/NKr4qvy1re_5D3C77b/vod-idx.ism/.mpd?
key:Code:https://rng.live.ott.irdeto.com/licenseServer/widevine/v1/RedBee-Generic/license?contentId= xxxxx
Code:599cd15932e94ce2b434fb106f7d8542:b66877f05ae0e6104c6a35e4aa8de32b
+ Reply to Thread
Results 181 to 210 of 321
-
-
Sorry if this is a novice question but i run this command with streamlink?
-
[Attachment 69452 - Click to enlarge]thank you for your time in answering my post sir. im just not sure how to enter the commands -
Code:N_m3u8DL-RE -M format=mkv --key 599cd15932e94ce2b434fb106f7d8542:b66877f05ae0e6104c6a35e4aa8de32b "https://a56483c-az-westeurope.fsly.cdn.ebsd.ericsson.net/fightzone/fightzone/assets/0d3d027f-dc23-4ebf-bd5f-ef906ee26f18_5D3C77b/materials/NKr4qvy1re_5D3C77b/vod-idx.ism/.mpd?" --save-name video
only 5.59.13 long after that all black all the way to endLast edited by iamghost; 26th Feb 2023 at 06:26.
-
wow thanks for the help and reply/ how do i use this N_m3u8DL-RE ? i downloaded it and placed it in the same place with everything else but it wont show up on my cmd box
-
-
[Attachment 69457 - Click to enlarge]
[Attachment 69458 - Click to enlarge]thank you sir for your reply. I've followed your excellent advice but have seem to hit a roadblock. the command box instantly closes when i hit enter. -
holy shit
you have downloaded N_m3u8DL-CLI and run N_m3u8DL-RE command ...
delete N_m3u8DL-CLI (is an old version, now outdated)
download this one https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.1.5.3-beta/N_m3u8DL-RE_Bet...4_20230111.zip
and run again the command posted from iamghost -
Thank you for the team effort fellas! mission accomplished!! i love this forum!
-
[Attachment 69473 - Click to enlarge]
[Attachment 69474 - Click to enlarge]
[Attachment 69475 - Click to enlarge]
Ive followed the excellent and detailed instructions of lomeroand and iamghost and was able to download this video i previously couldn't, thanks guys, but unfortunately its only resulting in a 767kb file somehow. if anyone has the time and pataince to help me figure out the error of my ways i would be very grateful. have a great day guys
ive also tried screen recoreding but it always comes out black with only sound -
i don't have tried your download, anyway try this 2 ways:
1) add to N_m3u8DL-RE code above (and download again your video)
--check-segments-count false
this is used in case the total segments of audio and video do not match and therefore N_m3u8DL-RE detects an issue
2) use shaka to decrypt instead mp4decrypt
so, add to N_m3u8DL-RE code (and download again your video)
--use-shaka-packager
(use "search" function on this forum to find shaka link packager) -
Thank you very much for replying to my problem I will take your excellent advice and report back the results again thank you very much
-
[Attachment 69483 - Click to enlarge]
[Attachment 69479 - Click to enlarge]
[Attachment 69480 - Click to enlarge]
[Attachment 69482 - Click to enlarge]Sorry if this is to many screenshots. i tried both methods of downloading, thank you for the Shaka package info as im sure it will come in handy and i had never heard of it before, but i keep kept the same encryption messages when it is time to merge the final downloads. Would you have any other suggestions as i would be open to anything you suggest sir. -
have you tried also download with ?
--check-segments-count false
i don't see your audio file ... and video is ? what dimension ? (from your shot don't see ...)
my last suggestion: run only N_m3u8DL-RE "https://mpd_link"
and download video AND audio
onlt with this you can understand if the key is right or not ...
so, decrypt manually after download with mp4decrypt or better with shaka the audio and video
if you have final video decrypted and also for audio (try to play with VLC), merge manually with ffmpeg
ffmpeg.exe -i video.mp4 -i audio.m4a -c copy final_video.mp4 -
[Attachment 69485 - Click to enlarge]
ok sir i will try the suggested method and report back the results. thank you four your time and help @lomero -
[Attachment 69489 - Click to enlarge]While getting the keys, if there is 3 which one do you chose or do they all work? Because i keep getting the same error message all ways i tryLast edited by titotrinidad; 27th Feb 2023 at 11:27. Reason: Add Info
-
thank you so much i spent 4 hours today trying to figure this out. now that I have it I'm going to relax for a while.
-
naaa, i don't think so. just a few logical steps of problem exclusion ...
however now we are curious, after 2 days of your post. how did you solve? did you only download audio/video and then decrypt manually? -
Hi guys,
Need your help to download audio and video files from dynamic MPD manifests (DRM protected):
https://edge-linear.spectrum.net/LIVE/1167/dash/cenc/FNews_HD/manifest.mpd
I tried using yt-dlp on debian linux with no luck....any clue how to do it?
I already have the keys to decrypt the files using bento4 mp4decryptLast edited by maxjrzv84; 28th Feb 2023 at 05:59.
-
your mpd is missing
ERROR: One or more errors occurred. (Response status code does not indicate success: 404 (Not Found) -
It works fine with American ip:
Code:yt-dlp --allow-u -F "https://edge-linear.spectrum.net/LIVE/1167/dash/cenc/FNews_HD/manifest.mpd" WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging. If you experience any issues while using this option, DO NOT open a bug report [generic] Extracting URL: https://edge-linear.spectrum.net/LIVE/1167/dash/cenc/FNews_HD/manifest.mpd [generic] manifest: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] manifest: Extracting information [info] Available formats for manifest: ID EXT RESOLUTION │ TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO ──────────────────────────────────────────────────────────────────────────────────────────────────────── audio1 m4a audio only │ 96k dash │ audio only mp4a.40.2 96k 44k DRM [en] DASH audio, m4a_dash video5 mp4 320x180 │ 206k dash │ avc1.4D001E 206k video only DRM DASH video, mp4_dash video4 mp4 640x360 │ 900k dash │ avc1.4D001E 900k video only DRM DASH video, mp4_dash video3 mp4 1024x576 │ 2101k dash │ avc1.4D001F 2101k video only DRM DASH video, mp4_dash video2 mp4 1024x576 │ 4201k dash │ avc1.640029 4201k video only DRM DASH video, mp4_dash video1 mp4 1280x720 │ 5500k dash │ avc1.640029 5500k video only DRM DASH video, mp4_dash
-
Yes, it's a live stream...
I also tried XstreamDL-CLI with no success...the program created a "Downloads" folder and wrote a couple of files there:
https://files.videohelp.com/u/303664/Screenshot%202023-02-28%20at%207.10.33%20a.m..pngLast edited by maxjrzv84; 28th Feb 2023 at 08:34.
-
If any of you need the keys, to make this work (and tell me how to do it, of course), please send me a direct or PM.
I appreciate also if someone can tell me where can I find info about the mpd structure to allow me create a PHP script to download all audio & video files.
This is the XML from the above url just sent:
Code:<?xml version="1.0" encoding="UTF-8"?> <MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:scte35="urn:scte:scte35:2014:xml+bin" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" type="dynamic" minimumUpdatePeriod="PT6S" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" minBufferTime="PT1.000S" maxSegmentDuration="PT3.003S" availabilityStartTime="2023-02-17T10:00:52Z" timeShiftBufferDepth="PT36.036S" publishTime="2023-02-28T08:40:11Z" profiles="urn:mpeg:dash:profile:isoff-live:2011"> <Period id="6331648" start="PT944681.104S"> <AdaptationSet mimeType="video/mp4" segmentAlignment="true" startWithSAP="1" maxWidth="1280" maxHeight="720" maxFrameRate="60000/1001" par="16:9"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="fb29cd8b-02d7-415e-ab69-f1fc18b2678f"/> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="MSPR 2.0"> <mspr:pro>/AIAAAEAAQDyAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AaQA4ADAA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ABrAEcAcgBhAGYASAA4AEcATABKAG4AagB3AD0APQA8AC8ASwBJAEQAPgA8AEMASABFAEMASwBTAFUATQA+AC8AdgBHAFIAMgBXAFcAMgBrAGIARQA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAHQAdwBjAC4AbABpAHYAZQAuAG8AdAB0AC4AaQByAGQAZQB0AG8ALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AcgBpAGcAaAB0AHMAbQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPwBDAHIAbQBJAGQAPQB0AHcAYwAmAGEAbQBwADsAQQBjAGMAbwB1AG4AdABJAGQAPQB0AHcAYwAmAGEAbQBwADsAYwBvAG4AdABlAG4AdABJAGQAPQAxADcAMgA8AC8ATABBAF8AVQBSAEwAPgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</cenc:pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <cenc:pssh>AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQ+ynNiwLXQV6rafH8GLJnjyIDMTcyOAA=</cenc:pssh> </ContentProtection> <InbandEventStream schemeIdUri="urn:mpeg:dash:event:2012" value="1"/> <Accessibility schemeIdUri="urn:scte:dash:cc:cea-608:2015" value="CC1:und;CC2:und"/> <SegmentTemplate timescale="90000" initialization="$RepresentationID$-Header.m4s" media="$RepresentationID$-$Number$.m4s" duration="180180" startNumber="6331648" presentationTimeOffset="1160911664415"/> <Representation id="video1" width="1280" height="720" frameRate="60000/1001" sar="1:1" scanType="progressive" bandwidth="5499968" codecs="avc1.640029"/> <Representation id="video2" width="1024" height="576" frameRate="60000/1001" sar="1:1" scanType="progressive" bandwidth="4200960" codecs="avc1.640029"/> <Representation id="video3" width="1024" height="576" frameRate="30000/1001" sar="1:1" scanType="progressive" bandwidth="2100992" codecs="avc1.4D001F"/> <Representation id="video4" width="640" height="360" frameRate="30000/1001" sar="1:1" scanType="progressive" bandwidth="899968" codecs="avc1.4D001E"/> <Representation id="video5" width="320" height="180" frameRate="30000/1001" sar="1:1" scanType="progressive" bandwidth="205952" codecs="avc1.4D001E"/> </AdaptationSet> <AdaptationSet mimeType="audio/mp4" lang="en" segmentAlignment="true" startWithSAP="1"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="fb29cd8b-02d7-415e-ab69-f1fc18b2678f"/> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="MSPR 2.0"> <mspr:pro>/AIAAAEAAQDyAjwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AaQA4ADAAcAArADkAYwBDAFgAawBHAHIAYQBmAEgAOABHAEwASgBuAGoAdwA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgAvAHYARwBSADIAVwBXADIAawBiAEUAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwB0AHcAYwAuAGwAaQB2AGUALgBvAHQAdAAu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G8ALgBjAG8AbQAvAHAAbABhAHkAcgBlAGEAZAB5AC8AcgBpAGcAaAB0AHMAbQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPwBDAHIAbQBJAGQAPQB0AHcAYwAmAGEAbQBwADsAQQBjAGMAbwB1AG4AdABJAGQAPQB0AHcAYwAmAGEAbQBwADsAYwBvAG4AdABlAG4AdABJAGQAPQAxADcAMgA8AC8ATABBAF8AVQBSAEwAPgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</cenc:pssh> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"> <cenc:pssh>AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQ+ynNiwLXQV6rafH8GLJnjyIDMTcyOAA=</cenc:pssh> </ContentProtection> <Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/> <InbandEventStream schemeIdUri="www.nielsen.com:id3:v1" value="1"/> <SegmentTemplate timescale="90000" initialization="$RepresentationID$-Header.m4s" media="$RepresentationID$-$Number$.m4s" duration="180180" startNumber="6331648" presentationTimeOffset="1160911664415"/> <Representation id="audio1" audioSamplingRate="44100" bandwidth="96000" codecs="mp4a.40.2"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/> </Representation> </AdaptationSet> </Period> <UTCTiming schemeIdUri="urn:mpeg:dash:utc:direct:2014" value="2023-02-28T08:40:11Z"/> </MPD>
Last edited by maxjrzv84; 28th Feb 2023 at 08:35.
-
try with N_m3u8DL-RE
Code:--live-record-limit <HH:mm:ss> Recording time limit when recording live
-
It's possible to write a script that automates the entire process
import os
import subprocess
# Specify the necessary URLs and file paths
mpd_url = "https://cdn-iqs-01.vos360.video/Content/DASH/CatchUp/channel(name=AVC1_DEMO,startTime=16163772040780000 ,endTime=16163772730000000)/manifest.mpd"
key_server_url = "https://widevine-proxy.appspot.com/proxy"
key_server_challenge = "challenge"
video_output_path = "output_video.mp4"
audio_output_path = "output_audio.mp4"
final_output_path = "final_output.mp4"
# Retrieve the DRM keys using the Widevine decryptor
key_cmd = f"widevine-l3-decryptor --key-server-url='{key_server_url}' --challenge='{key_server_challenge}' '{mpd_url}'"
key_output = subprocess.check_output(key_cmd, shell=True)
keys = [line.strip() for line in key_output.splitlines()]
# Download the MPD file using N_m3u8DL-CLI and ffmpeg
download_cmd = f"N_m3u8DL-CLI_v2.9.7 '{mpd_url}' --workDir='./' --saveName='output' --enableDelAfterDone --enableMuxFastStart --ffmpeg './ffmpeg.exe'"
subprocess.check_call(download_cmd, shell=True)
# Extract the video and audio streams from the downloaded files
video_cmd = f"ffmpeg -i 'output_video.mp4' -c copy -bsf:v 'cenc.decrypt={keys[0]}' '{video_output_path}'"
subprocess.check_call(video_cmd, shell=True)
audio_cmd = f"ffmpeg -i 'output_audio.mp4' -c copy -bsf:a 'cenc.decrypt={keys[1]}' '{audio_output_path}'"
subprocess.check_call(audio_cmd, shell=True)
# Merge the decrypted video and audio files
merge_cmd = f"ffmpeg -i '{video_output_path}' -i '{audio_output_path}' -c copy '{final_output_path}'"
subprocess.check_call(merge_cmd, shell=True)
# Clean up temporary files
os.remove("output_video.mp4")
os.remove("output_audio.mp4") -
-
Similar Threads
-
Download encrypted video via DRM protected MPD manifest
By Beta2k in forum Video Streaming DownloadingReplies: 19Last Post: 15th Jan 2024, 10:47 -
mpd protected with DRM?
By chisdchisdq in forum Video Streaming DownloadingReplies: 21Last Post: 24th Mar 2022, 22:14 -
How to download mpd stream (DRM protected)?
By bodasaud in forum Video Streaming DownloadingReplies: 5Last Post: 3rd Feb 2021, 07:41 -
Downloading mpd stream (DRM protected?)
By odyssey1234 in forum Video Streaming DownloadingReplies: 8Last Post: 14th Aug 2019, 21:26 -
Impossible Website: MPD / Fragmented Video / DRM Protected - Need Help!
By dynrte in forum Video Streaming DownloadingReplies: 1Last Post: 2nd Sep 2018, 23:03