[MPlayer-users] MediaControl Via Mplayer

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 15 16:41:36 CEST 2007


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




More information about the MPlayer-users mailing list