[MPlayer-users] MediaControl via MPlayer
Attila Kinali
attila at kinali.ch
Wed May 16 10:31:48 CEST 2007
On Wed, 16 May 2007 12:01:41 +0530
"Anmol Ranka" <Anmol_Ranka at mindtree.com> wrote:
> Thanks Carl for the reply. I could control Mplayer through console by
It's called MPlayer, with capital P.
> following the steps mentioned in the url
> <http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/slave.txt?view=markup>.
>
> I have few more doubts regarding how to achieve the same programmatically:
>
> 1) Through my program can I use the API 'system' to send command to Mplayer.
It's called MPlayer, with capital P.
> Ex -- If I want to pause the currently running movie , can I use
> system(pause).
you mean system(2) ? Then no. read the manpage or a book on
unix programming what system() does.
> 2) Are the commands like 'get_file_name', 'get_meta_album', 'volume', 'mute'
> etc are API exposed by some library? If yes, what is the name of that library
> and where can I found the detailed documentation regarding the usage of these
> API's
There is no such API. Why should there? MPlayer is _not_ a library.
BTW: Fullquotes are a very bad idea. Please read
http://www.netmeister.org/news/learn2quote.html
Attila Kinali
--
Praised are the Fountains of Shelieth, the silver harp of the waters,
But blest in my name forever this stream that stanched my thirst!
-- Deed of Morred
More information about the MPlayer-users
mailing list