[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 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.
>
>

Hi,

I believe this might be related to this problem:

http://libav-users.943685.n4.nabble.com/Libav-user-Building-with-MSVC-toolchain-resulting-in-seeking-problem-td4656914.html

There was a patch made for that (on March 12th):

Commit:713ac21097555722257343494f83999068006653
* avutil/os_support: use 64-bit fstat/lseek variants for MSVC as well

http://ffmpeg.org/pipermail/ffmpeg-cvslog/2013-March/061893.html

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.

regards,
Bjoern


More information about the Libav-user mailing list