[Libav-user] Failure to read quicktime movie with FFMPEG 1.2.1 when built with Visual studio, works fine with today's git though

Rothkin, Steve (NY81) Steve.Rothkin at Honeywell.com
Wed May 22 22:46:58 CEST 2013

I have a particular quicktime .mov file that is 2,586,525,646 bytes (unfortunately, I cannot share it due to license restrictions).

With a Visual Studio 2012 build of the 1.2.1 source I get
[mov,mp4,m4a,3gp,3g2,mj2 @ 06FFAE60] moov atom not found
When I try to open the file with av_format_open.

When I do the same build with the source from git on 2013-05-22 I am able to read the file fine.

Furthermore, the 1.2.1 source cross-compiled in Cygwin for Windows also works fine (but some operations crash when using lots of threads in a Visual Studio 2005 program, a problem that seems to go away with the Visual Studio 2012 builds.

The file details are:
768x576 yuvj422p mjpeg file
               time_base=1/25 (0.0400)  duration=690600000 (690.6000)
               Codec time_base=1/25 (0.0400)  ticks_per_frame=1  has_b_frames=0
               Stream time_base=1/25 (0.0400)  r_frame_rate=25/1 (25.0000)  avg_frame_rate=25/1 (25.0000)  duration=17265 (690.6000)  frames=17265

The Visual Studio 2012 builds (in MSYS) were done with

    ./configure --toolchain=msvc --arch=i686 --enable-shared --disable-static --disable-programs --disable-doc  --disable-swresample --disable-postproc  --disable-zlib --disable-bzlib --enable-runtime-cpudetect --prefix=$ARGUSLIBS/lib/ffmpeg/other --libdir=$ARGUSLIBS/lib/ffmpeg --shlibdir=$ARGUSLIBS/lib/ffmpeg --incdir=$ARGUSLIBS/include/ffmpeg --extra-ldflags="-DEBUG -INCREMENTAL:NO -OPT:REF" --optflags="-Zi -O2 -Oy-" --extra-cflags="-I/m"

The cygwin cross compile build was done with

   ./configure --target-os=mingw32 --cross-prefix=i686-pc-mingw32-  --enable-shared --disable-static --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin --disable-programs --disable-doc  --disable-swresample --disable-postproc  --disable-zlib --disable-bzlib --disable-pthreads --disable-os2threads --enable-w32threads --arch=x86 --enable-runtime-cpudetect --prefix=$HOME/argus-libs/lib/ffmpeg/other --libdir=$HOME/argus-libs/lib/ffmpeg --shlibdir=$HOME/argus-libs/lib/ffmpeg --incdir=$HOME/argus-libs/include/ffmpeg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130522/1d1b3523/attachment.html>

More information about the Libav-user mailing list