[MPlayer-dev-eng] Hangs when calling mplayer by using java(getruntime.exec())

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Mar 3 10:28:07 CET 2006


Hi,
On Thu, Mar 02, 2006 at 05:12:58PM +0200, Jan Knutar wrote:
> On Thursday 02 March 2006 16:59, Shinye Shinye wrote:
> > I am using this kind of java code.
> > 
> > Process proc = Runtime.getRuntime.exec("mplayer a.wmv");
> 
> " Because some native platforms only provide limited buffer size
>  for standard input and output streams, failure to promptly write
>  the input stream or read the output stream of the subprocess
>  may cause the subprocess to block, and even deadlock."
> 
> >From Java API docs.

-noconsolecontrols (MPlayer option) could help

Greetings,
Reimar Doeffinger




More information about the MPlayer-dev-eng mailing list