VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Hi guys, I am a newbie and I learn a lot from this forum.

    I tried to download video from vrt max. Everything went great but I failed in the decrypt phase. I guess the problem is I used wrong kid:key pair. I just simply copied the default_kid in the mpd file. Which didn't match the format in successful code.

    I am using macos 13.0 and I use N_m3u8DL-RE and mp4 decrypter.

    I follow this thread https://forum.videohelp.com/threads/407962-download-from-VRT-MAX
    And tutorial https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom

    but I know it is currently out of my ability to get the kid:key pair. So I turn to you guys for help.

    I hope I can get kid:key pairs for all 6 episodes...ORZ. If that bothers you, ep01 and ep03 is enough! Thanks in advance!

    And one more questions, is the kid:key value pair unique for each video? Or I can use the website's key for all this season?

    video link: https://www.vrt.be/vrtnu/a-z/kampioenenjaar/1/kampioenenjaar-s1a1/

    My account info for vrt max:
    username: jonaxyy@outlook.com
    pw: 24rosasABC

    This is output from my last try. Seems I failed in decrypt phase.

    N_m3u8DL-RE_Beta_osx-arm64 % ./N_m3u8DL-RE -M format=mp4 --key "2B72B3A7-9B0B-D9B6-A19F-C34DDE309A76" "https://remix.vrtcdn.be/content/vod/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb_drm_0ee71428-7e14-4170-b449-902556ddacb7.ism/.mpd" --save-name "ep_02" -sv best -ss all
    13:19:52.918 INFO : N_m3u8DL-RE (Beta version) 20230111
    13:19:52.969 INFO : Loading URL: https://remix.vrtcdn.be/content/vod/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb/pl-bd8576e...dacb7.ism/.mpd
    13:19:53.272 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    13:19:53.273 INFO : Parsing streams...
    13:19:53.337 INFO : Extracted, there are 9 streams, with 6 basic streams, 2 audio streams, 1 subtitle streams
    13:19:53.341 INFO : Vid *CENC 1920x1080 | 5001 Kbps | video=5001000 |
    avc3.64002A | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 1280x720 | 3302 Kbps | video=3302000 | avc3.64002A
    | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 960x540 | 2200 Kbps | video=2200000 | avc3.4D401F
    | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 768x432 | 1300 Kbps | video=1300000 | avc3.4D401F
    | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 640x360 | 900 Kbps | video=900000 | avc3.4D401F |
    690 Segments | ~44m09s
    13:19:53.342 INFO : Vid *CENC 480x270 | 550 Kbps | video=550000 | avc3.4D401F |
    690 Segments | ~44m09s
    13:19:53.342 INFO : Aud *CENC audio_1=96000 | 96 Kbps | mp4a.40.2 | 2CH | 1325
    Segments | ~44m09s
    13:19:53.342 INFO : Aud *CENC audio=64000 | 64 Kbps | mp4a.40.5 | 2CH | 1325
    Segments | ~44m09s
    13:19:53.342 INFO : Sub textstream_dut=1000 | nl | stpp.ttml.im1t | 1309
    Segments | ~43m37s
    13:19:53.343 INFO : Parsing streams...
    13:19:53.346 INFO : Selected streams:
    13:19:53.346 INFO : Vid *CENC 1920x1080 | 5001 Kbps | video=5001000 |
    avc3.64002A | 690 Segments | ~44m09s
    13:19:53.346 INFO : Sub textstream_dut=1000 | nl | stpp.ttml.im1t | 1309
    Segments | ~43m37s
    13:19:53.346 INFO : Save Name: ep_02
    13:19:53.350 INFO : Start downloading...Vid 1920x1080 | 5001 Kbps |
    video=5001000 | avc3.64002A
    13:19:53.350 WARN : When CENC encryption is detected, binary merging is
    automatically enabled
    13:19:53.548 WARN : Type: cenc
    13:19:53.548 WARN : PSSH(WV):
    IidwbC1iZDg1NzZlMy0yYTJkLTRjZGMtYTZkMS1iZTk5Zjc5OT Q5Y2JI49yVmwY= 0Bps --:--:-- ⣷
    13:19:53.549 WARN : KID: 2b72b3a79b0bd9b6a19fc34dde309a76
    13:19:53.549 WARN : Reading media info...
    13:19:53.711 INFO : [0x1]: Video, h264 (avc3), 1920x1080
    13:20:41.010 WARN : ep_02.mp4 => ep_02.copy.mp4
    13:20:41.012 INFO : Binary merging...
    13:20:43.071 INFO : Decrypting...
    13:20:43.073 INFO : Start downloading...Sub textstream_dut=1000 | nl |
    stpp.ttml.im1t| 5001 Kbps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 1.54GB - 00:00:00
    13:20:43.109 WARN : Reading media info...
    13:20:43.258 INFO : [0x1]: Data, none (stpp) (default)
    13:21:10.290 WARN : Extracting TTML(mp4) subtitle...
    13:21:10.809 INFO : Binary merging...
    13:21:10.812 WARN : ep_02.copy.mp4
    13:21:10.812 WARN : ep_02.nl.srt
    13:21:10.812 WARN : Muxing to ep_02.MUX.mp4
    13:21:11.000 WARN : [h264 @ 0x13e904950] top block unavailable for requested
    intra mode -1
    13:21:11.000 WARN : [h264 @ 0x13e904950] error while decoding MB 0 0, bytestream
    25804
    13:21:11.008 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0x13e904080] Incorrect number of
    samples in encryption info
    13:21:11.008 WARN :
    /Users/zhiyun/Downloads/N_m3u8DL-RE_Beta_osx-arm64/ep_02.copy.mp4: Invalid data
    found when processing input
    13:21:11.016 WARN : Cleaning files...
    13:21:11.028 INFO : Done
    Quote Quote  
  2. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    First thing first,
    --key "2B72B3A7-9B0B-D9B6-A19F-C34DDE309A76" is totaly wrong set.
    Use decryption key not kid, something like --key kid:key
    Last edited by naim2007; 4th Feb 2023 at 10:43.
    Quote Quote  
  3. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    Originally Posted by jonax77 View Post
    Hi guys, I am a newbie and I learn a lot from this forum.

    I tried to download video from vrt max. Everything went great but I failed in the decrypt phase. I guess the problem is I used wrong kid:key pair. I just simply copied the default_kid in the mpd file. Which didn't match the format in successful code.

    I am using macos 13.0 and I use N_m3u8DL-RE and mp4 decrypter.

    I follow this thread https://forum.videohelp.com/threads/407962-download-from-VRT-MAX
    And tutorial https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom

    but I know it is currently out of my ability to get the kid:key pair. So I turn to you guys for help.

    I hope I can get kid:key pairs for all 6 episodes...ORZ. If that bothers you, ep01 and ep03 is enough! Thanks in advance!

    And one more questions, is the kid:key value pair unique for each video? Or I can use the website's key for all this season?

    video link: https://www.vrt.be/vrtnu/a-z/kampioenenjaar/1/kampioenenjaar-s1a1/

    My account info for vrt max:
    username: jonaxyy@outlook.com
    pw: 24rosasABC

    This is output from my last try. Seems I failed in decrypt phase.

    N_m3u8DL-RE_Beta_osx-arm64 % ./N_m3u8DL-RE -M format=mp4 --key "2B72B3A7-9B0B-D9B6-A19F-C34DDE309A76" "https://remix.vrtcdn.be/content/vod/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb_drm_0ee71428-7e14-4170-b449-902556ddacb7.ism/.mpd" --save-name "ep_02" -sv best -ss all
    13:19:52.918 INFO : N_m3u8DL-RE (Beta version) 20230111
    13:19:52.969 INFO : Loading URL: https://remix.vrtcdn.be/content/vod/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb/pl-bd8576e...dacb7.ism/.mpd
    13:19:53.272 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    13:19:53.273 INFO : Parsing streams...
    13:19:53.337 INFO : Extracted, there are 9 streams, with 6 basic streams, 2 audio streams, 1 subtitle streams
    13:19:53.341 INFO : Vid *CENC 1920x1080 | 5001 Kbps | video=5001000 |
    avc3.64002A | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 1280x720 | 3302 Kbps | video=3302000 | avc3.64002A
    | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 960x540 | 2200 Kbps | video=2200000 | avc3.4D401F
    | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 768x432 | 1300 Kbps | video=1300000 | avc3.4D401F
    | 690 Segments | ~44m09s
    13:19:53.341 INFO : Vid *CENC 640x360 | 900 Kbps | video=900000 | avc3.4D401F |
    690 Segments | ~44m09s
    13:19:53.342 INFO : Vid *CENC 480x270 | 550 Kbps | video=550000 | avc3.4D401F |
    690 Segments | ~44m09s
    13:19:53.342 INFO : Aud *CENC audio_1=96000 | 96 Kbps | mp4a.40.2 | 2CH | 1325
    Segments | ~44m09s
    13:19:53.342 INFO : Aud *CENC audio=64000 | 64 Kbps | mp4a.40.5 | 2CH | 1325
    Segments | ~44m09s
    13:19:53.342 INFO : Sub textstream_dut=1000 | nl | stpp.ttml.im1t | 1309
    Segments | ~43m37s
    13:19:53.343 INFO : Parsing streams...
    13:19:53.346 INFO : Selected streams:
    13:19:53.346 INFO : Vid *CENC 1920x1080 | 5001 Kbps | video=5001000 |
    avc3.64002A | 690 Segments | ~44m09s
    13:19:53.346 INFO : Sub textstream_dut=1000 | nl | stpp.ttml.im1t | 1309
    Segments | ~43m37s
    13:19:53.346 INFO : Save Name: ep_02
    13:19:53.350 INFO : Start downloading...Vid 1920x1080 | 5001 Kbps |
    video=5001000 | avc3.64002A
    13:19:53.350 WARN : When CENC encryption is detected, binary merging is
    automatically enabled
    13:19:53.548 WARN : Type: cenc
    13:19:53.548 WARN : PSSH(WV):
    IidwbC1iZDg1NzZlMy0yYTJkLTRjZGMtYTZkMS1iZTk5Zjc5OT Q5Y2JI49yVmwY= 0Bps --:--:-- ⣷
    13:19:53.549 WARN : KID: 2b72b3a79b0bd9b6a19fc34dde309a76
    13:19:53.549 WARN : Reading media info...
    13:19:53.711 INFO : [0x1]: Video, h264 (avc3), 1920x1080
    13:20:41.010 WARN : ep_02.mp4 => ep_02.copy.mp4
    13:20:41.012 INFO : Binary merging...
    13:20:43.071 INFO : Decrypting...
    13:20:43.073 INFO : Start downloading...Sub textstream_dut=1000 | nl |
    stpp.ttml.im1t| 5001 Kbps ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 1.54GB - 00:00:00
    13:20:43.109 WARN : Reading media info...
    13:20:43.258 INFO : [0x1]: Data, none (stpp) (default)
    13:21:10.290 WARN : Extracting TTML(mp4) subtitle...
    13:21:10.809 INFO : Binary merging...
    13:21:10.812 WARN : ep_02.copy.mp4
    13:21:10.812 WARN : ep_02.nl.srt
    13:21:10.812 WARN : Muxing to ep_02.MUX.mp4
    13:21:11.000 WARN : [h264 @ 0x13e904950] top block unavailable for requested
    intra mode -1
    13:21:11.000 WARN : [h264 @ 0x13e904950] error while decoding MB 0 0, bytestream
    25804
    13:21:11.008 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0x13e904080] Incorrect number of
    samples in encryption info
    13:21:11.008 WARN :
    /Users/zhiyun/Downloads/N_m3u8DL-RE_Beta_osx-arm64/ep_02.copy.mp4: Invalid data
    found when processing input
    13:21:11.016 WARN : Cleaning files...
    13:21:11.028 INFO : Done
    Code:
    PSSH: AAAAT3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAC8iJ3BsLWI0YTVmZmQ2LTBlZDktNDFhNi1iOGVjLTVlYTgyZDYzYTNjNEjj3JWbBg==
    Code:
    mpd_url: https://remix.vrtcdn.be/content/vod/pl-b4a5ffd6-0ed9-41a6-b8ec-5ea82d63a3c4/pl-b4a5ffd6-0ed9-41a6-b8ec-5ea82d63a3c4_drm_67460275-af84-4dbf-8130-1abf8cd2e7f5.ism/.mpd
    Code:
    --key 800840d1f5eb8a344a020c01d41469d7:8a3385a9fe2b439ace70b6117175d2cf
    and feed all info to N_m3u8DL-RE.exe

    Code:
    N_m3u8DL-RE.exe --auto-select --save-name "set anyname here" "https://remix.vrtcdn.be/content/vod/pl-b4a5ffd6-0ed9-41a6-b8ec-5ea82d63a3c4/pl-b4a5ffd6-0ed9-41a6-b8ec-5ea82d63a3c4_drm_67460275-af84-4dbf-8130-1abf8cd2e7f5.ism/.mpd" --tmp-dir tmp --key 800840d1f5eb8a344a020c01d41469d7:8a3385a9fe2b439ace70b6117175d2cf -M format=mkv:muxer=mkvmerge
    Quote Quote  
  4. Thank you for your help! Now I got some issue while trying extract subtitle from the video, could you please help me check with it?

    The subtitle worked well in my video player but when I extracted it the size of the srt/vtt file was only 1kb containing about 10 sentences. I did some search on google but it seemed that nobody got similar problem. Thank you again in advance!


    zhiyun@ZhiyuntekiMacBook-Pro N_m3u8DL-RE_Beta_osx-arm64 % ffprobe -v error -of json ep_01.mp4 -of json -show_entries "stream=indextream_tags=language" -select_streams s
    {
    "programs": [

    ],
    "streams": [
    {
    "index": 1,
    "tags": {
    "language": "nld"
    }
    }
    ]
    }
    zhiyun@ZhiyuntekiMacBook-Pro N_m3u8DL-RE_Beta_osx-arm64 % ffmpeg -i ep_01.mp4 -map "0:1" output.nld.srt
    ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers
    built with Apple clang version 14.0.0 (clang-1400.0.29.202)
    configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.1.2_4 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon
    libavutil 57. 28.100 / 57. 28.100
    libavcodec 59. 37.100 / 59. 37.100
    libavformat 59. 27.100 / 59. 27.100
    libavdevice 59. 7.100 / 59. 7.100
    libavfilter 8. 44.100 / 8. 44.100
    libswscale 6. 7.100 / 6. 7.100
    libswresample 4. 7.100 / 4. 7.100
    libpostproc 56. 6.100 / 56. 6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ep_01.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    date : 2023-02-04T09:23:59.5705190-08:00
    encoder : Lavf59.27.100
    Duration: 00:39:33.23, start: 0.000000, bitrate: 4999 kb/s
    Stream #0:0[0x1](und): Video: h264 (High) (avc3 / 0x33637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 4995 kb/s, 50 fps, 50 tbr, 19200 tbn (default)
    Metadata:
    handler_name : VideoHandler
    vendor_id : [0][0][0][0]
    Stream #0:1[0x2](nld): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
    Metadata:
    handler_name : SubtitleHandler
    Output #0, srt, to 'output.nld.srt':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    date : 2023-02-04T09:23:59.5705190-08:00
    encoder : Lavf59.27.100
    Stream #0:0(nld): Subtitle: subrip (default)
    Metadata:
    handler_name : SubtitleHandler
    encoder : Lavc59.37.100 srt
    Stream mapping:
    Stream #0:1 -> #0:0 (mov_text (native) -> subrip (srt))
    Press [q] to stop, [?] for help
    size= 1kB time=00:36:09.45 bitrate= 0.0kbits/s speed=4.11e+05x
    video:0kB audio:0kB subtitle:1kB other streams:0kB global headers:0kB muxing overhead: 92.005608%
    Quote Quote  
  5. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    here nl subtitles
    Image Attached Files
    Quote Quote  
  6. Originally Posted by iamghost View Post
    here nl subtitles
    thanks sir, but I need subtitles for all 6 episodes.. could you please do me a favor?

    keys

    ep1
    800840d1f5eb8a344a020c01d41469d7:8a3385a9fe2b439ac e70b6117175d2cf

    ep2
    2b72b3a79b0bd9b6a19fc34dde309a76:5a60993f460e07e76 f9d9831914be3aa

    ep3
    b5539c2e8791345374a610cc8048bdb2:40bc7c1d88faa32f6 f4603ac39c6cd0a

    ep4
    579271d0396af256e948111854269866:16698cbc22fede903 fa43714174fd4a8

    ep5
    e535293a74d0d1011cb7479c76b6561f:b11362c251fd35047 aef172852a44243

    ep6
    63848f63c57220115759c846e151344f:9eddebc7a9f8767f6 e8e4bf334e9456e

    mpds

    ep1
    https://remix.vrtcdn.be/content/vod/pl-b4a5ffd6-0ed9-41a6-b8ec-5ea82d63a3c4/pl-b4a5ffd...2e7f5.ism/.mpd

    ep2
    https://remix.vrtcdn.be/content/vod/pl-bd8576e3-2a2d-4cdc-a6d1-be99f79949cb/pl-bd8576e...dacb7.ism/.mpd

    ep3
    https://remix.vrtcdn.be/content/vod/pl-317b1481-bcf0-48b8-8e23-ff8edf3db9c2/pl-317b148...8b27b.ism/.mpd

    ep4
    https://remix.vrtcdn.be/content/vod/pl-26121d99-c392-4a4b-9ddd-410d3d9c0e38/pl-26121d9...371e9.ism/.mpd

    ep5
    https://remix.vrtcdn.be/content/vod/pl-ff888cb0-aa4e-4ffc-b356-30686292bbdc/pl-ff888cb...be6f9.ism/.mpd

    ep6
    https://remix.vrtcdn.be/content/vod/pl-3529fd11-7709-41bd-a4db-386a63f1823e/pl-3529fd1...53261.ism/.mpd
    Quote Quote  
  7. Originally Posted by iamghost View Post
    here nl subtitles
    I checked this subtitle I found there were also some sentences missing.

    for example the timestamp jumps from 6' to 13'

    18
    00:06:08,613
    00:06:10,453
    op de spelers en de staf.
    on the players and staff.Edit Subtitle
    19
    00:13:18,693
    00:13:22,733
    Dat Casteels er in de jeugdselecties
    op elk vlak boven uitsteekt,
    That Casteels excels
    in every area in the youth selections,


    Really weird. It does work well in media player...
    Quote Quote  
  8. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    you can download subtitles only no key need it not encrypt

    yt-dlp --allow-u --write-sub --skip-download "MPD URL"

    subtitle edit to save srt file and it can remove formatting
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!