VideoHelp Forum




+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 33
  1. Hello, I have the following problem. I successfully get the key for this video: https://bitmovin.com/demos/drm, I also successfully download mpd (https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd ) using yt-dlp. But when I try to decrypt it with mp4decrypt nothing comes out.

    I get this key: eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4 589152b57d2dacb

    Accordingly, I have tried:
    Code:
    mp4decrypt --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb vid.mp4 decrypted.mp4
    and
    Code:
    mp4decrypt --key 1:100b6c20940f779a4589152b57d2dacb vid.mp4 decrypted.mp4
    Other than that, I found a similar case on this forum where a person provides a specific mp4 link with a specific key: https://forum.videohelp.com/threads/400424-Downloading-DRM-protected-video-and-decrypt...ey#post2608395. But even this cannot be decrypted. I suspect that mp4decrypt is the issue, but I don't understand why it might not work.
    Last edited by lfybbk10; 20th Apr 2022 at 09:31.
    Quote Quote  
  2. No problem with mp4decrypt. You have to download separately audio and video with yt-dlp

    Code:
    yt-dlp --no-warnings --external-downloader aria2c --allow-unplayable-formats --no-check-certificate https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd

    Video

    Code:
    ./mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb video.mp4 output.mp4
    Audio

    Code:
    ./mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb  audio.m4a output.m4a
    Quote Quote  
  3. Originally Posted by cedric8528 View Post
    No problem with mp4decrypt. You have to download separately audio and video with yt-dlp

    Code:
    yt-dlp --no-warnings --external-downloader aria2c --allow-unplayable-formats --no-check-certificate https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd

    Video

    Code:
    ./mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb video.mp4 output.mp4
    Audio

    Code:
    ./mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb  audio.m4a output.m4a
    I did all this, but the result is the same. output.mp4 throws an error when opened, and another thing I noticed is that mp4decrypt doesn't output anything to the console at all, even though the --show-progress option is used.
    Quote Quote  
  4. Weird...
    mp4decrypt doesn't show anything and it's normal

    Audio is working?
    Quote Quote  
  5. Originally Posted by cedric8528 View Post
    Weird...

    Audio is working?
    Audio also throws an error.
    Quote Quote  
  6. I tried on linux and on windows...and it works

    Are you using the Bento Version ?

    https://www.bento4.com/downloads/
    Quote Quote  
  7. Originally Posted by cedric8528 View Post
    I tried on linux and on windows...and it works

    Are you using the Bento Version ?

    https://www.bento4.com/downloads/
    Yes, I downloaded the windows version and ran this from the bin folder on the command line.
    Quote Quote  
  8. Image
    [Attachment 64437 - Click to enlarge]


    try the other keys

    Code:
    --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb
    --key 0294b9599d755de2bbf0fdca3fa5eab7:3bda2f40344c7def614227b9c0f03e26
    --key 639da80cf23b55f3b8cab3f64cfa5df6:229f5f29b643e203004b30c4eaf348f4
    Quote Quote  
  9. Originally Posted by cedric8528 View Post
    Image
    [Attachment 64437 - Click to enlarge]


    try the other keys

    Code:
    --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb
    --key 0294b9599d755de2bbf0fdca3fa5eab7:3bda2f40344c7def614227b9c0f03e26
    --key 639da80cf23b55f3b8cab3f64cfa5df6:229f5f29b643e203004b30c4eaf348f4
    Doesn't work again. Everything is successfully decrypted for you, did I understand correctly?
    Quote Quote  
  10. i tried but only the first key works...

    So, I don't know where is the problem...maybe a corrupted download...or something else

    Wait a specialist
    Quote Quote  
  11. Originally Posted by cedric8528 View Post
    i tried but only the first key works...

    So, I don't know where is the problem...maybe a corrupted download...or something else

    Wait a specialist
    Okay, thanks for the help anyway.
    Quote Quote  
  12. the key works and is correctly decrypting...same key for both audio and video....download encrypted audio and video separately....decrypt them separately...then mux them together with ffmpeg or mkvmerge
    Quote Quote  
  13. Originally Posted by pkp View Post
    the key works and is correctly decrypting...same key for both audio and video....download encrypted audio and video separately....decrypt them separately...then mux them together with ffmpeg or mkvmerge
    Here I recorded the entire process on video, maybe you notice what is wrong here, because I cannot understand
    https://youtu.be/ACbKAR4icF4
    Quote Quote  
  14. @lfybbk10

    you tried this

    mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4 589152b57d2dacb video.mp4 output.mp4

    please try this

    mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4 589152b57d2dacb --key 0294b9599d755de2bbf0fdca3fa5eab7:3bda2f40344c7def6 14227b9c0f03e26 --key 639da80cf23b55f3b8cab3f64cfa5df6:229f5f29b643e2030 04b30c4eaf348f4 video.mp4 output.mp4
    Quote Quote  
  15. And Try with another Video Player ….Vlc for example…
    Quote Quote  
  16. Originally Posted by cedric8528 View Post
    And Try with another Video Player ….Vlc for example…
    Incredibly, it opened through vlc. How long have I struggled with this, thank you very much
    Quote Quote  
  17. in fact it was quite simple lol
    Quote Quote  
  18. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    So first time Noob trying to get correct decryption method for the Gaelic site that is in the Tutorial. I found info in Network, put that info into CDRM project and got a key.

    Used yt-dlp to download encrypted.mp4 and encrypted.m4a I have place these files in the same folder as mp4decrypt. I have scoured the threads looking for different ways to do this but so far it has escaped me. Below is the code I try with mp4decrypt, it doesn't seem to find the encrypted.mp4 file.
    https://files.videohelp.com/u/305113/Decrypt.png

    Please help

    So Just another Rookie error I somehow managed to save the file as encrypted.mp4.mp4 and of course it couldn't find it as .mp4

    Thanks for the suggestions
    Last edited by ringy9; 22nd Mar 2023 at 04:02. Reason: Further Information
    Quote Quote  
  19. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    You seem to be running your command in the ffmpeg folder and not the mp4decrypt folder.

    Rather add the path to the ffmpeg (c:\xxx\ffmpeg\bin) folder AND the mp4decrypt folder to your windows PATH.

    Then save your files to a generic download folder and run your command from there.
    Quote Quote  
  20. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    that should be the right command
    are you sure the encrypted.mp4 file is in the C:/ffmpeg/bin folder?
    or is it something about permissions? if the files are inside, try right clicking on the bin folder>properties>general>attributes>empty the "read only" checkbox. although even if it is read only it should be able to read the encrypted files since decrypting doesn't alter the source files...
    Quote Quote  
  21. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by ampersand View Post
    that should be the right command
    are you sure the encrypted.mp4 file is in the C:/ffmpeg/bin folder?
    or is it something about permissions? if the files are inside, try right clicking on the bin folder>properties>general>attributes>empty the "read only" checkbox. although even if it is read only it should be able to read the encrypted files since decrypting doesn't alter the source files...
    Thanks ampersand2684928 I tried as you suggested and yes the files are in the same folder, but same result
    Quote Quote  
  22. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by sipho View Post
    You seem to be running your command in the ffmpeg folder and not the mp4decrypt folder.

    Rather add the path to the ffmpeg (c:\xxx\ffmpeg\bin) folder AND the mp4decrypt folder to your windows PATH.

    Then save your files to a generic download folder and run your command from there.
    Hey thanks for the reply sipho2684927 I'm not really sure how to do that, but google is my friend
    Quote Quote  
  23. To rule out permission issues, create a folder on the desktop and put mp4decrypt.exe and video file inside and run command from within that folder. If you still get the same error, try a simple re-download to rule out corrupted files.

    If you still get the same error, you need to backtrack your process and make sure you have the proper binaries and commands.
    Quote Quote  
  24. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by larits View Post
    To rule out permission issues, create a folder on the desktop and put mp4decrypt.exe and video file inside and run command from within that folder. If you still get the same error, try a simple re-download to rule out corrupted files.

    If you still get the same error, you need to backtrack your process and make sure you have the proper binaries and commands.
    Thanks larits I will certainly do as you've suggested if I have this problem again. I have edited my post #18 above because I realized the error I had made
    Quote Quote  
  25. So I have a vps and i uploaded mp4decrypt file on github and cloned it from there , my vps image is ubuntu , and i am trying to use mp4decypt but it keeps giving error herre is my command
    /home/ubuntu/Tata-Heroku/binaries/mp4decrypt --key 2f27d053d83d5284859cdd8b26bb17e2:bc97ff69f0df08171 6889703b8210dfd enc_audio_94494_hin=94000_17091486763231273.m4a dec_audio_94494_hin=94000_17091486763231273.m4a

    and error i am getting is

    -bash: /home/ubuntu/Tata-Heroku/binaries/mp4decrypt: cannot execute binary file: Exec format error
    Image Attached Thumbnails Click image for larger version

