Video editing with Python

Sounds like you want ffmpeg. Your Python script can craft the arguments to ffmpeg, then use the subprocess module to invoke it.

Moreover, you can check this…
https://discuss.python.org/t/moviepy-progress-bar-to-tkinter-one/10048