And what version of android win32 sdk doy you use?
On May 4, 2:28 pm, david 1 <david...@gmail.com> wrote: > So far, I've not made "test_pvauthorengine -test" work correctly, either. I > tested recording amr & encoding qcelp all based on the OpenCore-2.00. They > all work well. > > 'Record Audio' is just an App written in Java. You can find its source under > packages/apps/SoundRecorder. And as it's well known, the App just supports > encoding ARM default. You should modify it to meet your requirements by > SIMULATING the case of AMR. Additionally, there's a switcher to control the > current ContentType to record in > packages/apps/Mms/src/com/android/mms/ui/MessageUtils.java. Just modify the > func 'recordSound' to support qcelp also. In the file -- > frameworks/base/media/java/android/media/MediaRecorder.java, there're > AudioOutput & AudioEncoder enums, please adding Qcelp respectively to them. > Above is the base & key work needing to do. The left is just to debug it > step by step till the end. > > If you want to try AMR only, do not modify anything. It should already > work well default. > > Maybe there's difference between 2.00 and 2.02. Just play it by ear. > > Finally, with 'logcat', you can find all info when testing your case, what > you need to do is just trace it & find the error & resolve it step by step. > You'll be sure to success. > > david > > 2009/5/4 chuan <terr...@gmail.com> > > > > > > > Hi David, > > Thank you for your quick reply. > > > 1. Now, omx encoder component is ready, and the encoder is sucessful > > registed into opencore(similar as other decoder component). > > If i want record into .qcp file, except pvmf_fileoutput > > related .cpp , what other code need to be modify? > > 2. I have try some test methods to record file, no one can work. as > > you mention the Record Audio in MMS seems doesn't work, i also try > > "test_pvauthorengine -test" > > command to test. Would you kindly provide me a useful way to test > > (first record .amr file,then record .qcp file) ? > > > i read your other post that you met "test_pvauthorengine -test" > > problem before , how did you get through? > > > On May 4, 11:21 am, david 1 <david...@gmail.com> wrote: > > > Basically, what you need to do is create a OMX node for QCELP encoder > > and > > > make it be registered in OpenCore, at this moment, many files are > > referred, > > > e.g. pv_omxcore.cpp, pv_omxregistry.cpp and so on. And as outputting is > > > concerned, pvmf_fileoutput_inport.cpp, pvmf_fileoutput_node.cpp should > > also > > > be modified to support qcelp. All in one word, you can do it by > > simulating > > > AMR. And by tracing the log, try, try and try... While, no composer is > > > needed at this moment. > > > > To test video encoding, one selection is to use the existing App which is > > > one of the attachments of Mms. > > > > david > > > > 2009/5/4 chuan <terr...@gmail.com> > > > > > Hi David, > > > > I'm trying to test audio encoder in opencore 2.02, and i think you > > > > may help me out with this. > > > > Similar to you, I need to test qcelp encoder in opencore 2.02, by > > > > you experience, what need to be done with this? > > > > Need i implement a composer if i only want it recorded in qcp file? > > > > or i only need to modify some codes in the opencore framework ?(omx > > > > qcelp encoder is already done ) > > > > > And, how did you do video recording work ? using which app? > > > > > On Apr 26, 4:31 pm, david <david...@gmail.com> wrote: > > > > > hi all, > > > > > > I just experienced the video recording on G1 based on the system.img > > > > > of android-1.0. The process just lasts about 3 seconds, then blocks. > > > > > And the generated file is empty. What's the matter? Doesn't this > > > > > version support video recording, yet? If not, will the OpenCore-2.01 > > > > > or 2.02 in Android-1.5 support it? Thanks a lot. > > > > > > (I've post this message at android-developers, and I'm advised to > > move > > > > > it here.) > > > > > > david- 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 -~----------~----~----~----~------~----~------~--~---