[Bug]: WriteGear().write causes python process to terminate #413
Labels
BUG 🐛
Vidgear api's error, flaw or fault
BUG UNCONFIRMED 🙅
Bug is still uncomfirmed!
INVALID 🛑
This doesn't seem right or non-applicable or missing information
Description
The write method causes my entire python to crash:
Process finished with exit code -1073741819 (0xC0000005)
I use generator function to iteratively write images to a file with WriteGear.
The exception is never reached. The process just terminates.
Details in description below.
Would be awesome if somebody could look into it.
Thank you.
Issue Checklist
Expected behaviour
Writer writes to the file.
Actual behaviour
The write method causes my entire python to crash:
Process finished with exit code -1073741819 (0xC0000005)
Steps to reproduce
The write method causes my entire python to crash:
Process finished with exit code -1073741819 (0xC0000005)
I use generator function to iteratively write images to a file like:
However the writer.write(img) function causes the problem at line 430:
The exception is never reached. The process just terminates.
I found a related problem on Stack Overflow, but was not able to resolve the problem by myself.
If i use
cv2.imwrite("problem_frame.png", frame)
the image turns out normal.Would be awesome if somebody could look into it.
Thank you.
Terminal log output
No response
Python Code(Optional)
No response
VidGear Version
0.3.3
Python version
3.8
OpenCV version
4.8
Operating System version
Windows
Any other Relevant Information?
No response
The text was updated successfully, but these errors were encountered: