How to open cv::VideoWriter in Android

前端 未结 2 850
盖世英雄少女心
盖世英雄少女心 2020-12-17 06:51

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

2条回答
  •  独厮守ぢ
    2020-12-17 07:13

    ('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

提交回复
热议问题