parent
4061d8aeda
commit
42dfacb101
45
README.md
45
README.md
|
@ -18,6 +18,8 @@ A (preferably non samsung) Android 7-9 (possibly Android 10) device that is able
|
||||||
|
|
||||||
[YT-DLP](https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe "YT-DLP")
|
[YT-DLP](https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe "YT-DLP")
|
||||||
|
|
||||||
|
[MP4 Decrypt](https://www.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-639.x86_64-microsoft-win32.zip "MP4 Decrypt")
|
||||||
|
|
||||||
[ffMPEG](https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z "ffMPEG")
|
[ffMPEG](https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z "ffMPEG")
|
||||||
|
|
||||||
#### Android device I used
|
#### Android device I used
|
||||||
|
@ -122,4 +124,45 @@ And there you have it! decryption keys for all versions of the video and one for
|
||||||
|
|
||||||
# Optional: How to download, decrypt, and merge Bitmovin video and audio
|
# Optional: How to download, decrypt, and merge Bitmovin video and audio
|
||||||
|
|
||||||
**WIP 8/29/2022 - Should be finished within a day or two**
|
### Downloading
|
||||||
|
|
||||||
|
Download [YT-DLP](https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe "YT-DLP") and place in a new folder or a folder of your choice.
|
||||||
|
|
||||||
|
Open a new command prompt as administrator and change directories to the folder you've placed `yt-dlp.exe`
|
||||||
|
|
||||||
|
Go back to [https://bitmovin.com/demos/drm](https://bitmovin.com/demos/drm "https://bitmovin.com/demos/drm") and open up the web devoloper tools (ctrl+shift+c) and click on the network tab.
|
||||||
|
|
||||||
|
Play the video on the site, then in the filter urls type in `MPD` like in step 3.
|
||||||
|
|
||||||
|
Copy the url value from the search result. You can do this by: Right click -> Copy Value -> Copy URL In this case it should be `https://cdn.bitmovin.com/content/assets/art-of-motion_drm/mpds/11331.mpd`
|
||||||
|
|
||||||
|
Now in the command prompt you have opened execute the command `yt-dlp.exe --allow-unplayable https://cdn.bitmovin.com/content/assets/art-of-motion_drm/mpds/11331.mpd`
|
||||||
|
|
||||||
|
This should download two files in your yt-dlp directory, an encrpyted `mp4` video file and an encrypted `m4a` audio file. For ease I have renamed these `encrypted.mp4` and `encrypted.m4a`
|
||||||
|
|
||||||
|
## Decrypting
|
||||||
|
|
||||||
|
Download and extract [MP4 Decrypt](https://www.bok.net/Bento4/binaries/Bento4-SDK-1-6-0-639.x86_64-microsoft-win32.zip "MP4 Decrypt")
|
||||||
|
|
||||||
|
Open a new command prompt as administrator and change directories to the MP4Decrypt bin folder.
|
||||||
|
|
||||||
|
Place your `encrpyted.mp4` and `encrypted.m4a` files in this bin folder as well
|
||||||
|
|
||||||
|
Decrpyt the video by using `mp4decrypt.exe --key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx inputfile.mp4 outputfile.mp4` where the key in this case would be one we extracted earlier, `inputfile.mp4` being the `encrytped.mp4` file we downloaded earlier and `outputfile.mp4` can be named whatever you choose, I will be using `decrypted.mp4` so for this instance it would be `mp4decrypt.exe --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb encrypted.mp4 decrypted.mp4`
|
||||||
|
|
||||||
|
Decrpyt the audio by using `mp4decrypt.exe --key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx inputfile.m4a outputfile.m4a` where the key in this case would be one we extracted earlier, `inputfile.m4a` being the `encrytped.m4a` file we downloaded earlier and `outputfile.m4a` can be named whatever you choose, I will be using `decrypted.m4a` so for this instance it would be `mp4decrypt.exe --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb encrypted.m4a decrypted.m4a`
|
||||||
|
|
||||||
|
You should now have two playable files, the video `decrypted.mp4` and the audio `decrypted.m4a` now it's time for the final step .
|
||||||
|
|
||||||
|
### Merging
|
||||||
|
|
||||||
|
Download and extract [ffMPEG](https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z "ffMPEG")
|
||||||
|
|
||||||
|
Open a new command prompt as administrator and change directories to the ffmpeg bin folder.
|
||||||
|
|
||||||
|
Place your `decrpyted.mp4` and `derypted.m4a` files in this bin folder as well
|
||||||
|
|
||||||
|
In command prompt issue the command to merge the two streams `ffmpeg.exe -i decrypted.mp4 -i decrypted.m4a -vcodec copy -acodec copy bitmovin.mp4`
|
||||||
|
|
||||||
|
Congrats, you now have a playable widevine audio/video file!
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue