I'm trying to dowload a brightcove stream but seems it it being protected.
Anyways I can download it?
Code:link
Code:C:\yt-dlp>yt-dlp.exe link [brightcove:new] 6289621187001: Downloading JSON metadata [brightcove:new] 6289621187001: Downloading JSON metadata ERROR: [brightcove:new] Access to this resource is forbidden by access policy.
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 30 of 43
-
Last edited by kairaira; 3rd Jan 2022 at 08:45.
-
Thanks for your reply.
I think I'm too new for this & hit below error. May I know if there is something wrong in the command or anything?
// Quote //
C:\Users\USER>yt-dlp.exe --referer "link"
Usage: yt-dlp.exe [OPTIONS] URL [URL...]
yt-dlp.exe: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.Last edited by kairaira; 3rd Jan 2022 at 08:45.
-
no.
try this
Code:yt-dlp --allow-u https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6160987583001/ee683ba7-9724-478a-8104-5ba5e4529357/6s/manifest.mpd?fastly_token=NjFkMWU4NjFfOTc3ZWYwMWE2NmY2Y2JhYzA0YzJiYmY5YTZkYzFkNjU5ZDdmYjBkN2RiMTIyZmFkYTUxNjM5MzU0MzViZWY5NA%3D%3D
-
Code:
ytdlp.exe --allow-u --downloader aria2c --cookies-from-browser chrome -f f099b8fb-923f-44a4-91f9-37727a2578c1,1eff54ef-7e2f-46b6-822a-b3645e4b6c53 "https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6160987583001/ee683ba7-9724-478a-8104-5ba5e4529357/6s/manifest.mpd?fastly_token=NjFkMjU5MTBfYmRjODA1OTQ4NzYxODc1Y2RlN2FiYTliZjdlZGU0MjZhZmNkZGZhZGRhMjZmMDA1OTFjZDExNzQ2OTE1N2IwNw%3D%3D"
This will download video and audio separately, and you'll need to use mp4decrypt to decrypt them (if you don't know how, search this forum). You will then need to use ffmpeg to mux video and audio.
Key for decryption of video and/or audio
Code:Content key: e1a205e13dd5407390c79ac12cc4afbf:f2c75ba94d314a2fd57b7ddf289c53ea
-
-
-
Thanks!
Just would like to check where I can get below:
1. -cookies-from-browser chrome -f
f099b8fb-923f-44a4-91f9-37727a2578c1,1eff54ef-7e2f-46b6-822a-b3645e4b6c53
2. The keys for decryption
Code:Content key: e1a205e13dd5407390c79ac12cc4afbf:f2c75ba94d314a2fd57b7ddf289c53ea
-
I think I should get Python tomorrow & try with it then.
Is there any code that I can use to get the key after installation?
For cookie,
I just get this from code which vegeta provided in his comment
Code:ytdlp.exe --allow-u --downloader aria2c --cookies-from-browser chrome -f f099b8fb-923f-44a4-91f9-37727a2578c1,1eff54ef-7e2f-46b6-822a-b3645e4b6c53 "https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6160987583001/ee683ba7-9724-478a-8104-5ba5e4529357/6s/manifest.mpd?fastly_token=NjFkMjU5MTBfYmRjODA1OTQ4NzYxODc1Y2RlN2FiYTliZjdlZGU0MjZhZmNkZGZhZGRhMjZmMDA1OTFjZDExNzQ2OTE1N2IwNw%3D%3D"
-
1. --cookies-from-browser is a "helper" for ytdlp that adds the cookies from the browser before downloading.
This is sometimes useful as it can bypass the "403 forbidden" you get.
You get 403 forbidden or similar with ytdlp when it tries to download "normally". It's a security measure that some sites apply.
With cookies, it pretends to be a browser, and the server will let ytdlp download because it thinks it's a browser.
Sometimes this can be also bypassed with adding headers like user-agent and referer.
2. Keys for decryption, nowadays, aren't easy to get. There used to be an extension (Widevine Guesser) that was able to get keys. Now it doesn't work. So, to get keys, you need first to find a Python script (or more precisely a collection of scripts) based on Pywidevine (like WKS, widevine_keys or Pywidevine itself). Then, you also need a CDM. CDM are 2 files that are used with the previously mentioned script to "lie" to Widevine that your computer is someone else, with privileges (like, you are a phone or a tablet). It consists of 2 files, a private key and a blob that identifies the device. But, CDM is not that easy to get. There is this script https://github.com/wvdumper/dumper that can get you CDM but it can be hard. You need to have a rooted device, preferably not Samsung, Android 7-9, a OEM Crypto API 13 or less, sometimes Magisk module and whatnot. Even if you manage to do everything, sometimes it might not work. -
-
#1
It's a lot clear now.
But where I can get "f099b8fb-923f-44a4-91f9-37727a2578c1,1eff54ef-7e2f-46b6-822a-b3645e4b6c53"? or if it is always these 2 'keys'?
#2
omg....looks really hard for me without any backgrounds for those.
Let me try tmr and see where I can get to...
But thanks for both of your help!
I have managed to download & merge the video in this post -
Oh, those are just the stream names/IDs. You can find those with ytdlp -F.
And I think it's a habit of mine to do that, I think ytdlp will just download the best video and best audio without -f IDs -
I tried to download the following URL referring to the above.
https://players.brightcove.net/6160987583001/ojGJZehqJ_default/index.html?videoId=6289624830001
I was able to download the encrypted mp4 and m4a, but I don't know the decryption key. -
I tried this key but it didn't work.
Code:e1a205e13dd5407390c79ac12cc4afbf:f2c75ba94d314a2fd57b7ddf289c53ea
Last edited by poyopoyo; 3rd Jan 2022 at 02:13.
-
I first played the video in chrome. And I got the URL of mpd in the Network tab.
Next, I tried to download the video with the following command.
Code:yt-dlp --allow-u --downloader aria2c --cookies-from-browser chrome "https://manifest.prod.boltdns.net/manifest/v1/dash/live-baseurl/bccenc/6160987583001/7169a1f4-5438-4cdf-9891-a4321aebf074/6s/manifest.mpd?fastly_token=NjFkMmYwODFfMjQ1NDZlZTg1NzRlOTE3Yjg0YzFmNmUyMzY0ZjJkNDUwNmZkZWE5NWZiMGEwNTlkMGNjY2JhNWE1MDViOGYxMQ%3D%3D"
Code: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 [Cookies] Extracting cookies from chrome [Cookies] Extracted 3162 cookies from chrome [generic] manifest: Requesting header WARNING: [generic] Falling back on generic information extractor. [generic] manifest: Downloading webpage [generic] manifest: Extracting information [info] manifest: Downloading 1 format(s): 5b075dbd-495d-4fdd-84ca-087ee946e7ea+9cdd8975-6370-44e8-8ea8-bfde38b7c6e8 WARNING: You have requested merging of multiple formats while also allowing unplayable formats to be downloaded. The formats won't be merged to prevent data corruption. [dashsegments] Total fragments: 1396 [dashsegments] Fragment downloads will be delegated to aria2c [download] Destination: manifest [manifest].f5b075dbd-495d-4fdd-84ca-087ee946e7ea.mp4 [aria2c] Downloaded 6272834539 bytes)][#fdebfb 3.7MiB/4.8MiB(77%)][#5a11a5 3.1MiB/5.1MiB(60%)][#aa4b5b 3.4MiB/4.7M [download] 100% of 5.84GiB in 03:38 [dashsegments] Total fragments: 1409 [dashsegments] Fragment downloads will be delegated to aria2c [download] Destination: manifest [manifest].f9cdd8975-6370-44e8-8ea8-bfde38b7c6e8.m4a [aria2c] Downloaded 210720837 bytes)][#fcd377 64KiB/147KiB(43%)][#5c58af 48KiB/147KiB(32%)][#866fc8 32KiB/146KiB(2 [download] 100% of 200.96MiB in 00:17
Code:ls -lh -rw-r--r-- 1 poyopoyo staff 5.8G 1 3 19:24 manifest [manifest].f5b075dbd-495d-4fdd-84ca-087ee946e7ea.mp4 -rw-r--r-- 1 poyopoyo staff 201M 1 3 19:25 manifest [manifest].f9cdd8975-6370-44e8-8ea8-bfde38b7c6e8.m4a
Code:mp4decrypt --key e1a205e13dd5407390c79ac12cc4afbf:f2c75ba94d314a2fd57b7ddf289c53ea "manifest [manifest].f5b075dbd-495d-4fdd-84ca-087ee946e7ea.mp4" output.mp4
-
Are we still talking about the same video? The 2:19:37 one, some Asian guys singing or something?
I have that downloaded and decrypted, I'll edit this post in 20 minutes or so with download link.
New key
Code:f60284955f824767b8d2f9532eb46ba1:cba2cdfa3528c2d0a0292032babbea8e
https://rvza-my.sharepoint.com/:v:/g/personal/k_rvza_onmicrosoft_com/EWTpeS_flI1Cg3PWf...brvtQ?e=FtrdS3 -
I was also able to decrypt successfully.
Thanks for your support and the download link. -
-
Similar Threads
-
How to download mpd stream (DRM protected)?
By ddim in forum Video Streaming DownloadingReplies: 320Last Post: 23rd Jun 2024, 18:01 -
How to download mpd stream (DRM protected)?
By bodasaud in forum Video Streaming DownloadingReplies: 5Last Post: 3rd Feb 2021, 07:41 -
URL for Brightcove live stream
By huanin in forum Video Streaming DownloadingReplies: 2Last Post: 4th Dec 2020, 09:30 -
How to Download Protected Stream Video
By rochmad7 in forum Video Streaming DownloadingReplies: 5Last Post: 9th Aug 2017, 05:47