Closed djs45 closed 1 year ago
And is there a way to retrieve statut error @ end of compression ? Thanks a lot
Could you please clarify what you mean by "hidden or minimized"?
Also, to get the output, you can use the stderr
property.
Could you please clarify what you mean by "hidden or minimized"?
Also, to get the output, you can use the
stderr
property.
Hello When I use ffmpeg-progress-yield , I have a console window of ffmpeg. I try to use extra argument { creationflags: CREATE_NO_WINDOW } / shell=True but exra argument seem to no working. So I have edited "ffmpeg_progress_yield.py" file and add shell=True to subprocess.Popen and now no window console.
Can you verify and get example for extra argument please ?
Many thanks
As I am not a Windows user, it will be hard for me to test these changes. I prefer to not use shell=True
since it requires passing the whole command as a string that is correctly formatted/escaped. Also, it works differently under Windows and Unix-based systems—this would make it incompatible.
I remember a previous issue with universal_newlines=True
that also didn't work under Windows.
If you have a platform-indepdendent suggestion as to how to fix it, please propose a PR. Otherwise I am not sure at this point how to solve it.
Yo have to remove '**' in def run_command_with_progress :
def run_command_with_progress(self, popen_kwargs={}) -> Generator[int, None, None]:
Sorry, I don't understand. The current definition of that function has no **
:
effectively.
I d'ont understand why It work now but it work
Congrat et thank you !
Hello Is there a way to run ffmpeg with your library in hiden or minimized ? Many thanks