[android-developers] Re: Problem with video playing

2009-03-06 Thread Eric

MPEG 4 is a family of encoding methods, of which H.264 is a video
subset, also with a family of encoding methods. The first thing you
need to do is determine what profile and level your second multimedia
file contains. They you should find out what profile and level can be
played by the H.264 codec. You will find your problem there. You
certainly exceed the level that can be handled by the codec, and
likely you exceed the encoding complexity as well.

Mobile devices generally only handle baseline profiles at low levels
with data rates limited by the EDGE class supported by the device
radio and the carrier network. Exceed any one of these, and it is not
going to work.

Formats and data rates that you can play on your computer will NOT
work on a mobile device.

On Mar 6, 1:42 am, manoj  wrote:
> Hi,
>
> I have created a small application which plays video file.
>
> I am using .mp4 files to play.
>
> Its working for only some files, but for some files, I am getting only
> audio there is no video at all.
>
> When I observed the properties of the media files,
>
> 1. Format: MPEG-4 Video, 320*240, AAC     Movie FPS:29.97, Data size:
> 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> -> PLAYING PERFECTLY
>
> 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> noramal size : 640*480, current size:640*480
> -> NO VIDEO, ONLY AUDIO.
>
> can any one please suggest me, how to solve this issue.
>
> 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
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with video playing

2009-03-06 Thread dar

There are a bunch of different ways to transcode, the path you choose
will depend, at least, on your source material and available tools.
Here's the wikipedia entry, this should be enough to get you started
in the right direction: http://en.wikipedia.org/wiki/Transcoding

