Ask Your Question
0

Path file for the video in Javacv

asked Feb 8 '13

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

Preview: (hide)

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 (Feb 8 '13)edit

1 answer

Sort by » oldest newest most voted
0

answered Feb 8 '13

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

Preview: (hide)

Question Tools

Stats

Asked: Feb 8 '13

Seen: 670 times

Last updated: Feb 08 '13