|
From: Chris B. <ch...@cn...> - 2009-01-01 01:24:19
|
Jugdish wrote: >> I have not had a chance to try this myself but you may be able to get it >> working with an addtional option. Right now we do not directly map aac >> files to ffmpeg handler. We do map mp4 and m4a file extensions though >> which I think are the same thing (I don't have any non-encrypted aac >> files so don't really know if they are the same for sure). >> >> Try something like this: play -t ffmpeg input.aac >> >> Let us know if it works and we can make a small change to map aac file >> extensions to ffmpeg handler. >> > > Gave this a try, and produced this error: > > >> play -t ffmpeg audio.aac >> > play ffmpeg: ffmpeg could not open CODECs for audio.aac > play formats: can't open input `audio.aac': > > Does this mean I don't have things correctly configured, or just that > it doesn't know how to decode AAC? > > Since I've not used ffmpeg for aac support yet, I'm not sure if it tells us anything. It will be helpful to verify that your version of ffmpeg actually has faac/faad support linked in. There is probably an easier way but try this. Run this commnand on where ever you installed sox: ldd /usr/local/lib/sox/libsox_fmt_ffmpeg.so Look for the line were its referencing libavcodec.so.*. If you don't find libsox_fmt_ffmpeg.so or it doesn't link to libavcodec.so then its a compile issue with SoX. Next, run ldd on that: ldd /usr/lib/sse2/libavformat.so.52 Make sure you see references to libfaac.so and libfaad.so. If not then your ffmpeg libraries need some updates. If its there then somehow SoX is not working with aac files and its not ffmpeg's issue. Chris |