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.
Converting opencv image to 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.
Converting opencv image to ffmpeg
MIT License