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:
andCode:mp4decrypt --key eb676abbcb345e96bbcf616630f1a3da: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.Code:mp4decrypt --key 1:100b6c20940f779a4589152b57d2dacb vid.mp4 decrypted.mp4
		
			+ Reply to Thread
			
		
		
		
			 
		
			
	
	
				Results 1 to 30 of 39
			
		- 
	Last edited by lfybbk10; 20th Apr 2022 at 09:31. 
- 
	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
 
 AudioCode:./mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb video.mp4 output.mp4 
 
 Code:./mp4decrypt --show-progress --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb audio.m4a output.m4a 
- 
	
- 
	I tried on linux and on windows...and it works 
 
 Are you using the Bento Version ?
 
 https://www.bento4.com/downloads/
- 
	
- 
	
 [Attachment 64437 - Click to enlarge]
 
 try the other keys
 
 Code:--key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb --key 0294b9599d755de2bbf0fdca3fa5eab7:3bda2f40344c7def614227b9c0f03e26 --key 639da80cf23b55f3b8cab3f64cfa5df6:229f5f29b643e203004b30c4eaf348f4 
- 
	
- 
	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  
- 
	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
- 
	@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
- 
	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 I somehow managed to save the file as encrypted.mp4.mp4 and of course it couldn't find it as .mp4
 
 Thanks for the suggestionsLast edited by ringy9; 22nd Mar 2023 at 04:02. Reason: Further Information 
- 
	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.
- 
	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...
- 
	
- 
	
- 
	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.
- 
	
- 
	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
- 
	
 [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 errorLast edited by ShadowYt77; 1st Mar 2024 at 02:36. 
- 
	So please state which architecture you VPS is running on; can you show us the output of Code:lsb_release -a 
Similar Threads
- 
  Everyone can help me fix error on mp4decrypt?By kienkzz in forum Video Streaming DownloadingReplies: 79Last Post: 11th Apr 2025, 17:00
- 
  Mp4decrypt syntaxBy dzigelbaum in forum Video Streaming DownloadingReplies: 5Last Post: 26th Mar 2022, 02:23
- 
  mp4decrypt support for muli-threadingBy BeAtS in forum Video Streaming DownloadingReplies: 1Last Post: 18th May 2021, 13:40
- 
  Only 1K Video File After MP4DecryptBy SoConfused in forum Video Streaming DownloadingReplies: 13Last Post: 12th May 2021, 11:50
- 
  mp4decrypt for .mkv ?By kalemvar1 in forum Video Streaming DownloadingReplies: 9Last Post: 3rd Apr 2021, 13:04


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote

 
						 
						![[ss]vegeta's Avatar](customavatars/avatar177118_5.gif) 
			