Ask Your Question
0

Path file for the video in Javacv

asked 2013-02-08 07:42:39 -0600

theodore7 gravatar image

I want to record video from images with JavaCV. When i use recorder = FrameRecorder.createDefault("video.avi", 640, 480); all goes fine but when i use recorder = FrameRecorder.createDefault("C://video.avi", 640, 480); throws an exception com.googlecode.javacv.FrameRecorder$Exception: cvWriteFrame(): Could not record frame at com.googlecode.javacv.OpenCVFrameRecorder.record(OpenCVFrameRecorder.java:90) at Record.recording(Record.java:102) at Record.run(Record.java:82) at java.lang.Thread.run(Unknown Source). I want to save the recorded video in a specific directory

edit retag flag offensive close merge delete

Comments

did you mean "c:/video.avi" instead of "c://video.avi" ?

i think, you just got one slash to much there.

berak gravatar imageberak ( 2013-02-08 10:15:36 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-08 08:14:10 -0600

JavaCV is independent project, developed by NOT OpenCV developers. I think it is not right place fro your question.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-08 07:42:39 -0600

Seen: 636 times

Last updated: Feb 08 '13