Well i knew can be output into different formats , (on pipe as example) and grab from there by vlc, all process download, decrypt on fly and output done by ffmpeg.
And my supposition vas exact !
here the result of "play" :
i try to save into mp4.... but with no success. I knew aria select best value ( in my case 1280x720) but i supose ffmpeg cant do.Code:[mov,mp4,m4a,3gp,3g2,mj2 @ 0000022b8dd02900] Failed to seek for auxiliary info, will only parse senc atoms for encryption info error : unterminated entity reference end=END&device=MPD-LIVE-PC-Widevine-HD-ENC&primaryToken=ip=xxxxx~st=1654xxxxx~exp=1654xxxxx~acl=/
Maybe i need other kind of extraction for link.
if you can give me a hand we can discuss also on discord, if you want or private, io dontr want to disturb other persons who are not interessed.
aria wil download the file, but need to ask for next input , are sequences of 60 (iso8601) st-end and so on.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 31 to 47 of 47
Thread
-
Last edited by libero08; 2nd Jun 2022 at 11:22.
-
i think it would be a bit slow but anyway this should restream directly from mpd
Code:ffmpeg -cenc_decryption_key 000000privatekey0000000 -i https://private_live_stream.mpd -map 0:5 -map 0:6 -vcodec copy -acodec copy -f mpegts udp://127.0.0.1:1234
Code:ffplay udp://127.0.0.1:1234
discord=notaghost9997 -
syntax are correct @nothagost, but private_mpd seems to be not ok.!
i will appreciate some help. Can i contact you pvt on discord without get ban?
EDIT:
Practicaly i'm stuckt on parsing info, wrong constructions of recquest i think .
Some one give me some tips but notning more.Last edited by libero08; 2nd Jun 2022 at 17:08.
-
I am testing this new ffmped decode functionality, and I am noticing that Windows version works reasonably well and stable.
However, linux version makes troubles. it is giving me these errors repeated 1000 times, causing video to stutter and cpu consumption to go up.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877675, current: 11846340; changing to 11877676. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877676, current: 11850210; changing to 11877677. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877677, current: 11854080; changing to 11877678. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877678, current: 11857860; changing to 11877679. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877679, current: 11861730; changing to 11877680. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877680, current: 11865600; changing to 11877681. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877681, current: 11869380; changing to 11877682. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877682, current: 11873250; changing to 11877683. This may result in incorrect timestamps in the output file.
[mpegts @ 0x8fee5c0] Non-monotonous DTS in output stream 0:1; previous: 11877683, current: 11877120; changing to 11877684. This may result in incorrect timestamps in the output file.
Whatever I tried with various switches did not help.
here is command line i used:
ffmpeg -f dash -cenc_decryption_key c8dea2b6a77123b519de306284d2314f -fflags +genpts -i 'https://cdn1-hrt.cdn.eurovisioncdn.net/hrtliveorigin/hrt5.smil/1/manifest.mpd?DVR' -user_agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0' -vcodec copy -acodec copy -f mpegts udp://127.0.0.1:1234 -
Hello, anyone know how to solve this error? *** buffer overflow detected ***: terminated
Code: ffplay -cenc_decryption_key b017bcd42e250cc993cf3fa5822c1094 https://tkprp13po7.map.azionedge.net/Content/dsc/Live/Channel(SPOCARHD)/manifest.mpd -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox"
-
-
Hello, this is my first post on the forum. I always read a lot but I can't understand and do everything so I am asking for help from more experienced users for advice. I'm thinking of using FFmpeg to decode Widevine DRM, is there a build of FFmpeg currently available? It would be very convenient as one tool for downloading and decoding. A similar FFmpeg compilation with support for the -cenc_decryption_key flag has already been discussed in this thread, but I don't know where to download it for testing.
-
did you try searching?
https://forum.videohelp.com/threads/407505-How-To-Download-live-tv-MPD-DRM-Protect
post #26 in this thread is literally a link to download ffmpeg with cenc support
https://forum.videohelp.com/threads/404058-Widevine-Decrypt-Live-Stream-Player#post2658306Last edited by ElCap; 13th Jan 2023 at 02:54.
-
Originally Posted by
did you try searching?
[url -
-
-cenc_decryption_key 000000privatekey0000000
This only decrypts video? The key should not be key:kid? -
Thank you lfer94 for sharing this extension with us!
I would like to share with you this extension, too: https://github.com/sharkiller/Reproductor-MPD-M3U8
As for the problem of playing an encrypted video in an external player, a friend suggested using this Android app called Network Stream (Video) Player.
One way to play such video is to load an M3U playlist. You can follow this template:
Code:#EXTM3U #EXTINF:1, <video_name> #KODIPROP:inputstreamaddon=inputstream.adaptive #KODIPROP:inputstream.adaptive.manifest_type=mpd #KODIPROP:inputstream.adaptive.license_type=clearkey #KODIPROP:inputstream.adaptive.license_key={"keys": [{"kty": "oct","k": "<key1_b64>","kid": "<kid1_b64>"},{"kty": "oct","k": "<key2_b64>","kid": "<kid2_b64>"}],"type": "temporary"} #EXTVLCOPT:http-user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36 Firefox/73.0 https://link/to/stream.mpd
In the case of one key, you can input the KeyID:Key pair (in hex) in the DRM License URL field.
EDIT:
In the case of two keys or more, you can input (for now) the Clearkey JSON response in the DRM License URL field.
Code:{"keys": [{"kty": "oct","k": "<key1_b64>","kid": "<kid1_b64>"},{"kty": "oct","k": "<key2_b64>","kid": "<kid2_b64>"}],"type": "temporary"}
Last edited by MaZED_UP; 23rd Mar 2023 at 11:16.
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