On Mar 6, 1:03 pm, manoj  wrote:
> Hi dar,
>
> can you please tell me how to transcode?
>
> waiting for your reply...
>
> Thanks,
> Manoj.
>
> On Mar 6, 9:03 pm, dar  wrote:
>
>
>
> > This seems like a big hint:
>
> > W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
> > quality content?
> > E/MediaPlayer(  235): Error (44,0)
>
> > Did you transcode your content to be smaller/less bandwidth before
> > running this test according to the specs Dave gave above?
>
> > On Mar 6, 10:22 am, manoj  wrote:
>
> > > Here I am providing you my complete log file:
> > > I/ActivityManager(   52): Starting activity: Intent { comp=
> > > {bluemediaLab.vodcast.tests/
> > > bluemediaLab.vodcast.tests.MediaPlayerDemo_Video} (has extras) }
> > > D/MediaPlayerDemo(  235): surfaceCreated called
> > > I/MediaPlayer-JNI(  235): prepareAsync: surface=0x20b488 (id=2)
> > > D/MediaPlayerDemo(  235): surfaceChanged called
> > > I/ActivityManager(   52): Displayed activity
> > > bluemediaLab.vodcast.tests/.MediaPlayerDemo_Video: 224 ms
> > > E/MemoryHeapBase(  465): mmap(fd=19, size=233472) failed (Invalid
> > > argument)
> > > E/VideoMIO(  465): Error creating frame buffer heap
> > > D/MediaPlayerDemo(  235): onPrepared called
> > > W/AudioFlinger(  465): write blocked for 96 msecs
> > > W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
> > > quality content?
> > > E/MediaPlayer(  235): Error (44,0)
> > > D/MediaPlayerDemo(  235): onCompletion called
> > > D/MediaPlayerDemo(  235): surfaceDestroyed called
> > > I/DEBUG   (  464): *** *** *** *** *** *** *** *** *** *** *** *** ***
> > > *** *** ***
> > > I/DEBUG   (  464): Build fingerprint: 'android-devphone1/
> > > dream_devphone/dream/trout:1.0/UNLOCKED/116222:userdebug/test-keys'
> > > I/DEBUG   (  464): pid: 465, tid: 487  >>> /system/bin/mediaserver <<<
> > > I/DEBUG   (  464): signal 11 (SIGSEGV), fault addr 803180c8
> > > I/DEBUG   (  464):  r0 803180a8  r1 0004a80c  r2 40507e64  r3 0004a80c
> > > I/DEBUG   (  464):  r4 0004a80c  r5 0004a808  r6 800030c8  r7 1540
> > > I/DEBUG   (  464):  r8 40407bbc  r9 afe35d78  10 a9d2760d  fp 0001
> > > I/DEBUG   (  464):  ip 0010  sp 40507e60  lr 80002335  pc
> > > 80001ef2  cpsr 0030
> > > I/DEBUG   (  464):          #00  pc 80001ef2  /system/lib/
> > > libOmxCore.so
> > > I/DEBUG   (  464):          #01  pc 80002332  /system/lib/
> > > libOmxCore.so
> > > I/DEBUG   (  464):          #02  pc 8000249e  /system/lib/
> > > libOmxCore.so
> > > I/DEBUG   (  464):          #03  pc a70df844  /system/lib/
> > > libpvplayer.so
> > > I/DEBUG   (  464):          #04  pc a7172f74  /system/lib/
> > > libpvplayer.so
> > > I/DEBUG   (  464):          #05  pc a7172f92  /system/lib/
> > > libpvplayer.so
> > > I/DEBUG   (  464):          #06  pc a9d27674  /system/lib/libutils.so
> > > I/DEBUG   (  464):          #07  pc afe0ed08  /system/lib/libc.so
> > > I/DEBUG   (  464):          #08  pc afe0e87c  /system/lib/libc.so
> > > I/DEBUG   (  464): stack:
> > > I/DEBUG   (  464):     40507e20  afe35ee8
> > > I/DEBUG   (  464):     40507e24  afe1226d  /system/lib/libc.so
> > > I/DEBUG   (  464):     40507e28  0004b754  [heap]
> > > I/DEBUG   (  464):     40507e2c  40507e6c
> > > I/DEBUG   (  464):     40507e30  afe2fe38  /system/lib/libc.so
> > > I/DEBUG   (  464):     40507e34  40507e6c
> > > I/DEBUG   (  464):     40507e38  0004b500  [heap]
> > > I/DEBUG   (  464):     40507e3c  afe0dd48  /system/lib/libc.so
> > > I/DEBUG   (  464):     40507e40  2bb4
> > > I/DEBUG   (  464):     40507e44  afe2fe38  /system/lib/libc.so
> > > I/DEBUG   (  464):     40507e48  afe35d78
> > > I/DEBUG   (  464):     40507e4c  a71af168
> > > I/DEBUG   (  464):     40507e50  1540
> > > I/DEBUG   (  464):     40507e54  afe12921  /system/lib/libc.so
> > > I/DEBUG   (  464):     40507e58  df002777
> > > I/DEBUG   (  464):     40507e5c  e3a070ad
> > > I/DEBUG   (  464): #00 40507e60  0019
> > > I/DEBUG   (  464):     40507e64  afe2fe38  /system/lib/libc.so
> > > I/DEBUG   (  464):     40507e68  0004a80c  [heap]
> > > I/DEBUG   (  464):     40507e6c  800030c8
> > > I/DEBUG   (  464):     40507e70  a71af168
> > > I/DEBUG   (  464):     40507e74  80002335  /system/lib/libOmxCore.so
> > > I/DEBUG   (  464): #01 40507e78  0004b6e8  [heap]
> > > I/DEBUG   (  464):     40507e7c  80003148
> > > I/DEBUG   (  464):     40507e80  
> > > I/DEBUG   (  464):     40507e84  800024a1  /system/lib/libOmxCore.so
> > > I/ServiceManager(   26): service 'media.audio_flinger' died
> > > I/ServiceManager(   26): service 'media.player' died
> > > I/ServiceManager(   26): service 'media.camera' died
> > > W/MediaPlayer(  235): MediaPlayer server died!
> > > W/AudioSyste

[android-developers] Re: Problem with video playing

2009-03-06 Thread manoj

Hi dar,

can you please tell me how to transcode?

waiting for your reply...

Thanks,
Manoj.


