Hi,
Do you know if there's a way to decrypt live-stream Widevine-protected mpd's ?
I can download pasts fragments (like 5 min ago), i can decrypt them (mp4decrypt with key), but is it possible to watch a live-stream mpd and decrypt it with key ?
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 48
-
-
Of course its possible to "watch a live stream mpd".
Why do we keep getting question after question about this ?
It makes no sense unless the real reason you want to decrypt a Live stream on the fly is to restream it live for others to view it live.
The common sense approach is to download the livestream, stop it when you're ready. Then decrypt it.
Re streaming live drm protected videos is a completely different approach. So which is it ? -
Thanks, I'll take a look (with google translate...)
I want to decrypt a live-stream, I can't paste .mpd link in VLC because it's encrypted.
I have a .mpd link and I wanted to know if it was possible to decrypt it and view it in the same time.
I can already download and decrypt the livestream, but not in real-time.
If it's impossible it's okay, I was just asking (don't want to restream it for anybody) -
Im not judging you or anyone else who keeps asking this. Far from it. If you are purely viewing it you can watch it in your browser. So maybe its just me, but I dont get your logic of wanting to feed an encrypted mpd into VLC player (?)
If its a half-hearted attempt to record it with the VLC record button, it uses ffmpeg so you are barking up the wrong tree there too.Last edited by codehound; 29th Apr 2022 at 04:01.
-
Actually, I use a live-tv service to watch live TV (I have a subscription, but this service has a free plan). But their app / website isn't working great (lags, etc). I wanted to watch it with VLC (more stable), or ffplay, but I can't decrypt and watch it in the same time.
I can still download past stream (like 5 min before) and decrypt it with mp4box, but it's not live-stream...
In fact, I don't know if there's a way to decrypt this live .mpd AND watch it in real-time
I said VLC because I just don't know if an alternative exists ...
Well, I can't decrypt a live-stream like a VOD because when we download a VOD, we have to download all fragments, they're muxed in a .mp4 file then we can decrypt it.
If i want to watch a live-stream, it can't download all fragments first because it's live, new fragments are coming every 3s so it can't be muxed in .mp4... -
-
They are first decrypted on VPS servers then restreamed to hls ( unprotected m3u8 )
If you have a live mpd with keys on you I can show you a demo.discord=notaghost9997 -
-
If you just want to watch the live streams, use the keys and urls with a clearkey compatible app like tivimate or ott navigator, that's what I use in my tv.
If you want to make them available to other players/people you will need a paid server running a tool to convert them to unencrypted hls,(called wvtohls or mini_cs). -
-
-
This chrome extension can play drm-protected live streams if you add "?&ck={"KID":"Key"}" at the end of the mpd. For example:
Code:https://channel-tdn-cdn.blim.com/manifest.mpd?&ck={"4ae10c2357e250e088bb8a5ab044dd50":"e7f47e2b948e9222cf4d24b51881ec04"}
Code:https://channel-tdn-cdn.blim.com/manifest.mpd?&ck=eyI0YWUxMGMyMzU3ZTI1MGUwODhiYjhhNWFiMDQ0ZGQ1MCI6ImU3ZjQ3ZTJiOTQ4ZTkyMjJjZjRkMjRiNTE4ODFlYzA0In0=
Honestly, it's a bit useless because it doesn't work in external players like VLC, but maybe this method could be adapted to another tools -
Did anyone solve this? Is there a working way/script that would continuously download new chunks listed in MPD file, decrypt them, join video and audio and finally make them available as HLS stream which is decrypted?
-
Play with ffplay:
ffplay -cenc_decryption_key 100b6c20940f779a4589152b57d2dacb https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd
Download and decrypt with ffmpeg:
ffmpeg -cenc_decryption_key 100b6c20940f779a4589152b57d2dacb -i https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd -map 0:4 -map 0:5 -vcodec copy -acodec copy decrypted.mp4discord=notaghost9997 -
-
make sure it is latest https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-2022-06-01-git-c6364b711b-essentials_build.7z
Code:ffmpeg version 2022-06-01-git-c6364b711b-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11.3.0 (Rev1, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 57. 26.100 / 57. 26.100 libavcodec 59. 32.102 / 59. 32.102 libavformat 59. 24.100 / 59. 24.100 libavdevice 59. 6.100 / 59. 6.100 libavfilter 8. 40.100 / 8. 40.100 libswscale 6. 6.100 / 6. 6.100 libswresample 4. 6.100 / 4. 6.100 libpostproc 56. 5.100 / 56. 5.100
discord=notaghost9997 -
Thanks, with this link it works. But where is this link actually to be found?
It's not here...
https://www.gyan.dev/ffmpeg/builds/
can't find it anywhere. -
seems easy, but i want to play one live content , but if i try to play with exxtension or downlad i get only 40 seconds audio and video. i cant jump to the next segment here an example (st=1654072003~exp=1654072063). ffmpeg i presume will stop here. i can download another segment with actual data.
maybe i need to extract corect mpd for play? If someone can help me i will send it message on pm or on discord if possible. -
Similar Threads
-
widevine decrypt
By birbal1 in forum Video Streaming DownloadingReplies: 6Last Post: 3rd Dec 2021, 22:07 -
widevine decrypt help
By birbal1 in forum Video Streaming DownloadingReplies: 12Last Post: 23rd Nov 2021, 13:47 -
Found an awesome script to download widevine content (mpd) and decrypt it
By royjeon215 in forum Latest Video NewsReplies: 8Last Post: 11th Nov 2021, 15:26 -
Help decrypt MPD Live Stream
By Egn69217j_ in forum Video Streaming DownloadingReplies: 8Last Post: 13th Apr 2021, 07:21 -
widevine decrypt extension for microsoft edge not working
By takheang303 in forum Video Streaming DownloadingReplies: 6Last Post: 3rd Apr 2021, 11:46