Hi Uander,

Hw codecs from TIOMX_Core library is still significant, and it
shouldnt be in picture if 01_Vendor_ti_omx.cfg is deleted completely.
is it like have u renamed the file? (confirm by 'ls /etc/' after android bootup)

Intention of deleting the file is, PV OMX component sw-codecs should
be chosen via /etc/pvplayer.cfg..

-Deva
On Tue, May 4, 2010 at 2:21 PM, Uander <uandro...@gmail.com> wrote:
> Hello  ,
>
> @Deva -
>
> I disable h/w acceleration by removing 01_Vendor_ti_omx.cfg file . now its
> using s/w codecs  .  But still same error comes up . logcat says :
>
> ***********
>
>
> D/omx_interface(  906): DLOPEN SUCCEEDED (libOMX_Core.so)
> D/omx_interface(  906): TIOMXInterface: library lookup success
> D/TIOMX_CORE(  906): init count = 1
> D/TIOMX_CORE(  906): Found component OMX.TI.AMR.decode with refCount 0
> D/OMX_NBAMRDEC(  906): OMX_ComponentInit():202 202 ::OMX_ComponentInit
> D/OMX_NBAMRDEC(  906): NBAMRDECHandleCommand():829 829 :: OMX_AmrDec_Utils.c
> :: Error returned from                        LCML_Init()
> W/MediaPlayer( 1441): info/warning (1, 26)
> D/OMX_NBAMRDEC(  906): NBAMRDEC_ComponentThread():102 :: Comp Thrd Exiting
> here...
> I/DEBUG   (  904): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
> *** ***
> I/DEBUG   (  904): Build fingerprint:
> 'NEC/pine/pine/pine:2.1/ERD79/eng.root.20100429.171703:eng/test-keys'
> I/DEBUG   (  904): pid: 906, tid: 1523  >>> /system/bin/mediaserver <<<
> I/DEBUG   (  904): signal 11 (SIGSEGV), fault addr 00000000
> I/DEBUG   (  904):  r0 0004a218  r1 80c20f18  r2 000006f4  r3 80c229f0
> I/DEBUG   (  904):  r4 80c230f8  r5 40b0dbac  r6 00035420  r7 00021bb8
> I/DEBUG   (  904):  r8 00100000  r9 a9d1b8e5  10 40a0e000  fp 00021b58
> I/DEBUG   (  904):  ip 00000000  sp 40b0db30  lr 80c1a69d  pc 00000000  cpsr
> a0000010
> I/DEBUG   (  904):          #00  pc 00000000
> I/DEBUG   (  904):          #01  pc 0001a69a
> /system/lib/libOMX.TI.AMR.decode.so
> I/DEBUG   (  904):          #02  pc 000010ca  /system/lib/libOMX_Core.so
>
> ************
> @Ricardo
>
> my file is AMR-NB formatted (mimetype set as audio/3gp in mediascanner.java
> ), I can find
>  {"OMX.TI.AMR.encode", "audio_encoder.amrnb"},
>  {"OMX.TI.AMR.decode", "audio_decoder.amrnb"},
>
> in platform/hardware/ti/omx/system/src/openmax_il/omx_core/src/OMX_core.c .
> so codecs support seem to listed there  .
>
> error comes up from LCML_Init () call in  OMX_AmrDec_Utils.c . that means
> its unable to load codec .
>
>
> Thanks :
> Uander
>
> On Mon, May 3, 2010 at 11:21 PM, Ricardo Martinez <oscar2...@gmail.com>
> wrote:
>>
>> Hi Uander,
>> You can disable Hardware acceleration by editing this file:
>> platform/vendor/ti/zoom2/BoardConfig.mk
>>
>> But I think it's better to find the root cause of the issue, probably the
>> first step could be to verify if the audio format is actually supported,
>> take a look at the supported OMX roles (tComponentName):
>> platform/hardware/ti/omx/system/src/openmax_il/omx_core/src/OMX_core.c
>> Thanks,
>> Ricardo
>> On Mon, May 3, 2010 at 7:54 AM, Deva R <r.deva...@gmail.com> wrote:
>>>
>>> [+porting list]
>>> you can delete  ./system/etc/01_Vendor_ti_omx.cfg in your file system,
>>> so as to use SW codecs from PVOMX components (picked up by
>>> ./system/etc/pvplayer.cfg).
>>>
>>> On Mon, May 3, 2010 at 6:23 PM, Uander <uandro...@gmail.com> wrote:
>>> > Hello   ,
>>> >
>>> > I have a file a audio/3gp file that I can play in eclair-2.1 emulator
>>> > but
>>> > its throwing error on my Zoom2
>>> > device  says "Sorry , this player doesn't support this  type of audio
>>> > file "
>>> > .
>>> >
>>> > emulator will be using s/w codecs . while zoom2 has h/w codecs . The
>>> > logic
>>> > of  MMM framework is like if h/w codecs are not present it should look
>>> > for
>>> > s/w codec . if zoom2 is not finding h/w codec for my audio/3gp file ,
>>> > it
>>> > should search for s/w codec and play file , why does it fails with
>>> > error ?
>>> >
>>> > How to disable hardware acceleration of codecs ?
>>> >
>>> > Please correct me If I am wrong .
>>> >
>>> >
>>> >
>>> >
>>> > Thanks :
>>> > Uander
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "android-platform" group.
>>> > To post to this group, send email to android-platf...@googlegroups.com.
>>> > To unsubscribe from this group, send email to
>>> > android-platform+unsubscr...@googlegroups.com.
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/android-platform?hl=en.
>>> >
>>>
>>> --
>>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>>> website: http://groups.google.com/group/android-porting
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "android-platform" group.
>> To post to this group, send email to android-platf...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> android-platform+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/android-platform?hl=en.
>
>

-- 
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