Ask Your Question

does opencv support flv video format?

asked 2015-01-01 04:59:23 -0500

vjm gravatar image

does opencv read flv format video? if not is there any alternative to convert an flv file into avi file?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-01 11:47:57 -0500

Aly Osama gravatar image

yes , you can write flv format video using CV_FOURCC('F','L','V','1')

cvCreateVideoWriter("disparity_output.flv",CV_FOURCC('F','L','V','1') , 32, size, 0);

if it does't work you can try recompiling opencv with ffmpeg, you can check this link for more details

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-01 04:59:23 -0500

Seen: 2,084 times

Last updated: Jan 01 '15