I have a little problem with ReadProgramError(). I am running FFMpeg like this:
Code: Select all
FFHandle = RunProgram(FFMPEG,CmdLine,CurrentDir,#PB_Program_Error|#PB_Program_Open|#PB_Program_Hide)
Code: Select all
While ProgramRunning(FFHandle)
Event = WaitWindowEvent()
;
Err.s = ReadProgramError(FFHandle)
If Err <> ""
;
Debug Err
;
;AddStatusLine("FFMpeg -> "+Err)
EndIf
Wend
Is there any way of fixing this?
[Edit]
On windows, the above lines work perfectly.
[Later edit]
I changed a bit the progrm flow and now it seems to work. I had to remove the resizing code, otherwise it won't process the window messages.