Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the input path #9

Open
zhuofudeng opened this issue May 24, 2015 · 1 comment
Open

Error in the input path #9

zhuofudeng opened this issue May 24, 2015 · 1 comment

Comments

@zhuofudeng
Copy link

OSX, Cmake as default, when I run the command "./cmt ./Vid_D_person.avi", it gives me error.
--->
OpenCV Error: Assertion failed (size.width>0 && size.height>0) in imshow, file /tmp/opencv20150407-97477-xpu2s2/opencv-2.4.11/modules/highgui/src/window.cpp, line 261
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv20150407-97477-xpu2s2/opencv-2.4.11/modules/highgui/src/window.cpp:261: error: (-215) size.width>0 && size.height>0 in function imshow

Abort trap: 6

Update:
if I run the command: ./cmt ./*.mpg, it will work as expect. So guess maybe it will not support the avi file, but the testing data files from your website are all avi files.

@gnebehay
Copy link
Owner

Unfortunately I am not familiar with OSX, but to me it seems that OpenCV is unable to decode the video stream. They videos from my hp are all mpeg-4 encoded (by ffmpeg). If you manage to solve this, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants