I\'m using OpenCV 2.4.8 in Android using JNI.
I opening the camera with VideoCapture and I want to record it. I have the image in a cv::Mat, it appear in the screen
('M','J','P','G') is the only supported by android while using .avi ext. Most important of all is to #include stdio.h, without this you wont be able to open VideoWriter video