python_video_stab icon indicating copy to clipboard operation
python_video_stab copied to clipboard

Batch file stabilization using globs breaks

Open IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd opened this issue 3 years ago • 2 comments

Trying to use the custom overlays in a batch script that loops files in a folder, only problem is it looks like it doesn't completely release the capture/stabilizer and it flows into the next video window, can see it using playback it will keep the last overlay frames from the last batch video.

Tried using sleep, tried cv2 destroying all, I am sure that I just suck at python and there is probably an easy way to end the stabilizer def each loop, but just making sure.

Anyone had this issue? It gives an error citing window dimensions, so its caught up on the last video it seems. If I change order of videos it breaks on the new one, so its not an issue with the video itself.

thanks.

Thanks for reporting I’ll take a look at it before the end of the weekend.

AdamSpannbauer avatar Aug 15 '20 11:08 AdamSpannbauer

I'm not even sure it is a bug, like I said, I probably just suck at python. I have not had any issue running the module for single videos (some strange black border artifacts using overlay, cant get it to look clean like the ostrich example for some reason) other than that its been great. just problem with batching is all. thanks for response.