[MPlayer-users] Slave mode
Kevin DeKorte
kdekorte at gmail.com
Fri Oct 27 22:41:29 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joel Espinosa wrote:
> Hi all,
>
> I want to control mplayer trough a control file (a named pipe), I'm
> using mplayer to play streaming media but I cannot find how to obtain
> the streaming's information using slave-mode commands, I have readed the
> slave-mode protocol document but there's nothing iformation about that.
> Somebody has made something similar before?
>
> Best regards.
>
> ps. sorry for my english.
Joel,
I've written simple mplayer wrapper written in gtk. It uses the slave
mode to get the progress of the media "get_percent_pos" and reads the
answer 'ANS_PERCENT_POSITION'. Look in callbacks.c and look for the
functions thread_query and thread_reader.
Here is the website for it:
http://dekorte.homeip.net/download/gnome-mplayer
I've got some improvements for that app that I have not released yet,
but they should be out in a couple of days.
Kevin
- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=-1509369771935935023
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFFQm756w2kMH0L1dERAqoxAKCSTKjC3O3B5C5mHNVpBn5QP1VTEwCeNGzS
uBSRCqlss2DHKqM/iRuU0cE=
=tcAd
-----END PGP SIGNATURE-----
More information about the MPlayer-users
mailing list