0

Already asked this question, but didn't get a response, so I'm asking it again. please bear with me. :)

How can I play DivX and other non-standard format videos ( flv, mov, etc. ) in my android app?

The only library I found was Vitamio, it does play those files, but only if the user installs an additional plugin Vitamio plugin.

Is there any way around this? either using some other library or somehow including that plugin in my app?

Thansk!

Roger Travis
  • 8,402
  • 18
  • 67
  • 94
  • Some of these formats are proprietary, which means you need to pay for a licence, however you might want to look into VLC, it's open source and can play darn near everything. – VoronoiPotato Aug 07 '12 at 12:21

1 Answers1

0

FFMPEG is what you need. Rock Player uses FFMpeg to play the video. Here's the source code

NcJie
  • 812
  • 7
  • 14
  • looks like it's something in C++, right? are there any java ports? – Roger Travis Aug 07 '12 at 13:08
  • Yes it's C, we can compile the library by using Android NDK, then it will produce a .so file. In order to execute the so file, u will need java jni. – NcJie Aug 07 '12 at 13:54
  • This has been discussed a lot in stackoverflow. Take a look at this [this](http://stackoverflow.com/questions/4725773/ffmpeg-on-android) – NcJie Aug 07 '12 at 13:55