Thread
:
Need help to embed mplayer to Kmplayer...
View Single Post
pycage
2008-07-04 , 13:24
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#
2
mplayer is started in slave mode by giving it the -slave option.
Your application holds an IO pipe to the mplayer, and you send commands to mplayer's stdin. mplayer returns information on its stdout.
If you know how to read some Python, you could take a look at
https://garage.maemo.org/plugins/scm...ox&view=markup
It's basically just sending commands and waiting for an answer from mplayer. Using nonblocking IO avoids that long response times im mplayer block your application.
Quote & Reply
|
pycage
View Public Profile
Send a private message to pycage
Find all posts by pycage