/opencv-ffmpeg

Converting opencv image to ffmpeg

Primary LanguageC++MIT LicenseMIT

opencv-ffmpeg

Converting opencv image to ffmpeg image

This code can be used to record video from default camera and then converting Mat image to AVFrame. Try changing the value of "NUM_FRAMES" in the code to record videos of different durations.