Ask Your Question

Revision history [back]

Error cv :: VideoWriter :: open VIDEOIO (CV_IMAGES): raised OpenCV exception: when executing a .exe packaged from a .py

I have this error when executing the exe, but running only the .py from the same console works for me all normal, I am packing the .py from windows with x64 architecture, with the pyinstaller packager. [ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (392) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\videoio\src\cap_images.cpp:253: error:(-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):http://192.168.1.70/video in function 'cv::icvExtractPattern

image description

Do not worry about the last error because it is a consequence of the first error

Error cv :: VideoWriter :: open VIDEOIO (CV_IMAGES): raised OpenCV exception: when executing a .exe packaged from a .py

I have this error when executing the exe, but running only the .py from the same console works for me all normal, I am packing the .py from windows with x64 architecture, with the pyinstaller packager. [ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (392) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\videoio\src\cap_images.cpp:253: error:(-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):http://192.168.1.70/video in function 'cv::icvExtractPattern

image description

Do not worry about the last error because it is a consequence of the first error

Error cv :: VideoWriter :: open VIDEOIO (CV_IMAGES): raised OpenCV exception: when executing a .exe packaged from a .py

I have this error when executing the exe, but running only the .py from the same console works for me all normal, I am packing the .py from windows with x64 architecture, with the pyinstaller packager. [ERROR:0] global C:\projects\opencv-python\opencv\modules\videoio\src\cap.cpp (392) cv::VideoWriter::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\videoio\src\cap_images.cpp:253: error:(-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file):http://192.168.1.70/video in function 'cv::icvExtractPattern

Do not worry about the last error because it is a consequence of the first error