That's cause you're downloading vp9 content which is kinda buggy for n_m3u8dl-re when it comes to decrypting. Run those commands separately
Your videoCode:N_m3u8DL-RE "https://vcze180.cda.pl/15210174vp9/15210174.mpd" shaka-packager in=video_encrypted.webm,stream=video,output=video_decrypted.webm --enable_raw_key_decryption --keys key_id=30323861366531373232363138353865:key=33633361636663373236313933353439 shaka-packager in=audio_encrypted.webm,stream=audio,output=audio_decrypted.webm --enable_raw_key_decryption --keys key_id=30323861366531373232363138353865:key=33633361636663373236313933353439 mkvmerge video_decrypted.webm audio_decrypted.webm -o video.mkv
https://www.swisstransfer.com/d/a276a2cd-e0d9-4dc6-8ac6-49817eb93858
+ Reply to Thread
Results 61 to 81 of 81
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
-
-
-
I am testing mp4 now
https://forum.videohelp.com/attachment.php?attachmentid=83886&stc=1&d=1733259518 -
[PL]
Zainstaluj sobie narzędzie Widevineproxy2 na przeglądarce EDGE do pobierania dla cda.pl
Dlaczego Edge - a nie inne ? Ponieważ na EDGE - wyświetli ci link MPD H264 - a na innych przeglądarkach VP9 - co jest trudniejsze w pobraniu i rozkodowaniu.
Przed załadowaniem rozszerzenia do przeglądarki - w pasku przeglądarki edge wpisz : edge://flags/ i przejdź na poniższy adres -
Następnie wyszukaj :
Playready - Disabled / Widevine - Enabled
Dane wyciągnięte przez narzędzie Widevineproxy2 - z użyciem EDGE :
Code:N_m3u8DL-RE "https://vcze180.cda.pl/15210174/15210174.mpd?uid=588240021" -H "Accept: */*" -H "Origin: https://www.cda.pl" -H "Referer: https://www.cda.pl/video/1521017489/vfilm" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" --key 30323861366531373232363138353865:33633361636663373236313933353439 --use-shaka-packager -M format=mkv
[ENG] Install the Widevineproxy2 tool on your EDGE browser to download for cda.pl
Why Edge - and not others? Because on EDGE - it will show you the MPD H264 link - and on other browsers VP9 - which is more difficult to download and decode.
Before loading the extension to your browser - in the edge browser bar type: edge://flags/ and go to the address below -
Then search for:
Playready - Disabled / Widevine - Enabled
Data extracted by Widevineproxy2 tool - using EDGE:
Code:N_m3u8DL-RE "https://vcze180.cda.pl/15210174/15210174.mpd?uid=588240021" -H "Accept: */*" -H "Origin: https://www.cda.pl" -H "Referer: https://www.cda.pl/video/1521017489/vfilm" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" --key 30323861366531373232363138353865:33633361636663373236313933353439 --use-shaka-packager -M format=mkv
Last edited by Kadio; 3rd Dec 2024 at 17:24.
-
thanks for your help "Kadio"
But this link can be downloaded and is it from edge ??? -
C:\Users\henryk\Downloads\N_m3u8DL-RE_Beta_win-x64_20240828\N_m3u8DL-RE_Beta_win-x64>N_m3u8DL-RE "https://vcze180.cda.pl/15210174/15210174.mpd?uid=588240021" -H "Accept: */*" -H "Origin: https://www.cda.pl" -H "Referer: https://www.cda.pl/video/1521017489/vfilm" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" --key 30323861366531373232363138353865:33633361636663373 236313933353439 --use-shaka-packager -M format=mkv
Unrecognized command or argument '236313933353439'.
Description:
N_m3u8DL-RE (Beta version) 20240630
Usage:
N_m3u8DL-RE <input> [options]
Arguments:
<input> Input Url or File
Options:
--tmp-dir <tmp-dir> Set temporary file directory
--save-dir <save-dir> Set output directory
--save-name <save-name> Set output filename
--base-url <base-url> Set BaseURL
--thread-count <number> Set download thread count [default: 4]
--download-retry-count <number> The number of retries when download segment error [default: 3]
--force-ansi-console Force assuming the terminal is ANSI-compatible and interactive
--no-ansi-color Remove ANSI colors
--auto-select Automatically selects the best tracks of all types [default: False]
--skip-merge Skip segments merge [default: False]
--skip-download Skip download [default: False]
--check-segments-count Check if the actual number of segments downloaded matches the expected
number [default: True]
--binary-merge Binary merge [default: False]
--use-ffmpeg-concat-demuxer When merging with ffmpeg, use the concat demuxer instead of the concat
protocol [default: False]
--del-after-done Delete temporary files when done [default: True]
--no-date-info Date information is not written during muxing [default: False]
--no-log Disable log file output [default: False]
--write-meta-json Write meta json after parsed [default: True]
--append-url-params Add Params of input Url to segments, useful for some websites, such as
kakao.com [default: False]
-mt, --concurrent-download Concurrently download the selected audio, video and subtitles [default:
False]
-H, --header <header> Pass custom header(s) to server, Example:
-H "Cookie: mycookie" -H "User-Agent: iOS"
--sub-only Select only subtitle tracks [default: False]
--sub-format <SRT|VTT> Subtitle output format [default: SRT]
--auto-subtitle-fix Automatically fix subtitles [default: True]
--ffmpeg-binary-path <PATH> Full path to the ffmpeg binary, like C:\Tools\ffmpeg.exe
--log-level <DEBUG|ERROR|INFO|OFF|WARN> Set log level [default: INFO]
--ui-language <en-US|zh-CN|zh-TW> Set UI language
--urlprocessor-args <urlprocessor-args> Give these arguments to the URL Processors.
--key <key> Pass decryption key(s) to mp4decrypt/shaka-packager. format:
--key KID1:KEY1 --key KID2:KEY2
--key-text-file <key-text-file> Set the kid-key file, the program will search the KEY with KID from the
file.(Very large file are not recommended)
--decryption-binary-path <PATH> Full path to the tool used for MP4 decryption, like C:\Tools\mp4decrypt.exe
--use-shaka-packager Use shaka-packager instead of mp4decrypt to decrypt [default: False]
--mp4-real-time-decryption Decrypt MP4 segments in real time [default: False]
-R, --max-speed <SPEED> Set speed limit, Mbps or Kbps, for example: 15M 100K.
-M, --mux-after-done <OPTIONS> When all works is done, try to mux the downloaded streams. Use "--morehelp
mux-after-done" for more details
--custom-hls-method <METHOD> Set HLS encryption method
(AES_128|AES_128_ECB|CENC|CHACHA20|NONE|SAMPLE_AES |SAMPLE_AES_CTR|UNKNOWN)
--custom-hls-key <FILE|HEX|BASE64> Set the HLS decryption key. Can be file, HEX or Base64
--custom-hls-iv <FILE|HEX|BASE64> Set the HLS decryption iv. Can be file, HEX or Base64
--use-system-proxy Use system default proxy [default: True]
--custom-proxy <URL> Set web request proxy, like http://127.0.0.1:8888
--custom-range <RANGE> Download only part of the segments. Use "--morehelp custom-range" for more
details
--task-start-at <yyyyMMddHHmmss> Task execution will not start before this time
--live-perform-as-vod Download live streams as vod [default: False]
--live-real-time-merge Real-time merge into file when recording live [default: False]
--live-keep-segments Keep segments when recording a live (liveRealTimeMerge enabled) [default:
True]
--live-pipe-mux Real-time muxing to TS file through pipeline + ffmpeg (liveRealTimeMerge
enabled) [default: False]
--live-fix-vtt-by-audio Correct VTT sub by reading the start time of the audio file [default: False]
--live-record-limit <HH:mms> Recording time limit when recording live
--live-wait-time <SEC> Manually set the live playlist refresh interval
--live-take-count <NUM> Manually set the number of segments downloaded for the first time when
recording live [default: 16]
--mux-import <OPTIONS> When MuxAfterDone enabled, allow to import local media files. Use
"--morehelp mux-import" for more details
-sv, --select-video <OPTIONS> Select video streams by regular expressions. Use "--morehelp select-video"
for more details
-sa, --select-audio <OPTIONS> Select audio streams by regular expressions. Use "--morehelp select-audio"
for more details
-ss, --select-subtitle <OPTIONS> Select subtitle streams by regular expressions. Use "--morehelp
select-subtitle" for more details
-dv, --drop-video <OPTIONS> Drop video streams by regular expressions.
-da, --drop-audio <OPTIONS> Drop audio streams by regular expressions.
-ds, --drop-subtitle <OPTIONS> Drop subtitle streams by regular expressions.
--ad-keyword <REG> Set URL keywords (regular expressions) for AD segments
--morehelp <OPTION> Set more help info about one option
--version Show version information
-?, -h, --help Show help and usage information
C:\Users\henryk\Downloads\N_m3u8DL-RE_Beta_win-x64_20240828\N_m3u8DL-RE_Beta_win-x64> -
look in your key, there is a gap space
Code:N_m3u8DL-RE "https://vcze180.cda.pl/15210174/15210174.mpd?uid=588240021" -H "Accept: */*" -H "Origin: https://www.cda.pl" -H "Referer: https://www.cda.pl/video/1521017489/vfilm" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" --key 30323861366531373232363138353865:33633361636663373236313933353439 --use-shaka-packager -M format=mkv
[Attachment 83889 - Click to enlarge] -
-
it downloaded everything but the video was distorted
https://forum.videohelp.com/attachment.php?attachmentid=83892&stc=1&d=1733270959
your link is different from mine and it's very different. I downloaded it from the script "WidevineProxy2"Last edited by Henryk69; 3rd Dec 2024 at 18:25.
-
-
VP9 :
Create a folder on your desktop, download and extract the files from this link to the folder:
Code:https://gofile.io/d/GxIbRK
Use this command :
Code:N_m3u8DL-RE.exe --use-shaka-packager "https://vcze180.cda.pl/15210174vp9/15210174.mpd" --key 30323861366531373232363138353865:33633361636663373236313933353439 -M format=mp4
[Attachment 83905 - Click to enlarge]Last edited by Kadio; 4th Dec 2024 at 10:42.
-
What a great post from "Kadio", fast, specific and concise, for which I thank you very, very much
-
It works, it works, it works "Kardio" you are great - and here I learned:
1.N_m3u8DL-RE - old version
2.shaka-packager.exe - what they sent me did not work at all, that's why there are glitches during playback of the film.
We need people like Kardio in our forum, and I have been fighting with this for 3 weeks.
Thanks again Kardio and I wish you good health -
Did you try to set "media.webm.enabled" and "media.av1.enabled" parameters to "false" in the Firefox "about:config" page? For the Chrome-based browsers there is an addon named "h264ify/enhanced-h264ify", but it works only on YouTube service, would be better to find similar addon for any video service, maybe someone knows about it?
Last edited by Lirk; 12th Dec 2024 at 10:37.
-
-
-
this can give the mp4 dash mpd: manifest_cast
Code:from urllib.parse import unquote import requests import json import re resp = requests.get(link, cookies=cookies, headers=headers).text get_json = re.findall(r"player_data='({.*})'", resp)[0].strip() get_vid_json = json.loads(get_json) orig_title = get_vid_json['video']['title'] title = unquote(orig_title) print(title) mpd = get_vid_json['video']['manifest_cast'] print(mpd)
Similar Threads
-
Need help downloading
By Angel_Cyclops in forum Video Streaming DownloadingReplies: 36Last Post: 19th Feb 2025, 06:00 -
Help download from cda
By xEska in forum Video Streaming DownloadingReplies: 3Last Post: 17th Feb 2024, 00:10 -
Downloading an HLS stream: ONLY in sync when downloading with ffmpeg. Possi
By royjeon215 in forum Video Streaming DownloadingReplies: 6Last Post: 21st Jan 2024, 02:56 -
Help for downloading
By talms in forum Video Streaming DownloadingReplies: 8Last Post: 27th Jan 2023, 06:04 -
Need help with downloading
By DWIChannel in forum Video Streaming DownloadingReplies: 2Last Post: 16th Jul 2020, 10:27