https://www.youtube.com/watch?v=UhWFwsziLeI
i downloaded the free video from link above using a us vpn, got two files, a 2.7GB webm video and a mka audio
i found the pssh in console (not sure if it's the correct one)
then i filter searched "manifest" in network and used this url as license: https://www.youtube.com/manifest.webmanifest
and i still couldn't get the keys, but when i only send request using only the license without pssh i got these keys: (not sure if they're the correct keys)
29913205c4b1a117d5615b1e6d42800d:185a61f9e1dc4b850 7f5055ba9d83c41
15c4525d0d5caaf73a9b9dd16e5735f3:521acc480c848db72 eb1d8be43b9dd02
f2549f5e0de4dc3b76302bff9e54f778:0d189436ab66dc82f de51e04883798bd
when i try encrypting with these key i get a 400mb video that's not working knowing that the original size is 2.7GB
same goes with audio as the result is a file sized 0mb, yes 0
what do you think i did wrong, is the problem me using the default headers? because the headers from network page looks so long and scary to deal with
what's the correct way to decrypt downloaded files from "YouTube movies & tv" , thank you so much.
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 85
-
-
Code:
dbddff05cc155f75aad569b31e25a97b:77c6ac68ecf001919de12ff680dac92f 9e0e6d7d30025b208a3a3ef7582539ce:f67686a25ac72b0ebd421cc6bcd2f514 680ac092d13d5867b262d795e1463742:32b511c7d20a9bf629006393491bc27d
-
thanks but it didn't work, it is giving the same errors as i was getting when i used the keys mentioned in the post
so what i do is using this lines since the video is in .webm and audio is in .mka :
mp4decrypt.exe --key * cv.webm cv_dec.mp4
mp4decrypt.exe --key * ca.mka ca_dec.mka
but i replace the * symbol with a key, what do you think?
also could you please tell me how did you managed to get the keys
did you get the pssh from console as i did? and when did you find the licence, was it filter search "mp4" in network or somewhere else?
because this is what i did and got different keys,
i don't really care about the movie as it's available in other sites, i just want to learn something here, thanks. -
thank you sir for taking the time to reply but this is new to me
could you plaese elaborate on how to do son here is what i did...
i downloaded "packager-win-x64" then put it in same folder as yt-dlp and mp4decrypt...
then i used this line to decrypt: packager-win-x64.exe --key * ca.mka ca_dec.mka
i replace the * symbol with a key, then in says ERROR: failed validation of new value for flag 'key
it must be some kind of rookie mistake, because it is the first time i use shaka with no idea how to use it
is there a tutorial for beginners to help me understand what lines to use or how to install correctly, i'am a quick learner
but if it is something that demands extreme explaining or it is too much trouble then no need for wasting your time, i'd understand. -
You can't use the same parameteres with shaka like you are used to with mp4decrypt.
Shaka is used something like this
Code:packager-win.exe in=aa.webm,stream=video,output=aa_dec.webm --enable_raw_key_decryption --keys key_id=92af6bfcf1ba0f834e8d793ee3453715:key=8be5d4d41c21c8c07f6d6da91a80be0c
-
thanks but it didn't work, it is giving the same errors as i was getting when i used the keys mentioned in the post
.Last edited by helloImNoob; 10th Feb 2023 at 07:00.
-
yes i know, why do you think these forums for? it's for beginners like me seeking help form skillful people like you
i'm still hoping for you to show me how did you managed to get the correct keys please
did you get the pssh from console? and where did you find the correct licence, was it filter search "mp4" in network?
because this is what i did and got wrong keys, -
thanks mr.vegeta it worked, but only with the video i couldn't crack the audio
i used the same parameters at first, then tried with changing the word "video" to "audio" like this:
packager-win.exe in=xx.mka,stream=audio,output=xx_dec.mka --enable_raw_key_decryption --keys key_id=*****:key=*****
at first it was saying unsupported format, then i changed "dec.mka" to "dec.m4a" now it say Cannot parse media file xx.mka
do you know the correct parameter to use with audio in mka format? i'm almost there thanks to you. -
could you write the full parameter? i already tried all keys, the question is what is the right combination for cracking audio,
mr. vegeta provided the one for video and it worked, but it didn't worked for audio, even after replaced the word video to audio,
it must be accurate, please just write the full parameter for audio and i will understand better, thanks. -
Use this version:
https://www.mediafire.com/file/r71dl151hqtmzuj/shaka-packager.exe/file
Video:
Code:shaka-packager.exe in=encrypted.mp4,stream=video,output=decrypted.mp4 --enable_raw_key_decryption --keys key_id=xxxxxxxxxxxxxxxx:key=xxxxxxxxxxxxxxxx
Code:shaka-packager.exe in=encrypted.m4a,stream=audio,output=decrypted.m4a --enable_raw_key_decryption --keys key_id=xxxxxxxxxxxxxxxx:key=xxxxxxxxxxxxxxxx
-
Why don't you just download the mp4 and m4a files instead and decrypt them normally with mp4decrypt?
-
-
because i only know the basic comand,which is this one: "yt-dlp --allow-u " "mpd url" " --external-downloader aria2c"
with this comand it default downloaded in webm and mka, as a beginner i only know the basic stuff
what should the code looks if i want to download in mp4 and m4a? -
You're never going to learn if you don't read and try things yourself.
Theres lots of different ways to choose the mp4/m4a formats
https://github.com/yt-dlp/yt-dlp#format-selection-examples -
i use with shaka-packager with yt-dlp and ffmpeg, they do download and decrypt then merge with video,audio subtitle on it own with batch file
Code:ECHO OFF cls :start ECHO. set /p vi=KID: set /p vk=KEY: set /p dl=MPD: set /p su=link subtitles: set /p sn=video Save Name: echo video being download......... "C:PATH.....\yt-dlp.exe" --allow-u %dl% -o "C:PATH.....\Download\encrypted ECHO Make sure video/audio name: encrypted.mp4/m4a pause ECHO echo Decrypt being created......... "C:PATH....\shaka-packager.exe" in=C:PATH....\Download\encrypted.mp4,stream=video,output=C:PATH....\Download\%sn%.mp4 --enable_raw_key_decryption --keys key_id=%vi%:key=%vk% "C:PATH....\shaka-packager.exe" in=C:PATH....\Download\encrypted.m4a,stream=audio,output=C:PATH....\Download\%sn%.m4a --enable_raw_key_decryption --keys key_id=%vi%:key=%vk% "C:PATH....\ffmpeg.exe" -i C:PATH....d\%sn%.m4a -i C:PATH....\Download\%sn%.mp4 -i %su% -c copy C:PATH....\Download\%sn%.mkv pause exit
-
this is so helpful, i was hoping that someone would show me this information
how would i know that this page exist if i'm a beginner who is just getting strated
trust me the most thing i hate is to ask for help or post a question here, because i don't want to bother anyone
i don't post here unless i run out of options, forum search bar, google, youtube... you name it
there always gonna be newbies who don't know anything but that doesn't mean they can't learn, you gotta start somewhere right?
i personally not looking to learn the hard stuff, i just want to be able to download and crack videos/audios from known free streaming services
and so far i'm doing great thanks to this place that taught me every think i know,
i will check that GitHub page and hopefully will learn few new things, thanks and good luck everyone.Last edited by user10thousand; 11th Feb 2023 at 08:53.
-
yt-dlp is one of the better documented programs out there.
the first response i get on google for "yt-dlp" is for the github page
or if you click on the link for yt-dlp on this thread, it takes you to another VH page where theres a link for "developers site" (github)
or if you type "yt-dlp --help" into the command line, the last line of the help output is "See full documentation at https://github.com/yt-dlp/yt-dlp#readme"
i think you need to improve your googling skills -
You can also use this page:
https://lmgtfy.app/ -
Where I'm struggling is how to get the keys. The Widevine key requestor doesn't work with https://www.youtube.com/manifest.webmanifest, https://www.youtube.com/youtubei/v1/player/get_drm_license, nor any base64 data retrieved by EME Logger.
Update: Used a different license URL and it provided five keys. One works with audio and another for video. The other three result in key errors. The decrypted files do not work correctly.
For audio (M4A / AAC), both the encrypted and decrypted files play the first 10 seconds before stopping.
For video (WEBM / VP9), the decrypted file looks like this throughout the entire file: https://forum.videohelp.com/images/imgfiles/wn2wmei.png
For video (MP4 / VP9 & AVC1), the decrypted file only plays the first 10 seconds correctly before it looks like this: https://forum.videohelp.com/images/imgfiles/OECtFph.png
Sample URL: https://www.youtube.com/watch?v=dSyicDf9UvILast edited by besweeet; 10th Apr 2023 at 10:25.
-
Youtube isn't quite as simple as that. There's additional json data being sent with the license request, and a ton of various headers. A custom script is needed.
These are the keys I got for the sample url:
Code:f5fe916b23c458dc9583329308759f7a:bc38c9c391c28bb5eaa41811ddc3b350 14f9069d5597595ab3ec940ffe785f7f:d6bd4b8033ff945e5adaa327e4eaba7b
-
I think my issue is the license URL. I can DM you the one I'm using, but I think it's wrong and could be why it's providing five keys that don't work. At least two of the five KIDs it gave me match the two that you sent.
I can confirm that the keys you provided decrypts the audio correctly (used mp4decrypt) but not the video (none of the variants: WEBM / VP9, MP4 / VP9, MP4 / AVC1, using Shaka Packager and mp4decrypt).Last edited by besweeet; 10th Apr 2023 at 11:15.
Similar Threads
-
how to download and decrypt DRM protected video from youtube
By tania01 in forum Video Streaming DownloadingReplies: 5Last Post: 10th Feb 2023, 15:31 -
Youtube-tv decrypt
By rippernoobie in forum Video Streaming DownloadingReplies: 0Last Post: 2nd Nov 2022, 02:47 -
How to download YouTube Movies/TV Shows and decrypt it?
By PU User in forum Video Streaming DownloadingReplies: 4Last Post: 15th Apr 2022, 12:18 -
FFMPEG encrypt & decrypt Video offline
By dara.alavi in forum ProgrammingReplies: 2Last Post: 16th Feb 2021, 06:41 -
I need help decrypt movie files (starzplay) , files included !
By Dazzle Cat in forum Video Streaming DownloadingReplies: 1Last Post: 1st Oct 2020, 18:29