Initial commit of video_extractor toolkit

Widevine/DRM research and video download scripts (Apple, CDA, Sky, TVP),
CDM tooling, and helper utilities. Excludes downloads/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WFUhtZEpkGZJjNCGFS9r4Z
This commit is contained in:
2026-08-08 12:35:28 +02:00
co-authored by Claude Opus 4.8
commit 453ca2f85a
227 changed files with 21028 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
LOG 2026/06/15
Save Path: /home/lukas/Programy/video_extractor/tools/Logs
Task Start: 2026/06/15 09:13:48
Task CommandLine: /home/lukas/Programy/video_extractor/tools/N_m3u8DL-RE https://sdt-thinx4-164.tvp.pl/token/video/vod/91249286/20260615/1567210018/OkroE970Dz070L7EevgLf3iJQdDQ5uWXq3kLDvEr0UGbIwzcMvPQGZM_Zw9M5ECN0N1ZYPc-n7IGuZG5v_V_pkzoiStWe2ZeYugmhahc1k3EzD4KRSVMrc-T7NaY-L_koA_6i4BG2DELQ7mQwe2LGMf8o_ML4CG8SbOuRnNphlg1gdmgL7jf2end66-swH6z/video.ism/video.mpd --key 8035f8b42a9e45b294361da5cdd559fd:79a39a8eebfb48ae8eb840f167e10990 --save-dir /home/lukas/Programy/video_extractor/downloads --save-name s03e25_tragedia_w_marsdon_manor --select-video best --select-audio best --tmp-dir /tmp/n_m3u8dl_tmp --decryption-binary-path /home/lukas/Programy/video_extractor/tools/mp4decrypt --mux-after-done format=mp4:bin=ffmpeg
09:13:48.600 INFO : N_m3u8DL-RE (Beta version) 20251029
09:13:48.600 EXTRA: ffmpeg => /usr/bin/ffmpeg
09:13:48.600 EXTRA: mp4decrypt => /home/lukas/Programy/video_extractor/tools/mp4decrypt
09:13:48.600 INFO : Loading URL: https://sdt-thinx4-164.tvp.pl/token/video/vod/91249286/20260615/1567210018/OkroE970Dz070L7EevgLf3iJQdDQ5uWXq3kLDvEr0UGbIwzcMvPQGZM_Zw9M5ECN0N1ZYPc-n7IGuZG5v_V_pkzoiStWe2ZeYugmhahc1k3EzD4KRSVMrc-T7NaY-L_koA_6i4BG2DELQ7mQwe2LGMf8o_ML4CG8SbOuRnNphlg1gdmgL7jf2end66-swH6z/video.ism/video.mpd
09:13:48.782 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
09:13:48.783 INFO : Parsing streams...
09:13:48.873 WARN : Writing meta json
09:13:48.878 INFO : Extracted, there are 8 streams, with 7 basic streams, 1 audio streams, 0 subtitle streams
09:13:48.878 INFO : Vid *CENC 1920x1080 | 4222 Kbps | f7-v1-x3 | avc1.64002a | 771 Segments | ~51m20s
09:13:48.878 INFO : Vid *CENC 1280x720 | 3080 Kbps | f6-v1-x3 | avc1.64001f | 771 Segments | ~51m20s
09:13:48.878 INFO : Vid *CENC 960x540 | 1834 Kbps | f5-v1-x3 | avc1.4d401f | 771 Segments | ~51m20s
09:13:48.879 INFO : Vid *CENC 800x450 | 1017 Kbps | f4-v1-x3 | avc1.4d401f | 771 Segments | ~51m20s
09:13:48.879 INFO : Vid *CENC 640x360 | 685 Kbps | f3-v1-x3 | avc1.4d401f | 771 Segments | ~51m20s
09:13:48.879 INFO : Vid *CENC 480x270 | 579 Kbps | f2-v1-x3 | avc1.42c01f | 771 Segments | ~51m20s
09:13:48.879 INFO : Vid *CENC 400x224 | 386 Kbps | f1-v1-x3 | avc1.42c01f | 771 Segments | ~51m20s
09:13:48.879 INFO : Aud *CENC f8-a1-x3 | 247 Kbps | mp4a.40.2 | 1CH | 771 Segments | ~51m20s
09:13:48.879 EXTRA: VideoFilter => For: best
09:13:48.879 EXTRA: AudioFilter => For: best
09:13:48.879 INFO : Parsing streams...
09:13:48.882 INFO : Selected streams:
09:13:48.882 INFO : Vid *CENC 1920x1080 | 4222 Kbps | f7-v1-x3 | avc1.64002a | 771 Segments | ~51m20s
09:13:48.883 INFO : Aud *CENC f8-a1-x3 | 247 Kbps | mp4a.40.2 | 1CH | 771 Segments | ~51m20s
09:13:48.883 WARN : Writing meta json
09:13:48.884 INFO : Save Name: s03e25_tragedia_w_marsdon_manor
09:13:48.884 WARN : MuxAfterDone is detected, binary merging is automatically enabled
09:13:48.884 INFO : Start downloading...Vid 1920x1080 | 4222 Kbps | f7-v1-x3 | avc1.64002a
09:13:48.896 WARN : Type: cenc
09:13:48.896 WARN : PSSH(WV): CAESEIA1+LQqnkWylDYdpc3VWf1I49yVmwY=
09:13:48.896 WARN : KID: 8035f8b42a9e45b294361da5cdd559fd
09:13:48.896 WARN : Reading media info...
09:13:48.950 INFO : NaN: Video, h264 (avc1), 1920x1080
09:14:02.922 INFO : Binary merging...
09:14:05.651 WARN : Type: cenc
09:14:05.651 WARN : PSSH(WV): CAESEIA1+LQqnkWylDYdpc3VWf1I49yVmwY=
09:14:05.653 WARN : KID: 8035f8b42a9e45b294361da5cdd559fd
09:14:05.653 INFO : Decrypting using MP4DECRYPT...
09:14:15.337 INFO : Start downloading...Aud f8-a1-x3 | 247 Kbps | mp4a.40.2 | 1CH
09:14:15.402 WARN : Type: cenc
09:14:15.403 WARN : PSSH(WV): CAESEIA1+LQqnkWylDYdpc3VWf1I49yVmwY=
09:14:15.403 WARN : KID: 8035f8b42a9e45b294361da5cdd559fd
09:14:15.404 WARN : Reading media info...
09:14:15.465 INFO : NaN: Audio, aac (mp4a)
09:14:16.471 INFO : Binary merging...
09:14:16.704 WARN : Type: cenc
09:14:16.705 WARN : PSSH(WV): CAESEIA1+LQqnkWylDYdpc3VWf1I49yVmwY=
09:14:16.705 WARN : KID: 8035f8b42a9e45b294361da5cdd559fd
09:14:16.705 INFO : Decrypting using MP4DECRYPT...
09:14:17.460 WARN : s03e25_tragedia_w_marsdon_manor.mp4
09:14:17.460 WARN : s03e25_tragedia_w_marsdon_manor.m4a
09:14:17.460 WARN : Muxing to s03e25_tragedia_w_marsdon_manor.MUX.mp4
09:14:20.509 WARN : Cleaning files...
09:14:21.021 WARN : Rename to s03e25_tragedia_w_marsdon_manor.mp4
09:14:21.021 INFO : Done