How to play mp3 + g on mediaplayer android

I know that we can play mp3 file in MediaPlayer. But can we play mp3 + g on android ??

I saw in the documentation on Android, but I did not see it. http://developer.android.com/guide/appendix/media-formats.html

Is there any work or library for this? Thanks

+5
source share
2 answers

I do not think Android will support MP3 + g at any time. In this case, mp3 + g "file" should be either one zip file (with two files inside), or two separate files with the same name, except for the file extension. Thus, in other MP3 games there is nothing that MediaPlayer could do, and changing MediaPlayer within the android to work on this will not be portable from device to device.

Workaround 1

Use FFMPEG to transcode and multiplex these files to another format supported, for example, mp4. Here is an example of using ffmpeg in mux mp3 + g in FLV.

Workaround 2

- Android For VLC, pre-alpha, . , VLC android mp3 + g, libvlc , , , , . VLC Android, , cpu hog, mp3 cdg, , , , , Android VLC.

3

, , Android NDK ( ).

, .

+3
0

All Articles