I was working on a YouTube video downloader Python program.
I want to encode downloaded data to other media formats for this job i used FFmpeg and FFmpeg-Python (Package to use FFmpeg in Python).
Everything is Fine but i want to ask that how can i disable FFmpeg Output on the console ?
Here is some Pic of my Program :-
But this console often appears when my program starts encoding, suppressing the main GUI :-
If you know any solution for my problem then please give me some solution. It is my first time that i am trying Stackoverflow for my problem.
THANKS IN ADVANCE !!!!!
Add "from subprocess import CREATE_NO_WINDOW" and use "creationflags=CREATE_NO_WINDOW" for Popen. Below is updated part of "_run.py" code from ffmpeg-python library, that worked for me.