On Mar 6, 9:03 pm, dar  wrote:
> This seems like a big hint:
>
> W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
> quality content?
> E/MediaPlayer(  235): Error (44,0)
>
> Did you transcode your content to be smaller/less bandwidth before
> running this test according to the specs Dave gave above?
>
> On Mar 6, 10:22 am, manoj  wrote:
>
>
>
> > Here I am providing you my complete log file:
> > I/ActivityManager(   52): Starting activity: Intent { comp=
> > {bluemediaLab.vodcast.tests/
> > bluemediaLab.vodcast.tests.MediaPlayerDemo_Video} (has extras) }
> > D/MediaPlayerDemo(  235): surfaceCreated called
> > I/MediaPlayer-JNI(  235): prepareAsync: surface=0x20b488 (id=2)
> > D/MediaPlayerDemo(  235): surfaceChanged called
> > I/ActivityManager(   52): Displayed activity
> > bluemediaLab.vodcast.tests/.MediaPlayerDemo_Video: 224 ms
> > E/MemoryHeapBase(  465): mmap(fd=19, size=233472) failed (Invalid
> > argument)
> > E/VideoMIO(  465): Error creating frame buffer heap
> > D/MediaPlayerDemo(  235): onPrepared called
> > W/AudioFlinger(  465): write blocked for 96 msecs
> > W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
> > quality content?
> > E/MediaPlayer(  235): Error (44,0)
> > D/MediaPlayerDemo(  235): onCompletion called
> > D/MediaPlayerDemo(  235): surfaceDestroyed called
> > I/DEBUG   (  464): *** *** *** *** *** *** *** *** *** *** *** *** ***
> > *** *** ***
> > I/DEBUG   (  464): Build fingerprint: 'android-devphone1/
> > dream_devphone/dream/trout:1.0/UNLOCKED/116222:userdebug/test-keys'
> > I/DEBUG   (  464): pid: 465, tid: 487  >>> /system/bin/mediaserver <<<
> > I/DEBUG   (  464): signal 11 (SIGSEGV), fault addr 803180c8
> > I/DEBUG   (  464):  r0 803180a8  r1 0004a80c  r2 40507e64  r3 0004a80c
> > I/DEBUG   (  464):  r4 0004a80c  r5 0004a808  r6 800030c8  r7 1540
> > I/DEBUG   (  464):  r8 40407bbc  r9 afe35d78  10 a9d2760d  fp 0001
> > I/DEBUG   (  464):  ip 0010  sp 40507e60  lr 80002335  pc
> > 80001ef2  cpsr 0030
> > I/DEBUG   (  464):          #00  pc 80001ef2  /system/lib/
> > libOmxCore.so
> > I/DEBUG   (  464):          #01  pc 80002332  /system/lib/
> > libOmxCore.so
> > I/DEBUG   (  464):          #02  pc 8000249e  /system/lib/
> > libOmxCore.so
> > I/DEBUG   (  464):          #03  pc a70df844  /system/lib/
> > libpvplayer.so
> > I/DEBUG   (  464):          #04  pc a7172f74  /system/lib/
> > libpvplayer.so
> > I/DEBUG   (  464):          #05  pc a7172f92  /system/lib/
> > libpvplayer.so
> > I/DEBUG   (  464):          #06  pc a9d27674  /system/lib/libutils.so
> > I/DEBUG   (  464):          #07  pc afe0ed08  /system/lib/libc.so
> > I/DEBUG   (  464):          #08  pc afe0e87c  /system/lib/libc.so
> > I/DEBUG   (  464): stack:
> > I/DEBUG   (  464):     40507e20  afe35ee8
> > I/DEBUG   (  464):     40507e24  afe1226d  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e28  0004b754  [heap]
> > I/DEBUG   (  464):     40507e2c  40507e6c
> > I/DEBUG   (  464):     40507e30  afe2fe38  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e34  40507e6c
> > I/DEBUG   (  464):     40507e38  0004b500  [heap]
> > I/DEBUG   (  464):     40507e3c  afe0dd48  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e40  2bb4
> > I/DEBUG   (  464):     40507e44  afe2fe38  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e48  afe35d78
> > I/DEBUG   (  464):     40507e4c  a71af168
> > I/DEBUG   (  464):     40507e50  1540
> > I/DEBUG   (  464):     40507e54  afe12921  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e58  df002777
> > I/DEBUG   (  464):     40507e5c  e3a070ad
> > I/DEBUG   (  464): #00 40507e60  0019
> > I/DEBUG   (  464):     40507e64  afe2fe38  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e68  0004a80c  [heap]
> > I/DEBUG   (  464):     40507e6c  800030c8
> > I/DEBUG   (  464):     40507e70  a71af168
> > I/DEBUG   (  464):     40507e74  80002335  /system/lib/libOmxCore.so
> > I/DEBUG   (  464): #01 40507e78  0004b6e8  [heap]
> > I/DEBUG   (  464):     40507e7c  80003148
> > I/DEBUG   (  464):     40507e80  
> > I/DEBUG   (  464):     40507e84  800024a1  /system/lib/libOmxCore.so
> > I/ServiceManager(   26): service 'media.audio_flinger' died
> > I/ServiceManager(   26): service 'media.player' died
> > I/ServiceManager(   26): service 'media.camera' died
> > W/MediaPlayer(  235): MediaPlayer server died!
> > W/AudioSystem(   52): AudioFlinger server died!
> > I/        (  491): ServiceManager: 0xaab8
> > I/AudioHardwareMSM72XX(  491): get_audpp_filter
> > I/AudioHardwareMSM72XX(  491): open /system/etc/AudioFilter.csv
> > success.
> > I/AudioHardwareMSM72XX(  491): ADRC Filter ADRC FLAG = .
> > I/AudioHardwareMSM72XX(  491): ADRC Filter COMP THRESHOLD = 2600.
> > I/AudioHardwareMSM72XX(  491): ADRC Filter COMP SLOPE = b333.
> > I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RMS TIME = 106.
> > I/A

