![]() |
Need help to embed mplayer to Kmplayer...
Hello. Can someone show me how to using mplayer in slave mode, and embed the player into the applications like kmplayer, Kagu, and MediaBox? I installed the Kmplayer (frontend) and the Mplayer, but when I tried to open a file from Kmplayer(mp3, avi.....), nothing happened. Do I need to do something to link the mplayer to the Kmplayer? Thank you for the help.
|
Re: Need help to embed mplayer to Kmplayer...
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. |
All times are GMT. The time now is 20:02. |
vBulletin® Version 3.8.8