How do I stop FFMPEG-Python from continuing to run in the background after execution?
I’m using the ffmpeg wrapper for python ‘Ffmpeg-python’.
I’m doing a basic program that concatenate different short videos.
I process each video separately to later concatenate them all together. I do it to make sure all the videos have the same resolution and frame rate.
I’m using a basic tkinter interface to modify some parameters.
My problem is that, for any reason, after executing the different ffmpeg commands, some of them keep running in the background(doing nothing, not even using CPU) so I can’t open some of the videos in case i want to check something. In the moment i close the python script, those processes dissapear.
This is my first post here, so i don’t really know if this is the way I should do the posts. Thanks in advance.
End those ffmpeg processes that keep running in the background without having to close the python script.
Read more here: Source link