[android-developers] Re: Problem with video playing

2009-03-06 Thread dar

This seems like a big hint:

W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
quality content?
E/MediaPlayer(  235): Error (44,0)


Did you transcode your content to be smaller/less bandwidth before
running this test according to the specs Dave gave above?



On Mar 6, 10:22 am, manoj  wrote:
> Here I am providing you my complete log file:
> I/ActivityManager(   52): Starting activity: Intent { comp=
> {bluemediaLab.vodcast.tests/
> bluemediaLab.vodcast.tests.MediaPlayerDemo_Video} (has extras) }
> D/MediaPlayerDemo(  235): surfaceCreated called
> I/MediaPlayer-JNI(  235): prepareAsync: surface=0x20b488 (id=2)
> D/MediaPlayerDemo(  235): surfaceChanged called
> I/ActivityManager(   52): Displayed activity
> bluemediaLab.vodcast.tests/.MediaPlayerDemo_Video: 224 ms
> E/MemoryHeapBase(  465): mmap(fd=19, size=233472) failed (Invalid
> argument)
> E/VideoMIO(  465): Error creating frame buffer heap
> D/MediaPlayerDemo(  235): onPrepared called
> W/AudioFlinger(  465): write blocked for 96 msecs
> W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
> quality content?
> E/MediaPlayer(  235): Error (44,0)
> D/MediaPlayerDemo(  235): onCompletion called
> D/MediaPlayerDemo(  235): surfaceDestroyed called
> I/DEBUG   (  464): *** *** *** *** *** *** *** *** *** *** *** *** ***
> *** *** ***
> I/DEBUG   (  464): Build fingerprint: 'android-devphone1/
> dream_devphone/dream/trout:1.0/UNLOCKED/116222:userdebug/test-keys'
> I/DEBUG   (  464): pid: 465, tid: 487  >>> /system/bin/mediaserver <<<
> I/DEBUG   (  464): signal 11 (SIGSEGV), fault addr 803180c8
> I/DEBUG   (  464):  r0 803180a8  r1 0004a80c  r2 40507e64  r3 0004a80c
> I/DEBUG   (  464):  r4 0004a80c  r5 0004a808  r6 800030c8  r7 1540
> I/DEBUG   (  464):  r8 40407bbc  r9 afe35d78  10 a9d2760d  fp 0001
> I/DEBUG   (  464):  ip 0010  sp 40507e60  lr 80002335  pc
> 80001ef2  cpsr 0030
> I/DEBUG   (  464):          #00  pc 80001ef2  /system/lib/
> libOmxCore.so
> I/DEBUG   (  464):          #01  pc 80002332  /system/lib/
> libOmxCore.so
> I/DEBUG   (  464):          #02  pc 8000249e  /system/lib/
> libOmxCore.so
> I/DEBUG   (  464):          #03  pc a70df844  /system/lib/
> libpvplayer.so
> I/DEBUG   (  464):          #04  pc a7172f74  /system/lib/
> libpvplayer.so
> I/DEBUG   (  464):          #05  pc a7172f92  /system/lib/
> libpvplayer.so
> I/DEBUG   (  464):          #06  pc a9d27674  /system/lib/libutils.so
> I/DEBUG   (  464):          #07  pc afe0ed08  /system/lib/libc.so
> I/DEBUG   (  464):          #08  pc afe0e87c  /system/lib/libc.so
> I/DEBUG   (  464): stack:
> I/DEBUG   (  464):     40507e20  afe35ee8
> I/DEBUG   (  464):     40507e24  afe1226d  /system/lib/libc.so
> I/DEBUG   (  464):     40507e28  0004b754  [heap]
> I/DEBUG   (  464):     40507e2c  40507e6c
> I/DEBUG   (  464):     40507e30  afe2fe38  /system/lib/libc.so
> I/DEBUG   (  464):     40507e34  40507e6c
> I/DEBUG   (  464):     40507e38  0004b500  [heap]
> I/DEBUG   (  464):     40507e3c  afe0dd48  /system/lib/libc.so
> I/DEBUG   (  464):     40507e40  2bb4
> I/DEBUG   (  464):     40507e44  afe2fe38  /system/lib/libc.so
> I/DEBUG   (  464):     40507e48  afe35d78
> I/DEBUG   (  464):     40507e4c  a71af168
> I/DEBUG   (  464):     40507e50  1540
> I/DEBUG   (  464):     40507e54  afe12921  /system/lib/libc.so
> I/DEBUG   (  464):     40507e58  df002777
> I/DEBUG   (  464):     40507e5c  e3a070ad
> I/DEBUG   (  464): #00 40507e60  0019
> I/DEBUG   (  464):     40507e64  afe2fe38  /system/lib/libc.so
> I/DEBUG   (  464):     40507e68  0004a80c  [heap]
> I/DEBUG   (  464):     40507e6c  800030c8
> I/DEBUG   (  464):     40507e70  a71af168
> I/DEBUG   (  464):     40507e74  80002335  /system/lib/libOmxCore.so
> I/DEBUG   (  464): #01 40507e78  0004b6e8  [heap]
> I/DEBUG   (  464):     40507e7c  80003148
> I/DEBUG   (  464):     40507e80  
> I/DEBUG   (  464):     40507e84  800024a1  /system/lib/libOmxCore.so
> I/ServiceManager(   26): service 'media.audio_flinger' died
> I/ServiceManager(   26): service 'media.player' died
> I/ServiceManager(   26): service 'media.camera' died
> W/MediaPlayer(  235): MediaPlayer server died!
> W/AudioSystem(   52): AudioFlinger server died!
> I/        (  491): ServiceManager: 0xaab8
> I/AudioHardwareMSM72XX(  491): get_audpp_filter
> I/AudioHardwareMSM72XX(  491): open /system/etc/AudioFilter.csv
> success.
> I/AudioHardwareMSM72XX(  491): ADRC Filter ADRC FLAG = .
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP THRESHOLD = 2600.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP SLOPE = b333.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RMS TIME = 106.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP ATTACK[0] = 7f7d.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP ATTACK[1] = 3096.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RELEASE[0] = 7ff7.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RELEASE[1] = 4356.
> I/AudioHardwareMSM72XX(  491): ADRC Filter COMP

