I'm using FFmpeg for a small project so I built a GUI basic application for video editing
here is the image

Everything is working fine but I just want to avoid opening the terminal for the FFmpeg process the reason the terminal is opening is because
I used os.system("FFmpeg command here")
so is there a way to import FFmpeg completely and avoid using terminal and run in code
if u have any idea please suggest and let me know
for gui i used PYQT5 and python to code
Thank you
Tried using subprogram but didn't work (worked for normal commands but not for ffmpeg) I need the output to print also to store in a python variable Please check the image for more info
