[MPlayer-users] MediaControl via Mplayer
Anmol Ranka
Anmol_Ranka at mindtree.com
Wed May 16 08:31:41 CEST 2007
Hi All,
Thanks Carl for the reply. I could control Mplayer through console by
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.
Ex -- If I want to pause the currently running movie , can I use
system(pause).
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
Thanks
Please ignore the "DISCLAIMER" attached with this mail. Sorry for it but it
is beyond my control.
Regards,
Anmol
Message: 9
Date: Tue, 15 May 2007 14:41:36 +0000 (UTC)
From: Carl Eugen Hoyos <cehoyos at ag.or.at>
Subject: Re: [MPlayer-users] MediaControl Via Mplayer
To: mplayer-users at mplayerhq.hu
Message-ID: <loom.20070515T164021-218 at post.gmane.org>
Content-Type: text/plain; charset=us-ascii
Hi!
Anmol Ranka <Anmol_Ranka <at> mindtree.com> writes:
> I am using Fedora Core 5 with Linux kernel version 2.6.15.1. I am
developing
> a application which needs to interact with Mplayer. Does Mplayer expose
API's
> which other applications can use to perform following functions.
>
> 1)Mute(get and set)
> 2)Volume(get and set)
> 3)PlayFile
> 4)PlayUrl
> 5)Pause
> 6)Play
> 7)Stop
> 8)player position (set and get)
>
> If yes, where can I find more details about this?
You could start mplayer in its "slave" mode, that allows it to receive
commands.
Details can be found here:
http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/slave.txt?view=markup
Carl Eugen
DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
More information about the MPlayer-users
mailing list