<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: ·s²Ó©úÅé" bgColor=#ffffff>
<DIV><FONT size=2>Dear all,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I am a beginner of programming, but I need to use a
program to control a mplayer.</FONT></DIV>
<DIV>I want mplayer plays movies, and when some event is coming,
it is required to play MP3. ( movies have to keep playing).</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>My question is,</FONT></DIV>
<DIV>1. After I use popen("mplayer -slave filename","w") to start mplayer .
How can I send a command to mplayer</DIV>
<DIV>(I don't know how to let my program send command into mplayer as its
stdin)</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>2. When I try to play MP3 and Movie together, the system shows
" Device is busy and unavaiable". (even I make movie to be mute)</FONT></DIV>
<DIV><FONT size=2>Is there any possibility I can play the sound of movie and MP3
together?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<P></P></BODY></HTML>