highgui.CV_CAP_PROP_FOURCC returns 0 with certain VideoFiles (Bug #3487)

Added by Peter Meier over 3 years ago. Updated almost 2 years ago.

Status:Open Start date:2014-01-15
Priority:Normal Due date:
Assignee:Andrey Pavlenko % Done:


Category:java bindings
Target version:Next Hackathon
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty:Easy HW Platform:x64
Pull request:



I'm using OpenCV-java(3.00) (selfcompiled version see issue #3460)
and the CV_CAP_PROP_FOURCC property gives me back 0 with certain Video formats.
I've tested Mpg-2,flash(.flv) and mp4 until now.

It opens every one of them, but only the .mp4 gave another value than 0-(avc1).

So I do not no if it is normal, or (OpenCV-)java specific..


Updated by Andrew Senin over 3 years ago


Thanks for posting the issue. As you mentioned in the #3460 not all HighGUI functionality is covered by the Java wrappers.

Unfortunately currently there are no people supporting the Java wrappers on regular basis. So you can help the project by contributing your fix. Please read more details on how to contribute here: http://code.opencv.org/projects/opencv/wiki/How_to_contribute


  • Difficulty changed from Medium to Easy
  • Status changed from New to Open
  • Target version changed from 3.0-beta to Next Hackathon

Updated by Maksim Shabunin almost 2 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4680

Also available in: Atom PDF