Hey there,
im just wondering, how can i download a livestream encrypted by widivine.
ffmpeg is great for download unencrypted livestreams at realtime, but i didn't found any option to download an encryped one.
Yt-dlp is great for download encrypted content, but i found no option for downloading a livestream.
Any input is appreciated.
muppler
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 28 of 28
-
-
just like any other mpd.
you binary merg segments ( init+segments ) and decrypt
for reference you can see the code of https://github.com/xhlove/XstreamDL-CLI and streamlinkdiscord=notaghost9997 -
1. How do you know its Widevine ? You can't even spell it in your first post.
2. To be able to assist you we need an url for the livestream or at the very least, post the .mpd file here for examination.
Plus you will not download a livestream encrypted with WV with ffmpeg. Forget ffmpeg for this. -
Okay I misspelled Widevine, so this must be the reason I have no idea what im talking about? I know its Widevine because I get the keys from the chrome extension
URL wont work without Login and VPN but i hope the MPD helps: https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWlu...42f-179b58.mpd
My basic question was which software to use for downloading encrypted WV livestreams. But so far I still have no clue... -
yt-dlp works fine for this link.
Code:C:\Users\whochain\Downloads\Programs\New folder (4)>yt-dlp -F --allow-unplayable-formats "https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWluc2Rva3UtbDEtdjItNC01NzE0MmYtMTc5YjU4IiwiaXAiOiI5NS4yMjMuNTkuMTUzIiwibWIiOiI4MDAwMDAwIiwic3VicyI6IlBlcmZlY3QgUGx1cyIsInRpZCI6IjYxYzVkNzQ5LTlhNDAtNGQ2My05MDFiLTNjNDIyY2QyMzhiNCIsImRpZCI6ImQ1Y2Q4NTgzLTkyNTItNDk3ZS1iNGVhLTQ5OGY2MzM3ODExYyIsInVoIjoiMjNmYTE5ZGUwMzI4YTgxN2RjMTMxNDAwYzA5MmRiMDAiLCJ2YmVnaW4iOiIiLCJ2YiI6IiIsImVkZ2UiOiJlLWYxLTAwOC1kcy53cHN0ci50diIsImNuIjoiZGUiLCJhc25zIjpbMzM4OTFdLCJleHAiOjE2MzAxMDYwODksImlhdCI6MTYzMDA4ODA4OSwiaXNzIjoicmVkaXJlY3Ryb24ifQ.oSBCpikyiCgiJveqIRBoafOsXhr8bFj4iPFka3p8qiE/kabeleinsdoku-l1-v2-4-57142f-179b58.mpd" [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Requesting header WARNING: Falling back on generic information extractor. [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Downloading webpage [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Extracting information [info] Available formats for kabeleinsdoku-l1-v2-4-57142f-179b58: ID EXT RESOLUTION FPS | TBR PROTO | VCODEC VBR ACODEC ABR ASR NOTE -------------- --- ---------- --- - ----- ----- - ----------- ----- --------- ---- ------- ----------------------------------- audio_1=128000 m4a audio only | 128k dash | mp4a.40.2 128k 48000Hz [de], DASH audio, m4a_dash, 48000Hz video=600000 mp4 640x360 25 | 600k dash | avc1.64001E 600k DASH video, mp4_dash video=1500000 mp4 960x540 25 | 1500k dash | avc1.64001F 1500k DASH video, mp4_dash video=3000000 mp4 1280x720 25 | 3000k dash | avc1.64001F 3000k DASH video, mp4_dash video=7000000 mp4 1920x1080 25 | 7000k dash | avc1.640028 7000k DASH video, mp4_dash C:\Users\whochain\Downloads\Programs\New folder (4)>yt-dlp -f video=7000000+audio_1=128000 --allow-unplayable-formats "https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWluc2Rva3UtbDEtdjItNC01NzE0MmYtMTc5YjU4IiwiaXAiOiI5NS4yMjMuNTkuMTUzIiwibWIiOiI4MDAwMDAwIiwic3VicyI6IlBlcmZlY3QgUGx1cyIsInRpZCI6IjYxYzVkNzQ5LTlhNDAtNGQ2My05MDFiLTNjNDIyY2QyMzhiNCIsImRpZCI6ImQ1Y2Q4NTgzLTkyNTItNDk3ZS1iNGVhLTQ5OGY2MzM3ODExYyIsInVoIjoiMjNmYTE5ZGUwMzI4YTgxN2RjMTMxNDAwYzA5MmRiMDAiLCJ2YmVnaW4iOiIiLCJ2YiI6IiIsImVkZ2UiOiJlLWYxLTAwOC1kcy53cHN0ci50diIsImNuIjoiZGUiLCJhc25zIjpbMzM4OTFdLCJleHAiOjE2MzAxMDYwODksImlhdCI6MTYzMDA4ODA4OSwiaXNzIjoicmVkaXJlY3Ryb24ifQ.oSBCpikyiCgiJveqIRBoafOsXhr8bFj4iPFka3p8qiE/kabeleinsdoku-l1-v2-4-57142f-179b58.mpd" -o test.mp4 [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Requesting header WARNING: Falling back on generic information extractor. [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Downloading webpage [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Extracting information [info] Downloading format(s) video=7000000+audio_1=128000 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: 43 [download] Destination: test.fvideo=7000000.mp4 [download] 6.9% of ~75.97MiB at 88.44KiB/s ETA 08:38
-
Yeah it works on the first view, but this is a livestream. With your command it downloads arround 100MB and then stops.
How can i download the stream in realtime? -
-
N_m3u8DL seems to DL the stream without problems to one .ts file. Shouldnt video and audio be seperated?
Also i can't decrypt, try it for yourself: KID= 12b1a5c05476068c62831e04cb3a5fc7 Key: b9eb9fea1ec12d2c7c8ea68298f1d0f8 -
That's odd for N_m3u8DL to do that unless you have ticked a wrong box in the GUI (?) Or got the syntax incorrect in the CLI version.
And that will explain why it wont decrypt, the 2 streams have to be decrypted independently and then muxed together with ffmpeg. -
Usually on a static stream it first downloads the video and then the audio. Im not sure how this works on a live stream, it would have to download both simultaneously, but it doesnt...
-
You need to be downloading independent video and audio streams for WV encrypted content.
A high percentage of Audio streams are not encrypted at all on streaming sites, too.
(So downloading a combined encrypted Video +non-encrypted Audio stream and then trying to decrypt the whole thing is never going to work either.Last edited by codehound; 27th Aug 2021 at 16:07.
-
There is a project for this that Notaghost eluded to in Post #4 - I have no experience of it though. Maybe PM him and ask for help ?
With this Live stream is there not a VOD (static video-on-demand) available for DL after the event ? -
I tried Xstream but most of it is in chinese, when i tried to start the DL the cmd box came up for half a second and closed directly, so im not sure whats wrong.
Streamlink complained about the DRM and didn't even start DLing....
Downloading Video and Audio seperately (not that its working with my tools at all) also has the problem of video and audio being out of sync... ill check for the mpd and keys tomorrow for the case they changed and repost them here.
There is no VODLast edited by muppler; 27th Aug 2021 at 16:27.
-
Good morning,
mpd and key should still be working, still looking for a guide how to dl this livestream
https://e-m1-001-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWlu...42f-179b58.mpd
KID= 12b1a5c05476068c62831e04cb3a5fc7 Key: b9eb9fea1ec12d2c7c8ea68298f1d0f8 -
Because you double clicked the CLI version and expected it to be a GUI, you have to call it from the command line like yt-dlp, streamlink etc.
You need the GUI version to be able to double click it and have an interface.
https://github.com/xhlove/XstreamDL-CLI/releases/download/1.2.9/XstreamDL-GUI.exe
This is correct, streamlink developers have made it perfectly clear that DRM will NEVER be supported. Ditto youtube-dl
Have you asked Notoghost for help with XstreamDL yet ? He may be able to assist.Last edited by codehound; 28th Aug 2021 at 04:38.
-
He has PM disabled, so maybe he will write something here....
Xstream also doesnt work... it downloads some single files and then just quits....Last edited by muppler; 28th Aug 2021 at 06:09.
-
yt-dlp have a discord server - this may be possible with yt-dlp
https://discord.gg/u9uzcjP9
Don't directly discuss DRM in any of the channels (against rules). Ask for help (in the Help channel) downloading simultaneous, but separate Video and Audio from a Livestream (or something similar).
If not possible, you need XstreamDL or a custom script. -
use this .m3u8 http://23.106.122.66/1/master.m3u8
or you can watch online here http://23.106.122.66/1/watch
i set it up on my server
Edit: Mpd inaccessible ....Last edited by notaghost; 28th Aug 2021 at 09:45.
discord=notaghost9997 -
Hey thank you! But im still curious how to capture an encrypted livestream. If you can give me any hint on which tool to use for that....
-
unfortunately, there are not any tools publicly available right now you have to write your own script. (not any i know of)
use codes of XstreamDL-CLI and streamlink only for referencediscord=notaghost9997 -
read fine post #10...
remove '.mpd' from the link and add .m3u8 -
you have mpd right?
then change extension at the end .mpd with .m3u8 and add '-audio=xxxvalue-video=xxxvalue -
What you write is just the opposite from how he showed the link. Don't get it.
And from where did he know that an m3u8 is provided, too? Very obscure, isn't it?
Similar Threads
-
Help downloading a documentary (mpd... most likely encrypted)
By oopargentina in forum Video Streaming DownloadingReplies: 5Last Post: 25th Aug 2021, 10:13 -
Widevine encrypted video
By Stevo1987 in forum Video Streaming DownloadingReplies: 1Last Post: 15th Jun 2021, 02:58 -
Download free stream, encrypted with widevine
By Bartimeyse in forum Video Streaming DownloadingReplies: 4Last Post: 17th Apr 2021, 05:31 -
How to download Widevine-encrypted DASH streams?
By gddpb in forum Video Streaming DownloadingReplies: 5Last Post: 17th Apr 2021, 05:30 -
Help me with AES encrypted HLS downloading ?
By shraman in forum Video Streaming DownloadingReplies: 0Last Post: 30th Jul 2018, 06:54