Is there any method in Java OpenCV can save the video?

asked 2015-08-26 08:06:40 -0600

Hi All: Can someone help me on saving the video stream from the ip camera into video file in JAVA language?

edit retag flag offensive close merge delete

Comments

are you using opencv3 and build from src ?

berak gravatar imageberak ( 2015-08-26 08:14:34 -0600 )edit

I am using opencv 2.4.9, and built it. The thing is I can not find the method for saving the video in the API.

Jianyuan Ma gravatar imageJianyuan Ma ( 2015-08-26 08:22:33 -0600 )edit

the VideoWriter class is blacklisted in the code generation.

i can tell only about 3.0, you would just go here and add a comment(#) before the word VideoWriter. then rerun cmake/make/install (sorry no idea if the same thing will work in 2.4)

berak gravatar imageberak ( 2015-08-26 08:27:26 -0600 )edit