I have a CAF server on my Ubuntu 9.10 server and I need to convert them to MP3 or WAV. I have already tried with pacpl and ffmpeg, but it didn't work (I don't have the right encodings in Ubuntu).
Does anyone know how to convert the CAF file in Ubuntu?
Edit:
The output of the pacpl command (pacpl input.caf -to mp3
) is:
Converting: [test.caf] -> [mp3] decode failed with exit status: 256 Total files converted: 0, failed: 1
pacpl 6a27cb1fcd120491531eb8b984c536bd.caf -t wav Perl Audio Converter - 4.0.5
When decoding a Wav:
Converting: [6a27cb1fcd120491531eb8b984c536bd.caf] -> [wav] decode failed with exit status: 256
Total files converted: 0, failed: 1
Best Answer
Times have changed from the days of Ubuntu 9.10 (when this question was originally asked) and now a modern version of FFmpeg in a recent Ubuntu release has both an encoder and decoder for the caf (Core Audio Format) container. Test your own modern version of FFmpeg as follows for 'D'ecoding and 'E'ncoding with caf:
We can test with the following sample
.caf
file:And an easy conversion to mp3 with FFmpeg:
How cool is the command line :)