Home > front end >  Python CV2 video not playable after python process is killed
Python CV2 video not playable after python process is killed

Time:06-08

I use CV2 to capture my monitor, when I stop the script via Pycharm or CTRL C, I can play the video, if instead I kill the Python process, I am not able to play the video.

Do you know why this happens maybe? I thought that it does not matter how you end script (with CTRL C or by killing the python process), but looks like I am wrong.

Thank you in advance

CodePudding user response:

yes! you are doing it wrong that you killed the process since there is no time left for program to create usable form of clip which you can run. try to use stop via #PYCHARM or make a stop code. thanks.

  • Related