ffmpeg

Record, convert, and stream audio and video with multiple codecs

brewmacoslinux
Try with needOr install directly
Source

About

Play, record, convert, and stream select audio and video codecs

Commands

ffmpegffprobeffplay

Examples

Convert video format from MP4 to WebM$ ffmpeg -i input.mp4 -c:v libvpx -c:a libopus output.webm
Extract audio from video as MP3$ ffmpeg -i video.mp4 -q:a 0 -map a audio.mp3
Get detailed information about a media file$ ffprobe -v error -show_format -show_streams input.mp4