Overview
VideoRecorderMp4 C++ library provides methods for recording video to files with controlling file and folder size. This library is built upon the mp4v2 library. The library records .mp4 video files and accepts only H264 pixel format frames. The library is cross-platform and compatible with Windows and Linux OS. The library is built with C++17 standard. It depends on libraries: mp4v2 (source code included, Mozilla Public License) and Frame (describes video frame class, source code included, Apache 2.0 license). Additionally, the test application depends on VCodecLibav (source code included) library to prepare test H264 frames.
Documentation
Documentation: GO TO DOCUMENTATION
Simple interface
class VideoRecorderMp4
{
public:
/// Get current class version.
static std::string getVersion();
/// Init video recorder.
bool init(std::string initString);
/// Write video frame.
bool write(Frame& frame);
/// Stop video recording.
void stop();
};