First time here? Check out the FAQ!
in case someone get ffmpeg_codecs.hpp error: ‘CODEC_ID_H264’ was not declared in this scope, you can add -D WITH_FFMPEG=