mp4v2

Read, create, and modify MP4 files with command-line tools

brewmacoslinux
Try with needOr install directly
Source

About

Read, create, and modify MP4 files

Commands

mp4filemp4trackmp4dumpmp4extractmp4info

Examples

Display information about an MP4 file$ mp4info video.mp4
Extract a specific track from an MP4 file$ mp4extract -t 1 input.mp4 output.raw
Get detailed dump of MP4 file structure$ mp4dump video.mp4