Someone sent me a PM asking which build of ffmpeg I'm using (for the correct AC3->AAC mapping). Not sure if I sent a reply, so I'm cc'ing a copy here.
I'm using the Zeranoe build. This is from AC3 to AAC. I didn't test the other way. (If one way comes out OK, the other should as well, but you never know.)
http://ffmpeg.zeranoe.com/builds
ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 26 2011 22:50:39 with gcc 4.5.3
configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 10. 0 / 51. 10. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 24. 0 / 2. 24. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
The AAC was created by converting the AC3 to 6-channel WAV, then piped to NeroAACEnc external encoder.
ffmpeg -i inputfile -vn -acodec pcm_s16le -ac 6 -f wav - -map 0.1 | neroAACEnc -q 0.4 -ignorelength -if - -of out.m4a
|