ffmpeg isn't a library, just so you know. libav* are the libraries that ffmpeg use, which are what you'd include. https://trac.ffmpeg.org/wiki/Using%20libav*
From https://www.ffmpeg.org/about.html
"FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created."
After that:
"It contains libavcodec, libavutil, libavformat, libavfilter, libavdevice, libswscale and libswresample which can be used by applications. As well as ffmpeg, ffplay and ffprobe which can be used by end users for transcoding and playing"