what is lavf
FFmpeg libavcodec is a library containing all of the native FFmpeg audio/video encoders and decoders. Most codecs were developed from scratch to ensure best performance and high code reusability. libavformat (Lavf) is a library containing demuxers and muxers for audio/video container formats.