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
DON'T try, ever, its totally bs
(in this case, it lost the ffmpeg related dll, so you cant write video)
But can you help me please, I have not found a solution for this error for days
don't try with pyinstaller, it worked for noone before.
and, Which packer do you recommend so that I don't get any more mistakes?