Hi friends,

I have written a video player application. It is somewhat working
fine.

I have some media files which are playing fine.

I have some media files which are not playing at all.

Here is a brief description of my problem:
                                        (container           video_codec
audio_codec        FPS       video_size)
video1 - playing properly       mp4           h.264                AAC
           29.97              320*240
video2- not playing at all.      mp4          h.264
AAC                29.97              640*480


Scenario:
I tried to play video1 once i opened the application. video 1 plays
properly with both audio and video.
Now i tried to play video2. It gives a blank screen and nothing else..
no audio and no video
Now i tried to play video1. It gives a blank screen with audio. So
audio output is getting done but there is no video display.

I am getting the error as:
E/MemoryHeapBase( 5672): mmap(fd=19, size=233472) failed (Invalid
argument)
E/VideoMIO( 5672): Error creating frame buffer heap


Here is the complete log that i got from ddms:
I/MediaPlayerDemo( 5645): onCREATE() CALLED!!!
D/MediaPlayerDemo( 5645): surfaceCreated called
I/MediaPlayer-JNI( 5645): prepareAsync: surface=0x1e6478 (id=2)
D/MediaPlayerDemo( 5645): surfaceChanged called
I/ActivityManager(   60): Displayed activity
bluemediaLab.vodcast_939/.MediaPlayerDemo_Video: 204 ms
E/MemoryHeapBase( 5672): mmap(fd=19, size=233472) failed (Invalid
argument)
E/VideoMIO( 5672): Error creating frame buffer heap
D/MediaPlayerDemo( 5645): onPrepared called
I/MediaPlayerDemo( 5645): width->320 , height->240
I/MediaPlayerDemo( 5645): [before setting]HOLDER WIDTH->320 ,HOLDER
HEIGHT->430
I/MediaPlayerDemo( 5645): [after setting]HOLDER WIDTH->320 ,HOLDER
HEIGHT->430
W/AudioFlinger( 5672): write blocked for 109 msecs
I/MediaPlayerDemo( 5645): -> onError() called!!!
I/MediaPlayerDemo( 5645): -> new media error:44
I/MediaPlayerDemo( 5645): -> extra data:0


can any one please help me.

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

Reply via email to