Argh, I hate when I discover something *after* I sent the email. From looking again at your error message, it looks like its actually the audio stream (0.1) that it doesn't know how to decode. It says that it is mp2, but from what you say and some googling, I suspect that the audio stream is MS ADPCM-ACM

One of the problems with ffmpeg is that it is constantly under development, and often times I have had to revert to a random older rev to get a feature working again.  Googling for your error suggested the same:

"try to use older version - FFmpeg version SVN-r10703 worked for me...." @

P.S. I suspect you will still need to also add x264 support :(

-Charles

Charles Jones wrote:
I think its the h264 that is giving you the trouble.  You need to recompile ffmpeg with the --enable-x264 option. (While you are at it, might as well also do --enable-xvid, --enable-faac. Expect to have to install some -devel package prerequisites.

-Charles

der.hans wrote:
$ ffmpeg -i cimg2112.mov cimg2112.avi FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et
al.
  configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
--enable-libgsm --enable-dc1394 --disable-debug --enable-shared
--prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Mar 12 2008 14:31:53, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu4)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'cimg2112.mov':
  Duration: 00:00:01.6, start: 0.000000, bitrate: 14266 kb/s
  Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 59.94 fps(r)
  Stream #0.1(eng): Audio: 0x1100736d, 44100 Hz, stereo
Output #0, avi, to 'cimg2112.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 1920x1080, q=2-31, 200 kb/s, 59.94
fps(c)
  Stream #0.1: Audio: mp2, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec (id=0) for input stream #0.1