Ask Your Question
0

VideoWriter::get() always returns 0.0 #C++

asked 2017-08-30 06:23:42 -0500

Hello,

I'm working with OpenCV and I wanted to work with "videowriter::get()" and "videowriter::set()", but I don't know if it's posible. For example, while getting with "videowriter::get()" any property, the output always is cero. Is there any solution? Any other advice if I want to change dinamically the framerate of a video I'm recording?

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-30 06:46:06 -0500

berak gravatar image

both get() and set return a [0,1] value, signifying, if that property is supported on your box / opencv libs, also see here for valid enum values

and no, you cannot change the framerate dynamically like this, it is fixed.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-30 06:23:42 -0500

Seen: 56 times

Last updated: Aug 30 '17