[android-developers] Re: Problem with video playing

2009-03-06 Thread manoj

Here I am providing you my complete log file:
I/ActivityManager(   52): Starting activity: Intent { comp=
{bluemediaLab.vodcast.tests/
bluemediaLab.vodcast.tests.MediaPlayerDemo_Video} (has extras) }
D/MediaPlayerDemo(  235): surfaceCreated called
I/MediaPlayer-JNI(  235): prepareAsync: surface=0x20b488 (id=2)
D/MediaPlayerDemo(  235): surfaceChanged called
I/ActivityManager(   52): Displayed activity
bluemediaLab.vodcast.tests/.MediaPlayerDemo_Video: 224 ms
E/MemoryHeapBase(  465): mmap(fd=19, size=233472) failed (Invalid
argument)
E/VideoMIO(  465): Error creating frame buffer heap
D/MediaPlayerDemo(  235): onPrepared called
W/AudioFlinger(  465): write blocked for 96 msecs
W/PlayerDriver(  465): Video cannot catch up. Are you playing a high
quality content?
E/MediaPlayer(  235): Error (44,0)
D/MediaPlayerDemo(  235): onCompletion called
D/MediaPlayerDemo(  235): surfaceDestroyed called
I/DEBUG   (  464): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   (  464): Build fingerprint: 'android-devphone1/
dream_devphone/dream/trout:1.0/UNLOCKED/116222:userdebug/test-keys'
I/DEBUG   (  464): pid: 465, tid: 487  >>> /system/bin/mediaserver <<<
I/DEBUG   (  464): signal 11 (SIGSEGV), fault addr 803180c8
I/DEBUG   (  464):  r0 803180a8  r1 0004a80c  r2 40507e64  r3 0004a80c
I/DEBUG   (  464):  r4 0004a80c  r5 0004a808  r6 800030c8  r7 1540
I/DEBUG   (  464):  r8 40407bbc  r9 afe35d78  10 a9d2760d  fp 0001
I/DEBUG   (  464):  ip 0010  sp 40507e60  lr 80002335  pc
80001ef2  cpsr 0030
I/DEBUG   (  464):  #00  pc 80001ef2  /system/lib/
libOmxCore.so
I/DEBUG   (  464):  #01  pc 80002332  /system/lib/
libOmxCore.so
I/DEBUG   (  464):  #02  pc 8000249e  /system/lib/
libOmxCore.so
I/DEBUG   (  464):  #03  pc a70df844  /system/lib/
libpvplayer.so
I/DEBUG   (  464):  #04  pc a7172f74  /system/lib/
libpvplayer.so
I/DEBUG   (  464):  #05  pc a7172f92  /system/lib/
libpvplayer.so
I/DEBUG   (  464):  #06  pc a9d27674  /system/lib/libutils.so
I/DEBUG   (  464):  #07  pc afe0ed08  /system/lib/libc.so
I/DEBUG   (  464):  #08  pc afe0e87c  /system/lib/libc.so
I/DEBUG   (  464): stack:
I/DEBUG   (  464): 40507e20  afe35ee8
I/DEBUG   (  464): 40507e24  afe1226d  /system/lib/libc.so
I/DEBUG   (  464): 40507e28  0004b754  [heap]
I/DEBUG   (  464): 40507e2c  40507e6c
I/DEBUG   (  464): 40507e30  afe2fe38  /system/lib/libc.so
I/DEBUG   (  464): 40507e34  40507e6c
I/DEBUG   (  464): 40507e38  0004b500  [heap]
I/DEBUG   (  464): 40507e3c  afe0dd48  /system/lib/libc.so
I/DEBUG   (  464): 40507e40  2bb4
I/DEBUG   (  464): 40507e44  afe2fe38  /system/lib/libc.so
I/DEBUG   (  464): 40507e48  afe35d78
I/DEBUG   (  464): 40507e4c  a71af168
I/DEBUG   (  464): 40507e50  1540
I/DEBUG   (  464): 40507e54  afe12921  /system/lib/libc.so
I/DEBUG   (  464): 40507e58  df002777
I/DEBUG   (  464): 40507e5c  e3a070ad
I/DEBUG   (  464): #00 40507e60  0019
I/DEBUG   (  464): 40507e64  afe2fe38  /system/lib/libc.so
I/DEBUG   (  464): 40507e68  0004a80c  [heap]
I/DEBUG   (  464): 40507e6c  800030c8
I/DEBUG   (  464): 40507e70  a71af168
I/DEBUG   (  464): 40507e74  80002335  /system/lib/libOmxCore.so
I/DEBUG   (  464): #01 40507e78  0004b6e8  [heap]
I/DEBUG   (  464): 40507e7c  80003148
I/DEBUG   (  464): 40507e80  
I/DEBUG   (  464): 40507e84  800024a1  /system/lib/libOmxCore.so
I/ServiceManager(   26): service 'media.audio_flinger' died
I/ServiceManager(   26): service 'media.player' died
I/ServiceManager(   26): service 'media.camera' died
W/MediaPlayer(  235): MediaPlayer server died!
W/AudioSystem(   52): AudioFlinger server died!
I/(  491): ServiceManager: 0xaab8
I/AudioHardwareMSM72XX(  491): get_audpp_filter
I/AudioHardwareMSM72XX(  491): open /system/etc/AudioFilter.csv
success.
I/AudioHardwareMSM72XX(  491): ADRC Filter ADRC FLAG = .
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP THRESHOLD = 2600.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP SLOPE = b333.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RMS TIME = 106.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP ATTACK[0] = 7f7d.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP ATTACK[1] = 3096.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RELEASE[0] = 7ff7.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP RELEASE[1] = 4356.
I/AudioHardwareMSM72XX(  491): ADRC Filter COMP DELAY = 16.
I/AudioHardwareMSM72XX(  491): EQ flag = 00.
D/AudioHardwareMSM72XX(  491): Going to standby
I/AudioHardwareMSM72XX(  491): Set master volume to 5.
I/AudioHardwareMSM72XX(  491): Routing audio to Speakerphone
D/AudioHardwareMSM72XX(  491): msm72xx_enable_audpp: 0x0001
I/AudioFlinger(  491): AudioFlinger's main thread ready to run.
I/CameraService(  491): CameraService started: pid=491
E/AudioService(   52): Media server died.
E/AudioService(   52): Media server started.
D/Audi

