xvid

High-performance MPEG-4 video encoding and decoding library

brewmacoslinux
Try with needOr install directly
Source

About

High-performance, high-quality MPEG-4 video library

Examples

encode video to mpeg4 format with high quality$ ffmpeg -i input.mov -c:v mpeg4 -q:v 5 output.avi
convert video to xvid codec for compatibility$ ffmpeg -i video.mp4 -c:v mpeg4 -vtag XVID output.avi
compress video file to smaller size$ ffmpeg -i input.mov -c:v mpeg4 -b:v 1000k output.avi
decode xvid video file to raw frames$ ffmpeg -i video.avi -f rawvideo output_%04d.raw
check if video uses xvid encoding$ ffprobe -v error -select_streams v:0 -show_entries stream=codec_name input.avi