[Libav-user] Failure to read quicktime movie with FFMPEG 1.2.1 when built with Visual studio, works fine with today's git though
bjoern.drabeck at gmail.com
Thu May 23 03:54:05 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.
I believe this might be related to this problem:
There was a patch made for that (on March 12th):
* avutil/os_support: use 64-bit fstat/lseek variants for MSVC as well
This fix didn't make it into the 1.2 release of ffmpeg though
If you need to use 1.2 then maybe you can apply this yourself.
More information about the Libav-user