I am working on app that converts Images into Video. In Java, I think the Class is Videowriter but unfortunately I can't Initialize that class.
VideoWriter video;
video = new VideoWriter("/storage/emulated/0/test.avi", forcc, 20.0, new Size(640,
480), true);
if (video.isOpened()) {
Toast.makeText(this, "Yes", Toast.LENGTH_SHORT).show();
} else {
Toast.makeText(this, "No", Toast.LENGTH_SHORT).show();
}
video.release();
Here video.isOpened() always return false. Can somebody help me?