Overview
The MvExtractorLibav C++ library extracts motion vectors from H264 frames on Linux and Windows using FFmpeg. The library is compatible with any hardware that supports FFmpeg. The library depends on the open-source Frame library (source code included, Apache 2.0 license) and the FFmpeg libraries (libavcodec, libavformat, libavutil, libavfilter, libswscale), which are linked at build time. The library uses the C++17 standard. The test application depends on the VCodecLibav library (source code included, Apache 2.0 license) and the SimpleFileDialog library (source code included, Apache 2.0 license), which depends on the open-source Zenity library (only for Linux).
Downloads
Documentation: GO TO DOCUMENTATION
Simple interface
class MvExtractorLibav
{
public:
/// Get string of the current library version.
static std::string getVersion();
/// Extracts motion vectors from the given frame.
bool extract(Frame& frame, int8_t* vectors);
};