[android-developers] Re: Problem with video playing

2009-03-06 Thread manoj

Hi,

>From my log, I found the following errrors:

E/MemoryHeapBase(  465): mmap(fd=19, size=233472) failed (Invalid
argument)
E/VideoMIO(  465): Error creating frame buffer heap

can any one help me?

Thanks,
manoj.

On Mar 6, 7:32 pm, manoj  wrote:
> ok, thanks for your reply.
>
> I have some questions in my mind, when to use which SurfaceHolder's
> type.
>
> I mean when to use SURFACE_TYPE_GPU, SURFACE_TYPE_HARDWARE ,
> SURFACE_TYPE_NORMAL, SURFACE_TYPE_PUSH_BUFFERS.
>
> Can you please explain me in detail.
>
> Thanks,
> Manoj.
>
> On Mar 6, 6:54 pm, dar  wrote:
>
> > I think Dave is saying you have to transcode down to 480x320 - the
> > maximum frame size the G1 supports.
>
> > This brings up a second question, when we grab video assets, is there
> > an api call to determine the maximum profile supported?  I suppose
> > that devices with better capabilities will come out and it would be
> > nice to be able to give the higher quality streams to the better
> > devices.
>
> > On Mar 6, 5:35 am, manoj  wrote:
>
> > > so, how can I solve it?
> > > even if I fixed the holder size to 320*240, I am not getting the
> > > video, only audio comes.
>
> > > can you please help me.
>
> > > Thanks,
> > > Manoj.
>
> > > On Mar 6, 3:16 pm, Dave Sparks  wrote:
>
> > > > If you are trying to play this on a G1, the frame size is too large.
> > > > The H.264 codec is base profile up to HVGA (480x320).
>
> > > > It's pointless to encode at VGA when the screen is HGVA - you're
> > > > wasting half your bandwidth for pixels you will never see.
>
> > > > On Mar 6, 1:42 am, manoj  wrote:
>
> > > > > Hi,
>
> > > > > I have created a small application which plays video file.
>
> > > > > I am using .mp4 files to play.
>
> > > > > Its working for only some files, but for some files, I am getting only
> > > > > audio there is no video at all.
>
> > > > > When I observed the properties of the media files,
>
> > > > > 1. Format: MPEG-4 Video, 320*240, AAC     Movie FPS:29.97, Data size:
> > > > > 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> > > > > -> PLAYING PERFECTLY
>
> > > > > 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> > > > > noramal size : 640*480, current size:640*480
> > > > > -> NO VIDEO, ONLY AUDIO.
>
> > > > > can any one please suggest me, how to solve this issue.
>
> > > > > Thanks,
> > > > > Manoj.- Hide quoted text -
>
> > > - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with video playing

