[MPlayer-dev-eng] About mplayer as Android mediaplayer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Jul 13 23:17:21 CEST 2010


On Tue, Jul 13, 2010 at 06:01:32PM +0200, Benjamin Zores wrote:
> On Tue, Jul 13, 2010 at 5:44 PM, Oh-keun Kwon <pinebud at gmail.com> wrote:
> > Thanks for your reply. I looked around the slave interface, but I don't know
> > how the android player can get the decoded video and audio frames. Android
> > manages it's audio and video device, and render the decoded video out
> > itself. Does slave mode means forking an mplayer? Is there a way to share
> > audio/video buffer with master process?
> 
> Write an AO and VO driver for Android in MPlayer then.
> Slave mode is just MPlayer running in background and being controlled
> by a frontend through FIFO.

Just to clarify: You will still have to wrap the forked MPlayer into
a non-native partso you can do the audio and video initialization, but
there should be no need to do much more that call main() in that,
and provide some JNI callbacks, e.g. for page flipping for OpenGL.


More information about the MPlayer-dev-eng mailing list