Record video using opencv
Hi,I'm trying to record a video using opencv VideoCapture camera= new VideoCapture(0);
VideoWriter writer = new VideoWriter ("c:/new/test.avi" , VideoWriter.fourcc ( 'D' , 'I' , 'V' , 'X' ), 15 , new Size ( 1280 , 720 ), true ) ;
It works well with the webcam but not with Camera IP , the video is recorded but it can't be opened, any idea ? Thanks for your help :)