Third-party media player SDKs or other options

I am writing an application for a multimedia website that I often meet in and have a problem.

After capturing the URL of the video stream (h264 wrapped in an mp4 container) and trying to play it using the native video player, it fails. This is on my Moto Droid 2.2 (BB) and 2.3 (CM7). I tested the application on my Xoom (3.1 shares) and it works great. I also had a friend who tested this on his Xperia Arc (stock 2.3, as far as I know), and it worked for her. It makes me think that this is a hardware decoder problem, since I can perfectly reproduce the stream using the RockPlayer software decoder, but I cannot use the hardware one.

So, I have three things I want to know:

  • Does the custom Android player support software decoding? If so, how do I know if it uses hardware or software, and can I switch?

  • Are there any third-party media players with easily accessible SDKs (free)?

  • How can I open a video in another application, for example Rock Player, since I know that it works? When I download a video using a browser, it asks which video player I want to use. How can I make this pop up in my application and then send it a video?

+3
source share
2 answers

1) Does your own Android player support software decoding. if so, then as I say, if it uses hardware or is it possible to switch?

, , . "" -. - , Android NDK APK.

2) - SDK ().

MP4Box GPAC Osmo4 Android, , , . : http://sourceforge.net/apps/trac/gpac/browser/trunk/gpac/applications/osmo4_android

3) , Rock Player , , . , , , . , ?

" " ACTION_VIEW, - :

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(uri, "video/mp4");
startActivity(Intent.createChooser(intent, "View with:"));
+3

1) Android- . , , ?

, . , .

0

All Articles