On Fri, 01 Mar 2019 18:33:00 +0100, Bo Berglund via lazarus <lazarus@lists.lazarus-ide.org> wrote:
>I am trying to extract information from a video file (mp4) using >ffmpeg in a Lazarus 2.0.0 program. I found that ffmpeg is not optimum when just needing the video data I was after, instead ffprobe is more suited to this. It is also installed with ffmpeg. Now for another RunCommandInDir problem: ---------------------------------------- When I run the command to extract the information a black command window is briefly flashed on screen and then disappears. Is there some way to make this window minimized or invisible while it runs? The available options for RunCommandInDir seem to be: type TProcessOptions = set of ( poRunSuspended, //Start the process in suspended state. poWaitOnExit, //Wait for the process to terminate before returning. poUsePipes, //Use pipes to redirect standard input and output. poStderrToOutPut, //Redirect standard error to the standard output. poNoConsole, //Do not allow access to the console window for the process (Win32 only) poNewConsole, //Start a new console window for the process (Win32 only) poDefaultErrorMode, //Use default error handling. poNewProcessGroup, //Start the process in a new process group (Win32 only) poDebugProcess, //Allow debugging of the process (Win32 only) poDebugOnlyThisProcess //Do not follow processes started by this process (Win32 only) ); It seems like poNoConsole could be what I am after, but it is Win32 only... No option to hide the console? -- Bo Berglund Developer in Sweden -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus