When was the last time you did your "repo sync"?

When you "push" the content, do you see any error? Are you sure the
sdcard is working for any other application?

Note that on master, the sdcard functionality is broken.
http://code.google.com/p/android/issues/detail?id=2335



On Apr 21, 6:30 am, chuan <terr...@gmail.com> wrote:
> I modify MediaScanner.java MediaFile.java too, but no file can be
> scanned out successfully as well as .mp4/3gp/3g2
>
> On Apr 21, 6:23 pm, chuan <terr...@gmail.com> wrote:
>
> > Dear Ravi,
> >    I met a problem when testing video/audio playbak on opencore 2.0, I
> > can't scan out media files that I push into the sdcard, my step as
> > below:
> >    1.  adb push test.mp4 sdcard/  (or other audio/video files)
> >    2.  reset emulator and run it using "emulator -sdcard sdcard.img"
> >    This happen when I change opencore from 1.x to 2.0. In opencore 1.x
> > it can always work and i can find media file in Music or VideoPlayer
> > app, but now i cannot get them.
> >    The difference is In opencore 1.x I use Scanner in Dev Tool to scan
> > files,while in 2.0 I have  to reset  emulator( it seems scan work is
> > done when emulator is set up). I only get a file occasionally.
> >    AND, if I want to scan out a new file format(such as .awb or .qcp),
> > what need to be done except modify mediascanner.cpp ? ( only scan out,
> > other work is beyond consideration)
> >    Many thanks!
>
> > On Apr 15, 10:40 pm, Ravi <yend...@pv.com> wrote:
>
> > > On Apr 15, 7:11 am, chuan <terr...@gmail.com> wrote:> Dear Ravi:
> > > >    Thank so much for your quickly reply, as i am try hard to figure it
> > > > out .
> > > >     Now i wish to share my plan and wish get help from you.
> > > >     1. modify mp4 parer src code to support the audio codec(modify
> > > > atomdefs.h  sampledescriptionatom.h and some other .cpp).
> > > >     2. modify mp4parser node code ,add audio codec type  support.
> > > >     3. use OpenCORE OMX-core to register my new omx component, add
> > > > codec type or registration to omx related file.
> > > >     from above steps, i have some question:
> > > >    (1) as you know opencore version 1.x  has a simpler omx component
> > > > interface, but in 2.0  the interface is more complex, why? it make me
> > > > to wrap the interface
> > > >  in cpp file.
>
> > >  Actually, I don't know this. I am not aware of any change of OMX
> > > component interface. Can you please point me to an example?>    (2) and 
> > > if  i want use  my own OMX-core (i'm going to do so), how
> > > > can i do the job as you say? i read the omx intergrate doc, but  i
> > > > could not understand it fully.
>
> > > Here is a thread where someone was able to do 
> > > so.http://groups.google.com/group/android-framework/browse_thread/thread....
> > > Let us know if you still have questions.>    (3) today i try to get the 
> > > pv log out to debug ,but failed to do
> > > > so, as you know in version 1.x i can modify two head files and one cpp
> > > > to get the log out, i have try to  make with
> > > >          ENABLE_PV_LOGGING=1  and even try to modify some log related
> > > > head files, but i got nothing. you know it cost a lot of time, and
> > > > can't use log message to debug make me upset.
>
> > > This should still work. Folks here have also been able to get logs
> > > through this method. Let me see if I can patch up something to get the
> > > logs more easily.
>
> > > >     looking forward for your  reply expecial question(3) , thx!
>
> > > > On Apr 15, 4:10 pm, Ravi <yend...@pv.com> wrote:
>
> > > > > 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 <terr...@gmail.com> 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 <yend...@pv.com> 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 <loisen0...@gmail.com> 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 <yend...@pv.com> 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 <androidr...@gmail.com> 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 <yend...@pv.com> 
> > > > > > > > > > wrote:
>
> > > > > > > > > > > On Feb 13, 4:34 am, Lucien <loisen0...@gmail.com> 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 -- Hide quoted text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- 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 android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to