Hi dar,

can you please tell me how to transcode?

waiting for your reply...

Thanks,
Manoj.


On Mar 6, 9:03 pm, dar <[email protected]> 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 <[email protected]> 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 00001540
> > I/DEBUG   (  464):  r8 40407bbc  r9 afe35d78  10 a9d2760d  fp 00000001
> > I/DEBUG   (  464):  ip 00000010  sp 40507e60  lr 80002335  pc
> > 80001ef2  cpsr 00000030
> > 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  00002bb4
> > I/DEBUG   (  464):     40507e44  afe2fe38  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e48  afe35d78
> > I/DEBUG   (  464):     40507e4c  a71af168
> > I/DEBUG   (  464):     40507e50  00001540
> > I/DEBUG   (  464):     40507e54  afe12921  /system/lib/libc.so
> > I/DEBUG   (  464):     40507e58  df002777
> > I/DEBUG   (  464):     40507e5c  e3a070ad
> > I/DEBUG   (  464): #00 40507e60  00000019
> > 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  00000000
> > 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 = ffff.
> > 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/AudioHardwareMSM72XX(  491): setVoiceVolume(1.000000)
> > I/AudioHardwareMSM72XX(  491): Setting in-call volume to 5 (available
> > range is 0 to 5)
> > D/SurfaceFlinger(   52): About to give-up screen, flinger = 0x14f7e0
> > D/dalvikvm(   52): GC freed 19707 objects / 889768 bytes in 325ms
> > D/WifiStateTracker(   52): Deconfiguring interface and stopping DHCP
> > W/Smack/Packet(  127): notify conn break (IOEx), close connection
> > D/Smack   (  127): [XMPPConn] close connection, notifyClosed=false
> > W/Smack/Packet(  127): notify conn break (IOEx), close connection
> > D/Smack   (  127): [XMPPConn] close: socket already closed, bail
> > D/GpsLocationProvider(   52): updateNetworkState unavailable
> > D/dalvikvm(  191): GC freed 93 objects / 4584 bytes in 101ms
> > D/dalvikvm(   52): GC freed 20009 objects / 925008 bytes in 271ms
> > D/dalvikvm(   52): GC freed 17478 objects / 842136 bytes in 284ms
> > D/KeyguardViewMediator(   52): wakeWhenReadyLocked(82)
> > D/KeyguardViewMediator(   52): handleWakeWhenReady(82)
> > D/KeyguardViewMediator(   52): pokeWakelock(5000)
> > D/SurfaceFlinger(   52): Screen about to return, flinger = 0x14f7e0
> > D/WifiStateTracker(   52): DhcpHandler: DHCP request started
> > D/KeyguardViewMediator(   52): pokeWakelock(5000)
> > D/WifiWatchdogService(   52): (android.server.ServerThread) NETGEAR
> > (00:1b:2f:fe:4e:28) does not require the watchdog
> > D/GpsLocationProvider(   52): updateNetworkState available
> > D/GpsLocationProvider(   52): NetworkThread wait for 12065480ms
> > I/ActivityManager(   52): Stopping service:
> > com.android.providers.downloads/.DownloadService
>
> > On Mar 6, 7:56 pm, manoj <[email protected]> wrote:
>
> > > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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,
>
> ...
>
> read more »- 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to