VideoHelp Forum




+ Reply to Thread
Results 1 to 16 of 16
  1. Hi everyone. I'm trying to download and decrypt a video I paid for on Weverse.

    I have the MPD address and inputting that into the simple GUI of N_m3u8DL-CLI yields the video and audio files separately but I cannot play them due to DRM.

    Using the WidevineProxy2 Chrome extension, I was able to get the decryption keys, but I am not sure where to go from here. There seem to be multiple keys listed in the Keys section.

    Code:
    --key ae96ff73e80a4fe3dd2624197cf7d253:6ee2d0e20838443bbc11f01fcbd6da6e --key e144d6b2f1e2e7cb9e30b8d4ef688905:413530b077f9ad5045dc1b4bc209550f --key 4078c3cefc6c075560442e995d66aef2:218c19435dd20222195f91ae8044b198 --key a351c5b7ca6d83e621c24033aafca534:e83eb28f99e57ae824791925de81b066 --key 98e5f935fe968475f0ef40a07dba4607:c3938a6edc46ba1b2a789ad7145ee45b
    Putting that entire string into the "SetKEY" section of the N_m3u8DL-CLI simple GUI does not seem to work, nor does using one of those keys or one of the keys with the : removed.

    WidevineProxy2 also has a cmd at the bottom which gave me this:

    Code:
    N_m3u8DL-RE "ADDRESSHERE" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" -H "accept: application/xml" -H "DNT: 1" -H "Origin: https://weverse.io" -H "Referer: https://weverse.io/" -H "Cookie: NNB=AIJ6OPFBXW2WS" --key ae96ff73e80a4fe3dd2624197cf7d253:6ee2d0e20838443bbc11f01fcbd6da6e --key e144d6b2f1e2e7cb9e30b8d4ef688905:413530b077f9ad5045dc1b4bc209550f --key 4078c3cefc6c075560442e995d66aef2:218c19435dd20222195f91ae8044b198 --key a351c5b7ca6d83e621c24033aafca534:e83eb28f99e57ae824791925de81b066 --key 98e5f935fe968475f0ef40a07dba4607:c3938a6edc46ba1b2a789ad7145ee45b --use-shaka-packager -M format=mkv
    Note that the address in the cmd it spit out which I've redacted is different from the MPD address that I was able to download from but not decrypt.

    I tried inputting this straight into the N_m3u8DL-CLI command line but it just closes the window and nothing happens.

    I know it says to only ask for help with videos that everyone can view but recent posts here seem to asking for general help, which is what I am hoping to get. I believe I have all the elements needed to download and decrypt the video but I do not know how to put things together to get them to work. While I have maybe above average computer skills, I am not well versed in coding or command lines so I hope you will all be kind to me. Please let me know if I need to download/install anything extra. I have N_m3u8DL-CLI sitting in a folder on my desktop, Shaka packager installed via prebuilt binary, and a friend helped me install Python, Widevine, NPM, and pywidevine (used when compiling the wdv file for WidevineProxy2). In my N_m3u8DL-CLI folder, aside from the N_m3u8DL-CLI command line and simple GUI exe files, the other files inside are ffmpeg.exe, mkvmerge.exe, and mp4decrypt.exe.

    Thanks in advance.
    Quote Quote  
  2. Originally Posted by Goku73 View Post
    Thank you so much!! I had to use the MPD address instead of the one that WidevineProxy2 spit out in the cmd, but using N_m3u8DL-RE it was able to download and seemingly decrypt. My problem now is that the merged file at the end is only 1KB when during the download process it downloaded close to 16GB.

    Here is the log. Any ideas why the merged file is not as it should be?

    Code:
    C:\Users\USER\Desktop\MPD Download>N_m3u8DL-RE "MPDADDRESS.mpd" -H "Cookie: NNB=AIJ6OPFBXW2WS" -H "DNT: 1" -H "Origin: https://weverse.io" -H "Referer: https://weverse.io/" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" -H "accept: application/xml" --key ae96ff73e80a4fe3dd2624197cf7d253:6ee2d0e20838443bbc11f01fcbd6da6e --key e144d6b2f1e2e7cb9e30b8d4ef688905:413530b077f9ad5045dc1b4bc209550f --key 4078c3cefc6c075560442e995d66aef2:218c19435dd20222195f91ae8044b198 --key a351c5b7ca6d83e621c24033aafca534:e83eb28f99e57ae824791925de81b066 --key 98e5f935fe968475f0ef40a07dba4607:c3938a6edc46ba1b2a789ad7145ee45b -M format=mkv
    12:21:17.589 INFO : N_m3u8DL-RE (Beta version) 20241203
    12:21:17.593 INFO : Loading URL: MPDADDRESS.mpd
    12:21:17.712 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    12:21:17.712 INFO : Parsing streams...
    12:21:17.745 INFO : New version detected! v0.5.1-beta
    12:21:17.789 WARN : Writing meta json
    12:21:17.821 INFO : Extracted, there are 9 streams, with 8 basic streams, 1 audio streams, 0 subtitle streams
    12:21:17.822 INFO : Vid *CENC 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | 2277 Segments | Main | ~02h31m46s
    12:21:17.822 INFO : Vid *CENC 2560x1440 | 12892 Kbps | 2 | 23.976 | avc1.640032 | 2277 Segments | Main | ~02h31m46s
    12:21:17.823 INFO : Vid *CENC 1920x1080 | 8153 Kbps | 3 | 23.976 | avc1.640028 | 2277 Segments | Main | ~02h31m46s
    12:21:17.824 INFO : Vid *CENC 1280x720 | 4910 Kbps | 4 | 23.976 | avc1.4d401f | 2277 Segments | Main | ~02h31m46s
    12:21:17.824 INFO : Vid *CENC 854x480 | 3489 Kbps | 5 | 23.976 | avc1.4d401e | 2277 Segments | Main | ~02h31m46s
    12:21:17.825 INFO : Vid *CENC 640x360 | 2593 Kbps | 6 | 23.976 | avc1.42c01e | 2277 Segments | Main | ~02h31m46s
    12:21:17.826 INFO : Vid *CENC 480x270 | 873 Kbps | 7 | 23.976 | avc1.42c015 | 2277 Segments | Main | ~02h31m46s
    12:21:17.827 INFO : Vid *CENC 256x144 | 193 Kbps | 8 | 23.976 | avc1.42c00c | 2277 Segments | Main | ~02h31m46s
    12:21:17.827 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    12:21:25.526 INFO : Parsing streams...
    12:21:25.531 INFO : Selected streams:
    12:21:25.532 INFO : Vid *CENC 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | 2277 Segments | Main | ~02h31m46s
    12:21:25.533 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    12:21:25.533 WARN : Writing meta json
    12:21:25.571 INFO : Save Name: stream_2026-03-15_12-21-17
    12:21:25.572 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    12:21:25.573 INFO : Start downloading...Vid 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | Main
    12:21:25.592 WARN : Type: cenc
    12:21:25.593 WARN : PSSH(WV):
    EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJ
    GgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    12:21:25.593 WARN : KID: 2d27cdae7b52037363d373380def6198
    12:21:25.594 WARN : Reading media info...
    12:21:25.608 INFO : NaN: Video, h264 (avc1), 3840x2160
    12:26:23.055 INFO : Binary merging...
    12:26:40.411 WARN : Type: cenc
    12:26:40.412 WARN : PSSH(WV):
    EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJ
    GgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==0/100 0.00%       - - --:--:--
    12:26:40.413 WARN : KID: 2d27cdae7b52037363d373380def6198
    12:26:40.414 INFO : Decrypting using MP4DECRYPT...
    12:26:40.415 INFO : Start downloading...Aud 0 | 198 Kbps | mp4a.40.2 | 2CH
    12:26:40.541 WARN : Type: cenc
    12:26:40.542 WARN : PSSH(WV):
    EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJ
    GgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==/2278 0.00%       - 0.00Bps --:--:-- |
    12:26:40.543 WARN : KID: 9501f230528ed5a294c4e168205e9649
    12:26:40.544 WARN : Reading media info...
    12:26:40.616 INFO : NaN: Audio, aac (mp4a), 191 kb/s
    12:26:48.594 INFO : Binary merging...
    12:26:49.548 WARN : Type: cenc
    12:26:49.549 WARN : PSSH(WV):
    EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJ
    GgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==278 100.00% 213.89MB - 00:00:00
    12:26:49.550 WARN : KID: 9501f230528ed5a294c4e168205e9649
    12:26:49.551 INFO : Decrypting using MP4DECRYPT...
    12:26:49.734 WARN : stream_2026-03-15_12-21-17.mp4
    12:26:49.735 WARN : stream_2026-03-15_12-21-17.m4a
    12:26:49.736 WARN : Muxing to stream_2026-03-15_12-21-17.MUX.mkv
    12:26:50.369 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 024b7140] Incorrect number of samples in encryption info
    12:26:50.370 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 024b7140] Could not find codec parameters for stream 0 (Video: h264 (avc1
    / 0x31637661), none, 3840x2160, 14709 kb/s): unspecified pixel format
    12:26:50.370 WARN : Consider increasing the value for the 'analyzeduration' and 'probesize' options
    12:26:50.770 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 04670440] Incorrect number of samples in encryption info
    12:26:50.773 WARN :     Last message repeated 1 times
    12:26:50.773 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 024b7140] Incorrect number of samples in encryption info
    12:26:50.774 WARN : C:\Users\USER\Desktop\MPD Download\stream_2026-03-15_12-21-17.mp4: Invalid data found when
    processing input
    12:26:50.774 WARN : C:\Users\USER\Desktop\MPD Download\stream_2026-03-15_12-21-17.m4a: Invalid data found when
    processing input
    12:26:50.946 WARN : Cleaning files...
    12:26:51.774 WARN : Rename to stream_2026-03-15_12-21-17.mkv
    12:26:51.775 INFO : Done
    Quote Quote  
  3. By the way, sorry – I sent you the link for the old version; you’d better update it: https://github.com/nilaoda/N_m3u8DL-RE/releases/tag/v0.5.1-beta

    Then try adding this command:

    --check-segments-count false

    If you're still having the same problem, try a lower resolution

    and let me know
    Quote Quote  
  4. Originally Posted by Goku73 View Post
    By the way, sorry – I sent you the link for the old version; you’d better update it: https://github.com/nilaoda/N_m3u8DL-RE/releases/tag/v0.5.1-beta

    Then try adding this command:

    --check-segments-count false

    If you're still having the same problem, try a lower resolution

    and let me know
    Hi. Thank you. I used the updated version and added in the command, but unfortunately it's still the same. I get a 1kb mkv file.

    Code:
    Task CommandLine: N_m3u8DL-RE ADDRESS.MPD -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" -H "accept: application/xml" -H "DNT: 1" -H "Origin: https://weverse.io/" -H "Referer: https://weverse.io/" -H "Cookie: NNB=AIJ6OPFBXW2WS; SRT30=1773518241" --key ae96ff73e80a4fe3dd2624197cf7d253:6ee2d0e20838443bbc11f01fcbd6da6e --key e144d6b2f1e2e7cb9e30b8d4ef688905:413530b077f9ad5045dc1b4bc209550f --key 4078c3cefc6c075560442e995d66aef2:218c19435dd20222195f91ae8044b198 --key a351c5b7ca6d83e621c24033aafca534:e83eb28f99e57ae824791925de81b066 --key 98e5f935fe968475f0ef40a07dba4607:c3938a6edc46ba1b2a789ad7145ee45b --use-shaka-packager -M format=mkv --check-segments-count false
    
    15:40:41.497 INFO : N_m3u8DL-RE (Beta version) 20251029
    15:40:41.499 EXTRA: ffmpeg => C:\Users\USER\Desktop\MPD_Download\ffmpeg.exe
    15:40:41.499 EXTRA: shaka-packager => C:\Users\USER\Desktop\MPD_Download\shaka-packager.exe
    15:40:41.500 EXTRA: User-Defined Header => user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
    15:40:41.500 EXTRA: User-Defined Header => accept: application/xml
    15:40:41.500 EXTRA: User-Defined Header => dnt: 1
    15:40:41.500 EXTRA: User-Defined Header => origin: https://weverse.io/
    15:40:41.500 EXTRA: User-Defined Header => referer: https://weverse.io/
    15:40:41.501 EXTRA: User-Defined Header => cookie: NNB=AIJ6OPFBXW2WS; SRT30=1773518241
    15:40:41.501 INFO : Loading URL: ADDRESS.MPD
    15:40:41.544 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    15:40:41.545 INFO : Parsing streams...
    15:40:41.621 WARN : Writing meta json
    15:40:41.653 INFO : Extracted, there are 9 streams, with 8 basic streams, 1 audio streams, 0 subtitle streams
    15:40:41.653 INFO : Vid *CENC 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | 2277 Segments | Main | ~02h31m46s
    15:40:41.654 INFO : Vid *CENC 2560x1440 | 12892 Kbps | 2 | 23.976 | avc1.640032 | 2277 Segments | Main | ~02h31m46s
    15:40:41.655 INFO : Vid *CENC 1920x1080 | 8153 Kbps | 3 | 23.976 | avc1.640028 | 2277 Segments | Main | ~02h31m46s
    15:40:41.656 INFO : Vid *CENC 1280x720 | 4910 Kbps | 4 | 23.976 | avc1.4d401f | 2277 Segments | Main | ~02h31m46s
    15:40:41.656 INFO : Vid *CENC 854x480 | 3489 Kbps | 5 | 23.976 | avc1.4d401e | 2277 Segments | Main | ~02h31m46s
    15:40:41.657 INFO : Vid *CENC 640x360 | 2593 Kbps | 6 | 23.976 | avc1.42c01e | 2277 Segments | Main | ~02h31m46s
    15:40:41.658 INFO : Vid *CENC 480x270 | 873 Kbps | 7 | 23.976 | avc1.42c015 | 2277 Segments | Main | ~02h31m46s
    15:40:41.658 INFO : Vid *CENC 256x144 | 193 Kbps | 8 | 23.976 | avc1.42c00c | 2277 Segments | Main | ~02h31m46s
    15:40:41.659 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    15:40:44.431 INFO : Parsing streams...
    15:40:44.436 INFO : Selected streams:
    15:40:44.437 INFO : Vid *CENC 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | 2277 Segments | Main | ~02h31m46s
    15:40:44.438 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    15:40:44.438 WARN : Writing meta json
    15:40:44.450 INFO : Save Name: stream_2026-03-16_15-40-41
    15:40:44.450 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    15:40:44.451 INFO : Start downloading...Vid 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | Main
    15:40:44.479 WARN : Type: cenc
    15:40:44.479 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:40:44.480 WARN : KID: 2d27cdae7b52037363d373380def6198
    15:40:44.480 WARN : Reading media info...
    15:40:44.495 INFO : NaN: Video, h264 (avc1), 3840x2160
    15:46:07.050 INFO : Binary merging...
    15:46:33.940 WARN : Type: cenc
    15:46:33.941 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:46:33.942 WARN : KID: 2d27cdae7b52037363d373380def6198
    15:46:33.943 INFO : Decrypting using SHAKA_PACKAGER...
    15:46:33.945 INFO : Start downloading...Aud 0 | 198 Kbps | mp4a.40.2 | 2CH
    15:46:35.379 WARN : Type: cenc
    15:46:35.380 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:46:35.380 WARN : KID: 9501f230528ed5a294c4e168205e9649
    15:46:35.381 WARN : Reading media info...
    15:46:35.449 INFO : NaN: Audio, aac (mp4a), 191 kb/s
    15:48:17.347 INFO : Binary merging...
    15:48:17.971 WARN : Type: cenc
    15:48:17.972 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:48:17.973 WARN : KID: 9501f230528ed5a294c4e168205e9649
    15:48:17.974 INFO : Decrypting using SHAKA_PACKAGER...
    15:48:17.979 WARN : stream_2026-03-16_15-40-41.mp4
    15:48:17.979 WARN : stream_2026-03-16_15-40-41.m4a
    15:48:17.980 WARN : Muxing to stream_2026-03-16_15-40-41.MUX.mkv
    15:48:18.393 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 02867140] Incorrect number of samples in encryption info
    15:48:18.393 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 02867140] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 3840x2160, 14709 kb/s): unspecified pixel format
    15:48:18.394 WARN : Consider increasing the value for the 'analyzeduration' and 'probesize' options
    15:48:18.777 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0493c040] Incorrect number of samples in encryption info
    15:48:18.780 WARN :     Last message repeated 1 times
    15:48:18.781 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 02867140] Incorrect number of samples in encryption info
    15:48:18.781 WARN : C:\Users\USER\Desktop\MPD_Download\stream_2026-03-16_15-40-41.mp4: Invalid data found when processing input
    15:48:18.782 WARN : C:\Users\USER\Desktop\MPD_Download\stream_2026-03-16_15-40-41.m4a: Invalid data found when processing input
    15:48:18.950 WARN : Cleaning files...
    15:48:20.172 WARN : Rename to stream_2026-03-16_15-40-41.mkv
    15:48:20.173 INFO : Done
    Same thing when I chose a lower resolution. (Changed delete after done to false here.)

    Code:
    Task CommandLine: N_m3u8DL-RE ADDRESS.MPD -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" -H "accept: application/xml" -H "DNT: 1" -H "Origin: https://weverse.io/" -H "Referer: https://weverse.io/" -H "Cookie: NNB=AIJ6OPFBXW2WS; SRT30=1773518241" --key ae96ff73e80a4fe3dd2624197cf7d253:6ee2d0e20838443bbc11f01fcbd6da6e --key e144d6b2f1e2e7cb9e30b8d4ef688905:413530b077f9ad5045dc1b4bc209550f --key 4078c3cefc6c075560442e995d66aef2:218c19435dd20222195f91ae8044b198 --key a351c5b7ca6d83e621c24033aafca534:e83eb28f99e57ae824791925de81b066 --key 98e5f935fe968475f0ef40a07dba4607:c3938a6edc46ba1b2a789ad7145ee45b --use-shaka-packager -M format=mkv --check-segments-count false --del-after-done false
    
    15:52:31.311 INFO : N_m3u8DL-RE (Beta version) 20251029
    15:52:31.313 EXTRA: ffmpeg => C:\Users\USER\Desktop\MPD_Download\ffmpeg.exe
    15:52:31.314 EXTRA: shaka-packager => C:\Users\USER\Desktop\MPD_Download\shaka-packager.exe
    15:52:31.314 EXTRA: User-Defined Header => user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
    15:52:31.315 EXTRA: User-Defined Header => accept: application/xml
    15:52:31.315 EXTRA: User-Defined Header => dnt: 1
    15:52:31.315 EXTRA: User-Defined Header => origin: https://weverse.io/
    15:52:31.315 EXTRA: User-Defined Header => referer: https://weverse.io/
    15:52:31.315 EXTRA: User-Defined Header => cookie: NNB=AIJ6OPFBXW2WS; SRT30=1773518241
    15:52:31.315 INFO : Loading URL: ADDRESS.MPD
    15:52:31.379 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    15:52:31.379 INFO : Parsing streams...
    15:52:31.457 WARN : Writing meta json
    15:52:31.488 INFO : Extracted, there are 9 streams, with 8 basic streams, 1 audio streams, 0 subtitle streams
    15:52:31.489 INFO : Vid *CENC 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | 2277 Segments | Main | ~02h31m46s
    15:52:31.490 INFO : Vid *CENC 2560x1440 | 12892 Kbps | 2 | 23.976 | avc1.640032 | 2277 Segments | Main | ~02h31m46s
    15:52:31.491 INFO : Vid *CENC 1920x1080 | 8153 Kbps | 3 | 23.976 | avc1.640028 | 2277 Segments | Main | ~02h31m46s
    15:52:31.491 INFO : Vid *CENC 1280x720 | 4910 Kbps | 4 | 23.976 | avc1.4d401f | 2277 Segments | Main | ~02h31m46s
    15:52:31.492 INFO : Vid *CENC 854x480 | 3489 Kbps | 5 | 23.976 | avc1.4d401e | 2277 Segments | Main | ~02h31m46s
    15:52:31.493 INFO : Vid *CENC 640x360 | 2593 Kbps | 6 | 23.976 | avc1.42c01e | 2277 Segments | Main | ~02h31m46s
    15:52:31.493 INFO : Vid *CENC 480x270 | 873 Kbps | 7 | 23.976 | avc1.42c015 | 2277 Segments | Main | ~02h31m46s
    15:52:31.494 INFO : Vid *CENC 256x144 | 193 Kbps | 8 | 23.976 | avc1.42c00c | 2277 Segments | Main | ~02h31m46s
    15:52:31.495 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    15:52:48.510 INFO : Parsing streams...
    15:52:48.516 INFO : Selected streams:
    15:52:48.516 INFO : Vid *CENC 1920x1080 | 8153 Kbps | 3 | 23.976 | avc1.640028 | 2277 Segments | Main | ~02h31m46s
    15:52:48.517 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    15:52:48.517 WARN : Writing meta json
    15:52:48.529 INFO : Save Name: stream_2026-03-16_15-52-31
    15:52:48.530 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    15:52:48.531 INFO : Start downloading...Vid 1920x1080 | 8153 Kbps | 3 | 23.976 | avc1.640028 | Main
    15:52:49.550 WARN : Type: cenc
    15:52:49.551 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:52:49.552 WARN : KID: 4d4cf7b733df50368d67d97ac5e80bba
    15:52:49.552 WARN : Reading media info...
    15:52:49.568 INFO : NaN: Video, h264 (avc1), 1920x1080
    15:55:49.920 INFO : Binary merging...
    15:55:52.276 WARN : Type: cenc
    15:55:52.277 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:55:52.278 WARN : KID: 4d4cf7b733df50368d67d97ac5e80bba
    15:55:52.279 INFO : Decrypting using SHAKA_PACKAGER...
    15:55:52.280 INFO : Start downloading...Aud 0 | 198 Kbps | mp4a.40.2 | 2CH
    15:55:52.367 WARN : Type: cenc
    15:55:52.368 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:55:52.369 WARN : KID: 9501f230528ed5a294c4e168205e9649
    15:55:52.369 WARN : Reading media info...
    15:55:52.386 INFO : NaN: Audio, aac (mp4a), 191 kb/s
    15:55:58.350 INFO : Binary merging...
    15:55:58.632 WARN : Type: cenc
    15:55:58.633 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    15:55:58.633 WARN : KID: 9501f230528ed5a294c4e168205e9649
    15:55:58.634 INFO : Decrypting using SHAKA_PACKAGER...
    15:55:58.676 WARN : stream_2026-03-16_15-52-31.mp4
    15:55:58.677 WARN : stream_2026-03-16_15-52-31.m4a
    15:55:58.677 WARN : Muxing to stream_2026-03-16_15-52-31.MUX.mkv
    15:55:58.981 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 02887140] Incorrect number of samples in encryption info
    15:55:58.982 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 02887140] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1920x1080, 3653 kb/s): unspecified pixel format
    15:55:58.982 WARN : Consider increasing the value for the 'analyzeduration' and 'probesize' options
    15:55:59.355 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0495c040] Incorrect number of samples in encryption info
    15:55:59.357 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 02887140] Incorrect number of samples in encryption info
    15:55:59.357 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0495c040] Incorrect number of samples in encryption info
    15:55:59.357 WARN : C:\Users\USER\Desktop\MPD_Download\stream_2026-03-16_15-52-31.mp4: Invalid data found when processing input
    15:55:59.358 WARN : C:\Users\USER\Desktop\MPD_Download\stream_2026-03-16_15-52-31.m4a: Invalid data found when processing input
    15:55:59.598 WARN : Cleaning files...
    15:56:00.037 WARN : Rename to stream_2026-03-16_15-52-31.mkv
    15:56:00.038 INFO : Done
    And same thing when I chose the lowest possible video resolution.

    Code:
    Task CommandLine: N_m3u8DL-RE ADDRESS.MPD -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36" -H "accept: application/xml" -H "DNT: 1" -H "Origin: https://weverse.io/" -H "Referer: https://weverse.io/" -H "Cookie: NNB=AIJ6OPFBXW2WS; SRT30=1773518241" --key ae96ff73e80a4fe3dd2624197cf7d253:6ee2d0e20838443bbc11f01fcbd6da6e --key e144d6b2f1e2e7cb9e30b8d4ef688905:413530b077f9ad5045dc1b4bc209550f --key 4078c3cefc6c075560442e995d66aef2:218c19435dd20222195f91ae8044b198 --key a351c5b7ca6d83e621c24033aafca534:e83eb28f99e57ae824791925de81b066 --key 98e5f935fe968475f0ef40a07dba4607:c3938a6edc46ba1b2a789ad7145ee45b --use-shaka-packager -M format=mkv --check-segments-count false --del-after-done false
    
    16:00:13.956 INFO : N_m3u8DL-RE (Beta version) 20251029
    16:00:13.957 EXTRA: ffmpeg => C:\Users\USER\Desktop\MPD_Download\ffmpeg.exe
    16:00:13.958 EXTRA: shaka-packager => C:\Users\USER\Desktop\MPD_Download\shaka-packager.exe
    16:00:13.958 EXTRA: User-Defined Header => user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
    16:00:13.958 EXTRA: User-Defined Header => accept: application/xml
    16:00:13.958 EXTRA: User-Defined Header => dnt: 1
    16:00:13.958 EXTRA: User-Defined Header => origin: https://weverse.io/
    16:00:13.959 EXTRA: User-Defined Header => referer: https://weverse.io/
    16:00:13.959 EXTRA: User-Defined Header => cookie: NNB=AIJ6OPFBXW2WS; SRT30=1773518241
    16:00:13.959 INFO : Loading URL: ADDRESS.MPD
    16:00:14.019 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    16:00:14.020 INFO : Parsing streams...
    16:00:14.096 WARN : Writing meta json
    16:00:14.128 INFO : Extracted, there are 9 streams, with 8 basic streams, 1 audio streams, 0 subtitle streams
    16:00:14.129 INFO : Vid *CENC 3840x2160 | 26150 Kbps | 1 | 23.976 | avc1.640033 | 2277 Segments | Main | ~02h31m46s
    16:00:14.130 INFO : Vid *CENC 2560x1440 | 12892 Kbps | 2 | 23.976 | avc1.640032 | 2277 Segments | Main | ~02h31m46s
    16:00:14.130 INFO : Vid *CENC 1920x1080 | 8153 Kbps | 3 | 23.976 | avc1.640028 | 2277 Segments | Main | ~02h31m46s
    16:00:14.131 INFO : Vid *CENC 1280x720 | 4910 Kbps | 4 | 23.976 | avc1.4d401f | 2277 Segments | Main | ~02h31m46s
    16:00:14.132 INFO : Vid *CENC 854x480 | 3489 Kbps | 5 | 23.976 | avc1.4d401e | 2277 Segments | Main | ~02h31m46s
    16:00:14.132 INFO : Vid *CENC 640x360 | 2593 Kbps | 6 | 23.976 | avc1.42c01e | 2277 Segments | Main | ~02h31m46s
    16:00:14.133 INFO : Vid *CENC 480x270 | 873 Kbps | 7 | 23.976 | avc1.42c015 | 2277 Segments | Main | ~02h31m46s
    16:00:14.134 INFO : Vid *CENC 256x144 | 193 Kbps | 8 | 23.976 | avc1.42c00c | 2277 Segments | Main | ~02h31m46s
    16:00:14.134 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    16:00:24.636 INFO : Parsing streams...
    16:00:24.641 INFO : Selected streams:
    16:00:24.641 INFO : Vid *CENC 256x144 | 193 Kbps | 8 | 23.976 | avc1.42c00c | 2277 Segments | Main | ~02h31m46s
    16:00:24.642 INFO : Aud *CENC 0 | 198 Kbps | mp4a.40.2 | 2CH | 2277 Segments | ~02h31m46s
    16:00:24.642 WARN : Writing meta json
    16:00:24.650 INFO : Save Name: stream_2026-03-16_16-00-14
    16:00:24.651 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    16:00:24.653 INFO : Start downloading...Vid 256x144 | 193 Kbps | 8 | 23.976 | avc1.42c00c | Main
    16:00:26.139 WARN : Type: cenc
    16:00:26.139 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    16:00:26.140 WARN : KID: c09a2ee49f83cef0bba4963f2e5b00fa
    16:00:26.141 WARN : Reading media info...
    16:00:26.157 INFO : NaN: Video, h264 (avc1), 256x144
    16:02:04.872 INFO : Binary merging...
    16:02:05.062 WARN : Type: cenc
    16:02:05.063 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    16:02:05.064 WARN : KID: c09a2ee49f83cef0bba4963f2e5b00fa
    16:02:05.065 INFO : Decrypting using SHAKA_PACKAGER...
    16:02:05.066 INFO : Start downloading...Aud 0 | 198 Kbps | mp4a.40.2 | 2CH
    16:02:05.075 WARN : Type: cenc
    16:02:05.076 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    16:02:05.077 WARN : KID: 9501f230528ed5a294c4e168205e9649
    16:02:05.078 WARN : Reading media info...
    16:02:05.095 INFO : NaN: Audio, aac (mp4a), 191 kb/s
    16:02:09.261 INFO : Binary merging...
    16:02:09.505 WARN : Type: cenc
    16:02:09.506 WARN : PSSH(WV): EhDAmi7kn4PO8Luklj8uWwD6EhBNTPe3M99QNo1n2XrF6Au6EhAtJ82ue1IDc2PTczgN72GYEhBchrl9Xxd1ThsIfUq9HtvDEhCVAfIwUo7VopTE4WggXpZJGgxpbmthZW50d29ya3MiJDAzQzFBOTRCODg4MEM2QTg2ODg3M0UxOENFQ0FBRTQ5OUY2NUjj3JWbBg==
    16:02:09.507 WARN : KID: 9501f230528ed5a294c4e168205e9649
    16:02:09.508 INFO : Decrypting using SHAKA_PACKAGER...
    16:02:09.510 WARN : stream_2026-03-16_16-00-14.mp4
    16:02:09.510 WARN : stream_2026-03-16_16-00-14.m4a
    16:02:09.510 WARN : Muxing to stream_2026-03-16_16-00-14.MUX.mkv
    16:02:09.807 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 028c7140] Incorrect number of samples in encryption info
    16:02:09.808 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 028c7140] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 256x144, 109 kb/s): unspecified pixel format
    16:02:09.809 WARN : Consider increasing the value for the 'analyzeduration' and 'probesize' options
    16:02:10.179 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0497c540] Incorrect number of samples in encryption info
    16:02:10.180 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 028c7140] Incorrect number of samples in encryption info
    16:02:10.181 WARN : [mov,mp4,m4a,3gp,3g2,mj2 @ 0497c540] Incorrect number of samples in encryption info
    16:02:10.181 WARN : C:\Users\USER\Desktop\MPD_Download\stream_2026-03-16_16-00-14.mp4: Invalid data found when processing input
    16:02:10.182 WARN : C:\Users\USER\Desktop\MPD_Download\stream_2026-03-16_16-00-14.m4a: Invalid data found when processing input
    16:02:10.347 WARN : Cleaning files...
    16:02:10.369 WARN : Rename to stream_2026-03-16_16-00-14.mkv
    16:02:10.370 INFO : Done
    Is there a way to disable MuxAfterDone? I looked at the readme and couldn't find a suitable parameter.

    I appreciate you taking the time to help me. Thank you again!
    Quote Quote  
  5. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    I look above your post, your cmd for n_m3u8dl-re, those keys you add is not match for video and audio KID so you fetch wrong keys.
    this correct KID...
    video - --key c09a2ee49f83cef0bba4963f2e5b00fa:####????????
    Audio - --key 9501f230528ed5a294c4e168205e9649:###???????
    Last edited by iamghost; 17th Mar 2026 at 06:38.
    Quote Quote  
  6. try downloading it without --use-shaka-packager. last time I ripped from weverse I remember that option causing me trouble. without that option it will use mp4decrypt for the decryption step which I've never had issues with.
    Quote Quote  
  7. Originally Posted by iamghost View Post
    I look above your post, your cmd for n_m3u8dl-re, those keys you add is not match for video and audio KID so you fetch wrong keys.
    this correct KID...
    video - --key c09a2ee49f83cef0bba4963f2e5b00fa:####????????
    Audio - --key 9501f230528ed5a294c4e168205e9649:###???????
    Hi. Thank you for replying. I used the WidewineProxy2 extension to get the keys. Is there any other method to retrieve the decryption keys or is there a reason why the extension is not giving me the correct keys? I've also tried the Firefox extension Widevine L3 Decrypter but the error message said it doesn't support Weverse.

    Originally Posted by djvu View Post
    try downloading it without --use-shaka-packager. last time I ripped from weverse I remember that option causing me trouble. without that option it will use mp4decrypt for the decryption step which I've never had issues with.
    I've done that too and it's the same, unfortunately. Can I ask what you used to figure out the decryption keys for Weverse? That could be the source of my issues. Thanks!
    Last edited by 10969; 17th Mar 2026 at 13:26.
    Quote Quote  
  8. Note that the address in the cmd it spit out which I've redacted is different from the MPD address that I was able to download from but not decrypt.
    The decryption keys provided by widevineproxy2 are for the MPD address you removed. Why did you remove it?
    Quote Quote  
  9. Originally Posted by Goku73 View Post
    Note that the address in the cmd it spit out which I've redacted is different from the MPD address that I was able to download from but not decrypt.
    The decryption keys provided by widevineproxy2 are for the MPD address you removed. Why did you remove it?
    Because the cmd doesn't work with the address that WidevineProxy2 shows. When I use the cmd exactly as the extension spits out, I get this error 10 times and then it stops. It doesn't download anything.

    Code:
    WARN : Response status code does not indicate success: 401 (Unauthorized). (1/10)
    With the direct MPD address that I used (and redacted from my posts because it is a paid video), it at least downloads. If you are gracious enough to try to help me privately through DM, I can give you the full cmd that Widevineproxy2 comes up with and the MPD address that I've been trying to download from. I found the MPD address that actually works from the network tab in developer tools.

    Thank you for your time.
    Quote Quote  
  10. Still need help if anyone is willing. TIA
    Quote Quote  
  11. Originally Posted by 10969 View Post
    Still need help if anyone is willing. TIA
    You know how to use widevineproxy and N_m3u8-RE. Just do the process, for sure you will be able to download the video.
    Quote Quote  
  12. Originally Posted by Asdfgf View Post
    You know how to use widevineproxy and N_m3u8-RE. Just do the process, for sure you will be able to download the video.
    If only it were that simple.

    As I've said, if I use the cmd that widevineproxy spits out, I get an error about it being unauthorized and I can't download the file. If I use the mpd address I found via web developer instead of the one widevineproxy gives me, the file downloads but cannot be decrypted.
    Quote Quote  
  13. ok so I decided to buy a membership again and test downloading from weverse myself to see if anything has changed since the last time I did. it's still very easy and straightforward as you'd expect. you already have the right tools and process but I'll reiterate it for you:

    1. use an extension to get all the decryption keys. I use vineless, but widevineproxy and playreadyproxy should work just the same.

    2. open the dev tools network tab, search for "stream.mpd" and copy that mpd url. ignore the url the proxy extension picks up, that one is just an api endpoint for retrieving keys and video info.

    3. download with n-m3u8dl-re, no other cookies or authentication required.

    Code:
    n-m3u8dl-re "https://g-aegis-naver.akamaized.net/weverse/...../stream.mpd" -M mkv --auto-select --key <key> --key <key> --key <key> ...
    so either you have the wrong mpd url or the wrong keys somehow, or maybe n-m3u8dl-re can't find your decryption program?

    I also ended up writing a python script to automate all this so if you're interested in that then send a pm and I can share and help you set it up.
    Quote Quote  
  14. Originally Posted by djvu View Post
    ok so I decided to buy a membership again and test downloading from weverse myself to see if anything has changed since the last time I did. it's still very easy and straightforward as you'd expect. you already have the right tools and process but I'll reiterate it for you:

    1. use an extension to get all the decryption keys. I use vineless, but widevineproxy and playreadyproxy should work just the same.
    Appreciate you taking the time to help me. I've never heard of Vineless. Will try that one and see if I have better luck.

    I will DM you too, if you don't mind. Thanks.
    Quote Quote  
  15. djvu was able to help me out and resolve my issues with their custom script. THANK YOU SO MUCHHHHHH!!!
    Quote Quote  



Similar Threads

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