IOS 5 how to write FLAC or encode from CAFF to FLAC

At first I tried FFMPEG to encode CAFF for FLAC, but the IOS SDK does not have NSTask in it. I heard that there is another way to convert CAFF to FLAC using libFlac, I found the correct libflac.a in the scumvm project, but I have absolutely no examples of using libflac. Can someone please help me?

+6
source share
2 answers

I know I'm late, but this solution is for everyone trying to encode a FLAC audio file. Here you will find a speech recognition tutorial on the iPhone, the purpose of which is to record a Wave sound file and convert it to FLAC using libFlac.a

http://8byte8.com/blog/2012/07/voice-recognition-ios/

Hope this helps !:-)

+1
source

There are some small examples of how to use libflac with C or C ++ here:

http://flac.cvs.sourceforge.net/flac/flac/examples/

I think there used to be an example about encoding / decoding.

Hope this helps.

0
source

Source: https://habr.com/ru/post/900330/


All Articles