the fuction cvCreateFileCapture return 0 on Opencv 2.4.9 (Bug #4078)
Description
The function failed and cannot play video when I was opening the AVI File, So I Stepped into the function by VS2010 debugger,and found out that it just called the cvCreateFileCapture_FFMPEG_proxy funtion return 0(failed). then it called cvCreateFileCapture_Images this function,What a pity is that cvCreateFileCapture_Images also failed.Especially,if the filename contains chinese character ,the icvExtractPattern would crash in Debug mode.
But, The function succeed and play video sucessfully if I was using Opencv 2.4.6 version.
Is it a Bug of opencv?
History
Updated by Artur Wieczorek about 10 years ago
From what you've described it seems that your library is built with HAVE_VFW and HAVE_MSMF options disabled.
Please try to enable these options when building the library and check if this helps.
If not, please provide a link to the sample avi file causing the problem (or attach the smallest possible part of it).
Updated by Vadim Pisarevsky almost 10 years ago
- Priority changed from Normal to Low
- Category set to highgui-video
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4888