Ask Your Question
0

CV_FOURCC missing?

asked 2014-09-01 07:45:33 -0600

kovand11 gravatar image

updated 2014-09-01 07:56:46 -0600

berak gravatar image

In the 3.0 version (post videoio), which header contains the CV_FOURCC macro? Or how can I avoid using it?

edit retag flag offensive close merge delete

Comments

2

it's VideoWriter::fourcc() now.

berak gravatar imageberak ( 2014-09-01 07:53:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-25 07:25:31 -0600

Try #include <opencv2/videoio/videoio_c.h>

edit flag offensive delete link more

Comments

this is clearly a bad idea.

again, please use VideoWriter::fourcc(), and do NOT include the outdated c-api headers.

berak gravatar imageberak ( 2017-10-25 07:32:15 -0600 )edit

Well, I agree. Thanks

krokoziabla gravatar imagekrokoziabla ( 2017-10-25 09:51:00 -0600 )edit

Question Tools

Stats

Asked: 2014-09-01 07:45:33 -0600

Seen: 2,519 times

Last updated: Sep 01 '14