Name:	photo1709150003.jpeg
Views:	117
Size:	30.3 KB
ID:	77321  

    Quote Quote  
  26. Originally Posted by ShadowYt77 View Post
    -bash: /home/ubuntu/Tata-Heroku/binaries/mp4decrypt: cannot execute binary file: Exec format error
    Try this one
    Image Attached Files
    Quote Quote  
  27. Image
    [Attachment 77365 - Click to enlarge]
    Same error , i dont know why its happening but when i run same program in github codespace it runs , but its not running on my vps

    also when i run command manually on my vps i get this

    ubuntu@new4core:~/Tata-Heroku$ /home/ubuntu/Tata-Heroku/binaries/mp4decrypt --key 2f27d053d83d5284859cdd8b26bb17e2:bc97ff69f0df08171 6889703b8210dfd enc_audio_94494_hin=94000_17092784567446609.m4a dec_audio_94494_hin=94000_17092784567446609.m4a

    -bash: /home/ubuntu/Tata-Heroku/binaries/mp4decrypt: cannot execute binary file: Exec format error
    Last edited by ShadowYt77; 1st Mar 2024 at 02:36.
    Quote Quote  
  28. So please state which architecture you VPS is running on; can you show us the output of
    Code:
    lsb_release -a
    Quote Quote  
  29. Check I Have Uploaded Image
    Image Attached Thumbnails Click image for larger version

Name:	photo1710329377.jpeg
Views:	24
Size:	20.1 KB
ID:	77647  

    Quote Quote  
  30. Any Solutions???
    Quote Quote  



Similar Threads

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