axiomatic-systems / Bento4

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools
http://www.bento4.com
2k stars 482 forks source link

How to convert a manifest.mpd file to a .mp4 file for decryption? #553

Open vega69-ux opened 4 years ago

vega69-ux commented 4 years ago

I have a manifest.mpd file. How do I take the information from this file, and create a single .mp4 file for decryption to use with Bento4?

py-pkulk commented 3 years ago

Browse to the video folder and concatenate all the segments with init.mp4 file i.e $cat init.mp4 seg-00001.m4s seg-00002.m4s .... > encrypted_output.mp4

Use $mp4decrypt --key 708xxxxxxxxxxxxxxxxxx1d1fd:e6519beyyyyyyyyyyyyyyyyyyyyyy90545 enc_output.mp4 dec_output.mp4