bento4

MP4 format and MPEG DASH library with command-line tools

brewmacoslinux
Try with needOr install directly
Source

About

Full-featured MP4 format and MPEG DASH library and tools

Commands

mp4infomp4dumpmp4editmp4muxmp4splitmp4dcidecmp4encryptmp4decryptmp42aacmp4to3gp

Examples

Display detailed information about an MP4 file$ mp4info input.mp4
Dump the structure and atoms of an MP4 file$ mp4dump --format json input.mp4
Split an MP4 file into fragments for DASH streaming$ mp4split --fragment-duration 4000 input.mp4