I want to programmatically convert audio WAV file to a compressed audio file (IMA4 or iLBC).
What is the best way to do that?
Thanks.
Have a look at TPAACAudioConverter and iPhoneExtAudioFileConvertTest
Related
I am new in ios developement.I have created a simple voice recording using file extension of .caf format. It will record in .caf file.while tap the play button it working fine.But I want to record in .aac,mp3,wav format and also i need to implement quality like low,medium, high.
Please help me to do this.
What you can achieve is convert the .caf file to .wav or .mp3 after you have downloaded it successfully.
Here some ways are mentioned
How to use afconvert to convert from .caf to .mp3 format?
Converting mp3 to caf file for iPhone
How to convert a wav or caf audio file on iPhone
Please have a look at them . Hope they help.
I have also faced same problem.I wanted to record audio in .mp3 format, but i didn't find any code for doing that.But what you can do is you can rename the extension of your audio file.
You just rename extension .caf to .mp3 and it also works great..
You can check it..
Cheers,
Nirav
You can record a wav file by setting AVFormatIDKey to kAudioFormatLinearPCM
I am working on media recording on IOS. I was able to record with both audio and video using UIImagePickerController. For my specification I want to record only audio. Is it possible with UIImagePickerController? or Do I need to think about other methods?
thanks.
UIImagePickerController cannot be used to record audio. Instead you should take a look at the SpeakHere sample code from Apple.
Also check Audio Queue - Recording to a compressed audio format on how to record as compressed audio format and conserve disk space.
I get sample of MixerHost from developer.apple and now i want that Mix Sound to save in another audio File,
can any one Help me???
Use EXTAudioFileWriteASync to write the contents of the IOBuffer to an audio file object. This can be done in the render callback.
Then when you are done use ExtAudioFileCreateWithURL to save the audio to disk.
I want to display a video frame buffer on a OpenGLES texture.
I have download and read the GLVideoFrame sample from apple.
It's great code, but i don't understand how it's possible to modify this code for use a movie file instead of video device.
You can use AVAssetReader to read frames from a file.
I want to merger an image file and an audio file.
I have UIImage object in which I have my image.
I have also CAF audio recording of 4-5 seconds.
Now, I would like to create a movie file with image repeating for the length of audio.
Using which class/methods can I do this? Any Idea?
Thanks in Advance.
The answer to this question should help you:
How do I export UIImage array as a movie?
THe only difference is that in the question they use several UIImages, you only need to repeat the same one.
Good Luck