[MPlayer-users] why i start by -wid only sound no video first?

闵远洋 minyuanyang at gmail.com
Sat Sep 23 03:36:13 CEST 2006


example:

CmdLine = "D:\MPlayer\MPlayer.exe -slave -identify -quiet -wid 1234567
-colorkey 0x101010 -vo directx -ao dsound E:\Movies\001.rmvb"
Success = CreateProcess(0,CmdLine.GetBuffer
(),0,0,true,DETACHED_PROCESS,0,HomeDir,&si,&pi);

why first time , only sound no video .
but when i  do "Success =
CreateProcess(0,CmdLine.GetBuffer(),0,0,true,DETACHED_PROCESS,0,HomeDir,&si,&pi);"
second times. the two of video and sound can been seen .

and i occur a surprising thing . when i start the WindowsMediaPlayer  ,
CreateProcess first time , all the two of video and sound can been seen .

Is some thing wrong at  my  mpalyer parameters ??

thanks !!



More information about the MPlayer-users mailing list