2009-03-06 Thread manoj

ok, thanks for your reply.

I have some questions in my mind, when to use which SurfaceHolder's
type.

I mean when to use SURFACE_TYPE_GPU, SURFACE_TYPE_HARDWARE ,
SURFACE_TYPE_NORMAL, SURFACE_TYPE_PUSH_BUFFERS.

Can you please explain me in detail.

Thanks,
Manoj.

On Mar 6, 6:54 pm, dar  wrote:
> I think Dave is saying you have to transcode down to 480x320 - the
> maximum frame size the G1 supports.
>
> This brings up a second question, when we grab video assets, is there
> an api call to determine the maximum profile supported?  I suppose
> that devices with better capabilities will come out and it would be
> nice to be able to give the higher quality streams to the better
> devices.
>
> On Mar 6, 5:35 am, manoj  wrote:
>
> > so, how can I solve it?
> > even if I fixed the holder size to 320*240, I am not getting the
> > video, only audio comes.
>
> > can you please help me.
>
> > Thanks,
> > Manoj.
>
> > On Mar 6, 3:16 pm, Dave Sparks  wrote:
>
> > > If you are trying to play this on a G1, the frame size is too large.
> > > The H.264 codec is base profile up to HVGA (480x320).
>
> > > It's pointless to encode at VGA when the screen is HGVA - you're
> > > wasting half your bandwidth for pixels you will never see.
>
> > > On Mar 6, 1:42 am, manoj  wrote:
>
> > > > Hi,
>
> > > > I have created a small application which plays video file.
>
> > > > I am using .mp4 files to play.
>
> > > > Its working for only some files, but for some files, I am getting only
> > > > audio there is no video at all.
>
> > > > When I observed the properties of the media files,
>
> > > > 1. Format: MPEG-4 Video, 320*240, AAC     Movie FPS:29.97, Data size:
> > > > 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> > > > -> PLAYING PERFECTLY
>
> > > > 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> > > > noramal size : 640*480, current size:640*480
> > > > -> NO VIDEO, ONLY AUDIO.
>
> > > > can any one please suggest me, how to solve this issue.
>
> > > > Thanks,
> > > > Manoj.- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with video playing

