Hello, newbie here and newbie to this stuff in general.
Just to preface that I did search but "CW" is too short a search term, found two threads with "CWTV" but were older / not quite helpful.
I did look through some of the pinned threads but I couldn't quite make sense because I'm not familiar with the terminology, and I wasn't sure which info might apply to this particular case.
I'm using yt-dlp on cwtv.com with success for non-DRM videos (just plain download choosing highest bitrate HLS which downloads from parts as MP4, with mkv remux, and encode subs, seems to be 2 different types of subs, hopefully I'm not doing anything wrong), however, some videos have DRM.
In one of the pinned posts it said to provide a link, hope that's okay, so here's just one sample URL from the site with DRM, but there's a whole bunch of stuff I'd like to get, so I'd like to be able to learn how to do it (teach someone to fish, and all that).
If anyone is already familiar with this site and could give some guidance on which portions of the help threads I should try to follow, I'd definitely appreciate it!
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 10 of 10
-
Last edited by DigitalArchive; 16th Jul 2023 at 18:55. Reason: Removed Sample Link
-
CW use the most basic protection, where all you need is the PSSH and license url. Reading through the "Temple of Doom" post will give you the info you need to adapt and get keys from this service. If you come across a term you don't understand, like "PSSH" or "MPD", they are very easy to search for. The initial hurdle of setting up a CDM and understanding what things mean is just something you have to get past. We all did at some point.
The best tool right now (in my opinion) is N_m3u8DL-RE. Terrible name for a fantastic program. It will download, decrypt, and mux in one go, and comes with a ton of options. Read through its --help section.
In some cases, like the video you've linked, there will be several keys returned. That typically means there are different keys for different resolutions and for audio. Giving N_m3u8DL-RE all the keys, it will automatically match it to the correct video.
Code:739e21ae93e2536399e2b182bbc3103f:69ec63bcc0ac6a45b67ac9343adb11cb 59f05339fd135b5c9c211956d4c3e107:5a337c1c286065bbbdb2bd423bd2cbef db9ee0de509d5844943b17d4b2eb795a:55ca09cf3010f3f2a5d3f617bd3c4aa8 8b446b235241518eb28bfc06494af04f:ea3d55ed503659b9c7fc01aa2b990dff
-
So I got one error that it couldn't do the selection menu for some reason to do with command prompt capabilities I think, probably because I'm running this part now on Windows 7 (I know lol, all my machines are old). But I was able to use the -sv -sa -ss options.
However, I then ran into an issue with the mkvmerge option where it seems as if it can't locate mkvmerge, so I'm curious if you are using that option. (I haven't had any issues running mkvmerge in the past with other stuff.) I tried putting mkvmerge.exe into numerous places, even in the default they suggest in the help, but it keeps coming back as:
Code:ERROR: mkvmerge not found
Code:-M format=mkv:muxer=mkvmerge:bin_path="Z:\_tools\mkvm\mkvmerge.exe"
Code:-M format=mkv:muxer=mkvmerge:bin_path="C:\Program Files\MKVToolNix\mkvmerge.exe"
I also tried muxer=mkvmerge.exe but it rejected that, the syntax is definitely just mkvmerge for that part of it. -
1) about RE and mux with mkvmerge use this code only:
Code:RE -M format=mkv:muxer=mkvmerge --use-shaka-packager --key xx:xx "https://mpd"
anyway unofficial version for win7 is available here:
https://forum.videohelp.com/threads/405407-NON-OFFICIAL-Windows-builds-of-MKVtoolnix/p...e5#post2696022 -
Thank you lomero for the link of the mkvmerge non-official release!
This is the full code I'm using for the options I would like to use, I have double checked it, but it still says "mkvmerge not found"
Code:N_m3u8DL-RE MPDLINK -M format=mkv:muxer=mkvmerge:bin_path="Z:\_tools\mkvm\mkvmerge.exe" --ffmpeg-binary-path "Z:\_tools\ffm\ffmpeg.exe" --use-shaka-packager --key-text-file keys.txt --select-video best --select-audio all --select-subtitle all
So I also tried ffmpeg... and that doesn't work either. So it seems to be an issue with the -M format=mkv
I guess I can always mux it afterward!Last edited by DigitalArchive; 16th Jul 2023 at 18:56.
-
Success! I think everything worked out correctly, at the least I can get through the basics.
Now I have some work to do
Thank you very much to stabbedbybrick, Angela, and lomero. -
One alternative to N_m3u8DL-RE (which is great software) is dash-mpd-cli, which can also do the downloading, decryption and muxing (only for DASH streams). Something like
dash-mpd-cli -v --quality best --write-subs --key foo:bar --key fiz:baz --ffmpeg-location "Z:\_tools\ffm\ffmpeg.exe" -o output.mp4 MPD-URL
It can mux with ffmpeg, VLC, MP4Box or mkvmerge, depending on the type of output container.
https://github.com/emarsden/dash-mpd-cli -
@DigitalArchive
why this?Code:mkvmerge:bin_path="Z:\_tools\mkvm\mkvmerge.exe"
-
Thanks everyone for the additional advice!
I am all set now but I appreciate the help, I will check out these options as I improve my current workflow.
Similar Threads
-
Two questions in one post.
By salvo00786 in forum DVD RippingReplies: 1Last Post: 2nd Sep 2022, 08:46 -
Many Newbie Questions
By Oldtimer in forum Newbie / General discussionsReplies: 1Last Post: 3rd Jun 2020, 06:56 -
FFMPEG Questions About How To...
By adidasos in forum Video Streaming DownloadingReplies: 9Last Post: 8th Feb 2019, 07:00 -
I have some questions re LinkedIn
By vhelp in forum Off topicReplies: 11Last Post: 24th Oct 2018, 06:38 -
3d printing questions
By johns0 in forum ComputerReplies: 6Last Post: 1st Aug 2018, 11:43