This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # rough and ready bash script to download & decrypt a widevine-encrypted video via MPD URL | |
| # this will work with (for example) channel5 UKTV | |
| # | |
| # assumptions: | |
| # 1) the following binaries are in your $PATH: | |
| # curl, ffmpeg, head, jq, mp4decrypt, yt-dlp | |
| # | |
| # this script requires 2x arguments: |