[fpc-pascal] re: Cannot run mplayer with TProcess when options is poUsePipes in Windows

Vincent Snijders vsnijders at vodafonevast.nl
Mon Nov 10 13:52:04 CET 2008


Dusan Halicky schreef:
>>> is there an mplayer.exe in a directory on the path (or windows directory)?
> 
> yes. (when I remove poUsePipes the video plays normally)
> 
>>> Maybe you need to add poNoConsole?
> 
> I still can't see a video (nor audio) with this option, however it
> helps a little (application dont freeze after end with this option)
> 
> Any other hints? Thanks.

Make sure that mplayer isn't waiting for you read the output pipe.

Vincent



More information about the fpc-pascal mailing list