Hello everybody.
I am using the afconvert command line utility to convert an audio file from .caf
to .mp3
format. I have used afconvert
:
afconvert -f 'MPG3 ' -d '.mp3' -v input.caf output.mp3
But this gives me the following error:
Input file: input.caf, 19008 frames
Error: ExtAudioFileSetProperty ('cfmt') failed ('fmt?')
I have also tried the following:
afconvert -f 'MPG3 ' -d LEI32@44100 -v input.caf output.mp3
This also gives me the error:
Input file: min.caf, 19008 frames
Error: ExtAudioFileCreateWithURL failed ('fmt?')
I couldn't figure out why is this giving error.
Can anybody guide me in solving this problem?
Thanks in an advance.