VideoHelp Forum
+ Reply to Thread
Results 1 to 16 of 16
Thread
  1. Member
    Join Date
    Jan 2023
    Location
    Pakistan
    Search Comp PM
    I download lessons from the site class101 with yt-dlp, separately audio and video of course. On "cdrm-project.com" I write PSSH, license, headers and get a code like this "846f9aab3d31dbf14638919a64de5e28:a73aafc96708b102 30367a2161317c85". I saw on the forum that this is a kid and a key.
    Then using mp4decryptor, I decode the video and merge it with ffmpeg. Everything works perfectly. I repeated all the steps as in this video and usually it works as well
    https://drive.google.com/file/d/1tbFOGI_Je_-V9_ovwWLk-yT0zRfvckSB/view

    But sometime I don't know why, some videos can't be decrypted. And the error appears as below. The video is not decrypted and the resulting output is not played. And it has a very small size, about 1 mb. I tried to reload the page, check back later. Rebooted the laptop. Nothing changes. And the keys is the same as it was before. If necessary, I can share the link and login / password.

    Code:
    G:\[01Down]>mp4decrypt.exe --key 846f9aab3d31dbf14638919a64de5e28:a73aafc96708b10230367a2161317c85 1.mp4 3.mp4
    
    G:\[01Down]>mp4decrypt.exe --key 846f9aab3d31dbf14638919a64de5e28:a73aafc96708b10230367a2161317c85 2.mp4 4.mp4
    
    G:\[01Down]>ffmpeg.exe -i 3.mp4 -i 4.mp4 -c copy fin.mp4
    ffmpeg version 5.1.2-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
      configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
      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
    [h264 @ 00000209cb966b40] top block unavailable for requested intra mode -1
    [h264 @ 00000209cb966b40] error while decoding MB 0 0, bytestream 28200
    [h264 @ 00000209cb966b40] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3.mp4':
      Metadata:
        major_brand     : mp41
        minor_version   : 0
        compatible_brands: iso8isommp41dashavc1cmfc
        creation_time   : 2022-08-30T17:44:52.000000Z
      Duration: 00:40:25.59, start: 0.000000, bitrate: 466 kb/s
      Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 461 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn (default)
        Metadata:
          creation_time   : 2022-08-30T17:44:52.000000Z
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
          encoder         : AVC Coding
        Side data:
          unknown side data type 24 (754 bytes)
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '4.mp4':
      Metadata:
        major_brand     : mp41
        minor_version   : 0
        compatible_brands: iso8isommp41dashcmfc
        creation_time   : 2022-08-30T17:44:52.000000Z
      Duration: 00:40:25.64, start: -0.042667, bitrate: 118 kb/s
      Stream #1:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 116 kb/s (default)
        Metadata:
          creation_time   : 2022-08-30T17:44:52.000000Z
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
        Side data:
          unknown side data type 24 (754 bytes)
    Output #0, mp4, to 'fin.mp4':
      Metadata:
        major_brand     : mp41
        minor_version   : 0
        compatible_brands: iso8isommp41dashavc1cmfc
        encoder         : Lavf59.27.100
      Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 461 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn (default)
        Metadata:
          creation_time   : 2022-08-30T17:44:52.000000Z
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
          encoder         : AVC Coding
        Side data:
          unknown side data type 24 (754 bytes)
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 116 kb/s (default)
        Metadata:
          creation_time   : 2022-08-30T17:44:52.000000Z
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
        Side data:
          unknown side data type 24 (754 bytes)
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000209cb9edb00] Incorrect number of samples in encryption info
    4.mp4: Invalid data found when processing input
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000209cb9562c0] Incorrect number of samples in encryption info
    3.mp4: Invalid data found when processing input
    frame=   98 fps=0.0 q=-1.0 Lsize=     371kB time=00:00:03.16 bitrate= 958.0kbits/s speed=28.8x
    video:342kB audio:25kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.011676%
    Quote Quote  
  2. your files still seem protected, check your keys

    Code:
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000209cb9edb00] Incorrect number of samples in encryption info
    4.mp4: Invalid data found when processing input
    [mov,mp4,m4a,3gp,3g2,mj2 @ 00000209cb9562c0] Incorrect number of samples in encryption info
    3.mp4: Invalid data found when processing input
    frame=   98 fps=0.0 q=-1.0 Lsize=     371kB time=00:00:03.16 bitrate= 958.0kbits/s speed=28.8x
    video:342kB audio:25kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.011676%
    Quote Quote  
  3. Yeah, the keys cdrm gives you are probably wrong, due to some error in caching keys.
    Apply for getwvkeys.cc or get yourself WKS and CDM.
    Quote Quote  
  4. Member
    Join Date
    Jan 2023
    Location
    Pakistan
    Search Comp PM
    [ss]vegeta
    Hey, thank you very much. I appreciate you.
    Apply for getwvkeys.cc or get yourself WKS and CDM.
    I have Discord, but Discord won't accept my phone number. Discord doesn't send confirmation message.
    I've been trying to add my number to the discord for a long time, but it just doesn't work.
    Is there another way to get these things?
    Quote Quote  
  5. pm me the login if you just need the keys.
    Quote Quote  
  6. Originally Posted by andrewzhong View Post
    pm me the login if you just need the keys.
    already helped, I wrote him a semi-automatic script that he can download
    Quote Quote  
  7. Member
    Join Date
    Feb 2023
    Location
    lampung
    Search Comp PM
    Hi guys

    so I am a small artist student trying to learn art. IDM and other download managers would not work when I was trying to download class101 videos. I searched for several days on the internet and I am so happy that I found this thread.

    I will try to follow the steps in above video, however if I find difficulties is it okay to ask questions here? many thanks
    Quote Quote  
  8. Member
    Join Date
    Feb 2023
    Location
    lampung
    Search Comp PM
    I cannot seem to understand:
    1. where do you get main.exe?
    2. When opening Console tab, I cannot find init data at all (for PSSH). How do you surface this?
    Quote Quote  
  9. Originally Posted by gagaswift View Post
    I cannot seem to understand:
    1. where do you get main.exe?
    2. When opening Console tab, I cannot find init data at all (for PSSH). How do you surface this?
    1. Main.exe can be replaced by one of the following:
    • getwvkeys.cc
    • cdrm-project.com
    • WKS and CDM
    2. You need to install TamperMonkey add-on and add EME logger script to it.

    Spends a few days reading this forum to get the hang of stuff like these.
    Quote Quote  
  10. Member
    Join Date
    Feb 2023
    Location
    lampung
    Search Comp PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by gagaswift View Post
    I cannot seem to understand:
    1. where do you get main.exe?
    2. When opening Console tab, I cannot find init data at all (for PSSH). How do you surface this?
    1. Main.exe can be replaced by one of the following:
    • getwvkeys.cc
    • cdrm-project.com
    • WKS and CDM
    2. You need to install TamperMonkey add-on and add EME logger script to it.

    Spends a few days reading this forum to get the hang of stuff like these.
    Thank you Vegeta! I will follow your instruction and update here.
    Meanwhile yesterday I learned that I can also download the video using HLS downloader. It's a great time saver!
    Quote Quote  
  11. Member
    Join Date
    Mar 2023
    Location
    Romania
    Search Comp PM
    So, recently class101 switched from Widevine to FairPlay DRM.
    Is there anyway to decrypt the classes now?
    Thank you!
    Quote Quote  
  12. Originally Posted by cyadron View Post
    So, recently class101 switched from Widevine to FairPlay DRM.
    Is there anyway to decrypt the classes now?
    Thank you!
    do you have an example?
    Quote Quote  
  13. Member
    Join Date
    Mar 2023
    Location
    Romania
    Search Comp PM
    Originally Posted by ElCap View Post
    Originally Posted by cyadron View Post
    So, recently class101 switched from Widevine to FairPlay DRM.
    Is there anyway to decrypt the classes now?
    Thank you!
    do you have an example?
    For example:
    https://media2.class101.net/videos/1292d5d2-0033-497b-9d57-fdb809247eac/video/1080?app...alse&cmaf=true
    Quote Quote  
  14. its got widevine and fairplay, like a lot of streaming services

    widevine part
    Code:
    #EXT-X-KEY:KEYFORMATVERSIONS="1",METHOD=SAMPLE-AES,KEYID=0xd8e133d5268d65644ddd1c45513c16cd,URI="data:text/plain;base64,AAAAbHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEwSENjhM9UmjWVkTd0cRVE8Fs0aDGlua2FlbnR3b3JrcyIkMTI5MmQ1ZDItMDAzMy00OTdiLTlkNTctZmRiODA5MjQ3ZWFjSPPGiZsG",IV=0x6f7770347867703530306364686d3364,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
    Quote Quote  
  15. Member
    Join Date
    Mar 2023
    Location
    Romania
    Search Comp PM
    Originally Posted by ElCap View Post
    its got widevine and fairplay, like a lot of streaming services

    widevine part
    Code:
    #EXT-X-KEY:KEYFORMATVERSIONS="1",METHOD=SAMPLE-AES,KEYID=0xd8e133d5268d65644ddd1c45513c16cd,URI="data:text/plain;base64,AAAAbHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEwSENjhM9UmjWVkTd0cRVE8Fs0aDGlua2FlbnR3b3JrcyIkMTI5MmQ1ZDItMDAzMy00OTdiLTlkNTctZmRiODA5MjQ3ZWFjSPPGiZsG",IV=0x6f7770347867703530306364686d3364,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"
    So, any idea on how we can decrypt it?
    Quote Quote  
  16. i dont have a login, so i dont know for sure, but its probably standard widevine with an auth header
    Quote Quote  



Similar Threads

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