I don't know enough about QCELP to comment on how and if to modify the mp4 parser. I can try to find out.
In general, the steps to add a new OMX codec would be: (i) Add the required format, if not present, in pvmi/pvmf/include/ pvmf_format_type.h. (ii) Add the mime type in the capability of PVMFOMXAudioDecNode() or PVMFOMXVideoDecNode() [see the constructor]. if you are going to use the OpenCORE OMX-core ... (iii) Register the component in the omx registry - codecs_v2/omx/ omx_common/src/pv_omxregistry.cpp. or if you are going to provide your own OMX-core ... (iii) Have your OMX-core register this new component. (iv) Have your OMX-core dynamically loadable. Not sure about your build failures. Can you post snippets of failures? On Apr 14, 11:27 pm, chuan <[email protected]> wrote: > Dear Ravi: > question 1: > if i want intergrate other audio codec in opencore 2.0 such as > qcelp in 3gp/3g2 file, how can i modify mp4 parser to let it work? > this audio codec omx components are perpared, new codec types are > already define in pvmi\pvmf\include\pvmf_format_type.h, any where i > can add this codec is added > if you have any sugestion , pls let me knew > question2: > to enable looger i use cmd below > rm -rf out/target/product/generic/obj/include/libpv > make -j ENABLE_PV_LOGGING=1 > > but i find it cannot compile through, a lot of killed appears, why? > > looking farward for your kindly reply. > > On Feb 27, 10:27 pm, rktb <[email protected]> wrote: > > > It should be a new format in the existing container. Go through the > > existing mp4 parser and try to understand how it is structured. We can > > help you with specific questions. > > > Btw, I am assuming that you would be contributing this work back to > > OHA community. > > > -Ravi > > > On Feb 27, 1:21 am, Lucien <[email protected]> wrote: > > > > Hi, > > > Is there any documents,hints,or suggestions for me if I want > > > to implement mp3 codec in mp4 ? > > > How to start this work ? > > > And is the effort hugeous ? > > > In addition, does PV have plan or roadmap to support this > > > functionality > > > Thanks for your response > > > > On 2月24日, 下午9時13分, rktb <[email protected]> wrote: > > > > > Hi, > > > > > There is no special concern in supporting mp3 in mp4. It has not been > > > > done yet. OpenCORE currently supports 3gpp fileformats in it's mp4 > > > > parser. > > > > > -Ravi > > > > > On Feb 23, 7:10 am, Andy Quan <[email protected]> wrote: > > > > > > Ravi, > > > > > Is there any special concern about not supporting MP3 in MP4 format? > > > > > I mean > > > > > whether there are any legal issues or is this simply a technical > > > > > issue? It > > > > > seems MP3 held by MP4 is not a corner case. > > > > > > On Sat, Feb 14, 2009 at 12:15 AM, rktb <[email protected]> wrote: > > > > > > > On Feb 13, 4:34 am, Lucien <[email protected]> wrote: > > > > > > > Dear all : > > > > > > > > I have some problems to consult > > > > > > > > First, > > > > > > > Can music player list a music file with amr-wb codec in > > > > > > > 3gp > > > > > > > file > > > > > > > format ? > > > > > > > I have tried to push a test file(only audio with amr-wb > > > > > > > codec > > > > > > > in 3gp) into > > > > > > > sdcard , but music player list didn't show it > > > > > > > In addition , when I used browser to connect a web > > > > > > > server, I > > > > > > > can download > > > > > > > the test file but still can't play it > > > > > > > Moreover, if the video part of the test file(.3gp) is > > > > > > > encoded > > > > > > > with h.263 and > > > > > > > audio encoded with amr-wb codec, the media player can > > > > > > > display > > > > > > > without audio > > > > > > > output. > > > > > > > What is the problem of this issue ? > > > > > > > I tried playing 3gp files with amr-wb encoded data. It works for me. > > > > > > You need to file a bug with your specific clip so that somebody can > > > > > > take a look at it. > > > > > > > > Second problem, > > > > > > > Can music player play a music file encoded with mp3 codec > > > > > > > in > > > > > > > mp4 file > > > > > > > format ? > > > > > > > OpenCORE currently doesn't support mp3 codec in a mp4 container. > > > > > > > > At last, opencore 2.0 have been released. > > > > > > > Are those two issues supported? > > > > > > > > Thanks!! > > > > > > > > Best regards, > > > > > > > Lucien > > > > > > -- > > > > > Thanks, > > > > > Andy- 隱藏被引用文字 - > > > > > - 顯示被引用文字 -- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
