FFMPEG exits too fast!
Posted: Sun Feb 01, 2009 11:46 am
I'm experimenting with FFMPEG but I'm having trouble for one simple reason: the console window opens and closes faster than I can read its titlebar, let alone the console text.
The reason I need to read the text is I'm running FFMPEG using the RunProgram command, and something is going wrong with the job I'm asking it to do. So I need to see its report if I'm to analyse the error.
The weird thing is other FFMPEG users are able to report the text the program puts it in its console window. I presume this may have something to do with how they run the program - from command line as opposed to an equivalent of RunProgram.
Thinking of a "solution" to this, is there any way to stop a program from terminating for a given length of time?
Failing that, is there any way you can think of to "get" the console window's text in the split second that said window is open?
Launching FFMPEG with #PB_Program_Read/Error and using ReadProgramString/Error doesn't return anything except a blank string, even when I use AvailableProgramOutput...
The reason I need to read the text is I'm running FFMPEG using the RunProgram command, and something is going wrong with the job I'm asking it to do. So I need to see its report if I'm to analyse the error.
The weird thing is other FFMPEG users are able to report the text the program puts it in its console window. I presume this may have something to do with how they run the program - from command line as opposed to an equivalent of RunProgram.
Thinking of a "solution" to this, is there any way to stop a program from terminating for a given length of time?
Failing that, is there any way you can think of to "get" the console window's text in the split second that said window is open?
Launching FFMPEG with #PB_Program_Read/Error and using ReadProgramString/Error doesn't return anything except a blank string, even when I use AvailableProgramOutput...