[MPlayer-dev-eng] About mplayer as Android mediaplayer
Oh-keun Kwon
pinebud at gmail.com
Tue Jul 13 17:44:54 CEST 2010
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?
On Tue, Jul 13, 2010 at 2:32 PM, Benjamin Zores <ben at geexbox.org> wrote:
>
>
> Le 13 juil. 2010 à 07:15, Oh-keun Kwon <pinebud at gmail.com> a écrit :
>
>
> I don't know this email is appropriate for eng mailing list.
>>
>> I am trying to porting mplayer to android-x86 environment as a media
>> engine.
>> The idea is to devide the main function of mplayer a some pieces and call
>> from Android media player. I made some progress to play in very specific
>> device, but there is still many questions and problems. Please try
>> following
>> code if you are interested. git://
>> vilivs5.git.sourceforge.net/gitroot/mplayer.git (eclair-x86 branch).
>>
>> My questions and problems are..
>> 1. First of all, is there already this kind of porting -_-?
>> 2. I failed to make mplayer as a thread safe library. Android seems to use
>> many thread to play and make thumnail at the same time, and mplayer seems
>> to
>> use many global variables for state sharing. Is there known best way to
>> make
>> mplayer a library?
>>
>
> Quick answer: no.
> You may however try libplayer (http://libplayer.geexbox.org) using MPlayer
> backend to "simulate" the library. Though it'll use slave mode which I'm not
> sure is Android friendly.
>
> Ben
>
> 3. There is ticking aound in the sound playback. I modified ao_null to
>> manage timing and just copied the decoded PCM to Android AudioSink. Is
>> there
>> a way to manage decoded audio size too big or too small without
>> interacting
>> with actual audio out device?
>> 4. Can I tell mplayer to use specific char encoding in sub? I tried korean
>> sub but it is all broken. The smi file is encoded as Windows charset, not
>> unicode.
>>
>> Thanks for your great efforts..
>> _______________________________________________
>> MPlayer-dev-eng mailing list
>> MPlayer-dev-eng at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
More information about the MPlayer-dev-eng
mailing list