Media player source code Download

563 views
Skip to first unread message

khushank

unread,
Aug 9, 2011, 12:26:44 AM8/9/11
to android-platform
Hi,
is it possible to build only the source code of the media player of
the android.

If possible please tell from where to get the android media player
source code and how to build it.

Can it be built on SDK/NDK.
Thanks in advance .

fei wang

unread,
Aug 9, 2011, 1:48:11 AM8/9/11
to android-...@googlegroups.com
The media player needs some .so,and can only be called from the Java Layer, especially the video/audio output part is specific to the Android.You can only use java and the SDK to build a apk.

2011/8/9 khushank <khushank...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.




--
===============================================
FeiWang/王飞
Software Engineer,suntec pioneer Co.,Ltd.
CellPhone:18621537071
OfficeTel:021-64739882-1328

WorkEmail: wang...@pset.suntec.net
PrivateEmail: philip...@gmail.com
===============================================


khushank

unread,
Aug 9, 2011, 1:56:27 AM8/9/11
to android-platform
Hi
Thanks for the reply but can you please tell me from where i get the
media player source code so that i can download it.
And how to build that source code and see how it works on the emulator.

fei wang

unread,
Aug 9, 2011, 2:17:14 AM8/9/11
to android-...@googlegroups.com
The source code In Java Language or cpp?

If cpp, first download the android source tree,
second, navigate to the frameworks\base\media directory
you will find the media source code. You can add some log
to track the running sequence,and then compile them,
archive them to the system.img to launch a new emulator based on it.
or just push the new library to the emulator[ensure the partition writable to you]
and then "kill -9" the media Process.
finally, you got it!

I have been doing multimedia development work for more than one year, though now no longer do it.
if have some problem, contact me.

Best regards,
Wangfei

2011/8/9 khushank <khushank...@gmail.com>

--

fei wang

unread,
Aug 9, 2011, 2:24:28 AM8/9/11
to android-...@googlegroups.com
The source tree is located at https://android.git.kernel.org/.

2011/8/9 fei wang <philip...@gmail.com>

khushank kashyap

unread,
Aug 9, 2011, 6:14:35 AM8/9/11
to android-...@googlegroups.com
Hi,
I have downloaded the base.git by git clone command. I have seen the media folder containing all the files related to
media player.The java files contain the native functions which have been written in c. Now i want to build this media folder.I am
new to android so i couldn't understand what u wrote. Is it possible to build this media folder in NDK or SDK.If possible please tell me the step by step.
Reply all
Reply to author
Forward
0 new messages