Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

[Win10 64bit] OpenCV exception: CAP_IMAGES: can't find starting number #79

Closed
notune opened this issue Feb 28, 2023 · 0 comments
Closed

Comments

@notune
Copy link

notune commented Feb 28, 2023

When trying to embed a file under windows (compiled using rust's cargo), I get the following error (even tho the program states that it embedded the video successfully, no output.avi appears in the directory):

...
Etching frame ended in 110ms
Embedding thread complete!
[ERROR:0@167.784] global c:\build\master_winpack-build-win64-vc15\opencv\modules\videoio\src\cap.cpp (597) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.6.0) c:\build\master_winpack-build-win64-vc15\opencv\modules\videoio\src\cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): output.avi in function 'cv::icvExtractPattern'


Video embedded successfully at output.avi
Etching video ended in 18839ms
PS \target\release>

I think this might have something to do with the paths being different under windows, according to this stackoverflow-answer, but I might be wrong

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

No branches or pull requests

2 participants