Hi, I am trying to run a sample media file (.mp4/ H.264 avc1 format)
with the APIDemos's Mediaplayer on emulator, but I only see a blank
screen. If I understand correctly then support for .mp4 files already
exists with Android.
Doing logcat on emulator shows the following:
$ adb -s emulator-5554 logcat
W/KeyCharacterMap( 169): No keyboard for id 0
W/KeyCharacterMap( 169): Using default keymap: /system/usr/keychars/
qwerty.k
D/MediaPlayerDemo( 169): surfaceDestroyed called
I/ActivityManager( 52): Starting activity: Intent
{ cmp=com.example.android
D/MediaPlayerDemo( 169): surfaceCreated called
W/PlayerDriver( 31): Using generic video MIO
D/AudioSink( 31): bufferCount (4) is too small and increased to 12
W/MediaPlayer( 169): info/warning (1, 44)
D/MediaPlayerDemo( 169): surfaceChanged called
I/MediaPlayer( 169): Info (1,44)
D/MediaPlayerDemo( 169): onPrepared called
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
I/ActivityManager( 52): Displayed activity
com.example.android.apis/.media.
V/MediaPlayerDemo( 169): onVideoSizeChanged called
V/MediaPlayerDemo( 169): startVideoPlayback
D/MediaPlayerDemo( 169): surfaceChanged called
W/AudioFlinger( 31): write blocked for 70 msecs, 1 delayed writes,
thread 0
E/SurfaceFlinger( 52): layer 0x33d098, texture=5, using format 114,
which i
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
I/MediaPlayer( 169): Info (1,16)
E/PVOMXVidDecNode( 31): Ln 1373 OMX_EventError nData1 -2147479541
nData2 0
W/MediaPlayer( 169): info/warning (1, 16)
...
...
....
I have already tried setting the resolution of the emulator to be
higher than that of the mp4 file's resolution.
Any ideas/ suggestions what could be wrong?
Thanks in advance,
Divkis
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en