2009-03-06 Thread dar

I think Dave is saying you have to transcode down to 480x320 - the
maximum frame size the G1 supports.

This brings up a second question, when we grab video assets, is there
an api call to determine the maximum profile supported?  I suppose
that devices with better capabilities will come out and it would be
nice to be able to give the higher quality streams to the better
devices.



On Mar 6, 5:35 am, manoj  wrote:
> so, how can I solve it?
> even if I fixed the holder size to 320*240, I am not getting the
> video, only audio comes.
>
> can you please help me.
>
> Thanks,
> Manoj.
>
> On Mar 6, 3:16 pm, Dave Sparks  wrote:
>
>
>
> > If you are trying to play this on a G1, the frame size is too large.
> > The H.264 codec is base profile up to HVGA (480x320).
>
> > It's pointless to encode at VGA when the screen is HGVA - you're
> > wasting half your bandwidth for pixels you will never see.
>
> > On Mar 6, 1:42 am, manoj  wrote:
>
> > > Hi,
>
> > > I have created a small application which plays video file.
>
> > > I am using .mp4 files to play.
>
> > > Its working for only some files, but for some files, I am getting only
> > > audio there is no video at all.
>
> > > When I observed the properties of the media files,
>
> > > 1. Format: MPEG-4 Video, 320*240, AAC     Movie FPS:29.97, Data size:
> > > 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> > > -> PLAYING PERFECTLY
>
> > > 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> > > noramal size : 640*480, current size:640*480
> > > -> NO VIDEO, ONLY AUDIO.
>
> > > can any one please suggest me, how to solve this issue.
>
> > > Thanks,
> > > Manoj.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with video playing

2009-03-06 Thread manoj

so, how can I solve it?
even if I fixed the holder size to 320*240, I am not getting the
video, only audio comes.

can you please help me.

Thanks,
Manoj.

On Mar 6, 3:16 pm, Dave Sparks  wrote:
> If you are trying to play this on a G1, the frame size is too large.
> The H.264 codec is base profile up to HVGA (480x320).
>
> It's pointless to encode at VGA when the screen is HGVA - you're
> wasting half your bandwidth for pixels you will never see.
>
> On Mar 6, 1:42 am, manoj  wrote:
>
> > Hi,
>
> > I have created a small application which plays video file.
>
> > I am using .mp4 files to play.
>
> > Its working for only some files, but for some files, I am getting only
> > audio there is no video at all.
>
> > When I observed the properties of the media files,
>
> > 1. Format: MPEG-4 Video, 320*240, AAC     Movie FPS:29.97, Data size:
> > 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> > -> PLAYING PERFECTLY
>
> > 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> > noramal size : 640*480, current size:640*480
> > -> NO VIDEO, ONLY AUDIO.
>
> > can any one please suggest me, how to solve this issue.
>
> > 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
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with video playing

2009-03-06 Thread Dave Sparks

If you are trying to play this on a G1, the frame size is too large.
The H.264 codec is base profile up to HVGA (480x320).

It's pointless to encode at VGA when the screen is HGVA - you're
wasting half your bandwidth for pixels you will never see.

On Mar 6, 1:42 am, manoj  wrote:
> Hi,
>
> I have created a small application which plays video file.
>
> I am using .mp4 files to play.
>
> Its working for only some files, but for some files, I am getting only
> audio there is no video at all.
>
> When I observed the properties of the media files,
>
> 1. Format: MPEG-4 Video, 320*240, AAC Movie FPS:29.97, Data size:
> 3.76, Data Rate:316.03 kbps, noram size:320*240, current size:320*240
> -> PLAYING PERFECTLY
>
> 2. Format:h.264, 640*480, AAC Movie FPS: 29.97  data size:25.76 MB
> noramal size : 640*480, current size:640*480
> -> NO VIDEO, ONLY AUDIO.
>
> can any one please suggest me, how to solve this issue.
>
> 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
-~--~~~~--~~--~--~---