Ffmpeg fails on files larger than 2GB

I am encoding videos into libx264 and libfaac. Everything seems to work fine as long as the input videos are less than 2GB. My operating system is 64-bit. I am testing with a 2.06GB file, and I get the following errors:

From ffmpeg:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1cac510] moov atom not found

From ffmpeg-php:
Warning: Can’t open movie file myfile.mp4

Anyone idea how to fix this?

Below is my ffmpeg configuration.

FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 19 2011 06:41:21 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  configuration: --prefix=/usr/local/cpffmpeg --enable-shared --enable-nonfree --enable-gpl --enable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-I/usr/local/cpffmpeg/include/ --extra-ldflags=-L/usr/local/cpffmpeg/lib --enable-version3
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0

Is it entirely possible the source video is actually corrupt?

I would suggest testing and encoding to a different format too, just to rule out a bug / problem in the encoder itself at 2.06GB.

I’ve not had any problems with this myself, though I’ve not done many files that are larget than 2GB.