[FFmpeg-devel] FFMPEG fails to convert .mov - "Cannot allocate temp picture"

Reimar Döffinger Reimar.Doeffinger
Mon Dec 29 09:27:36 CET 2008


On Sun, Dec 28, 2008 at 10:03:33PM +0000, Carl Eugen Hoyos wrote:
> Baptiste Coudurier <baptiste.coudurier <at> gmail.com> writes:
> 
> > >> http://the13thfloor.org/4friends/tigani-mide2.mov
> > >>
> > >> No matter what I try or the target format I choose, it always fails
> > >> with the same error:
> > >>
> >  >> [...]
> >  >>
> > >> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x177a110]stream 0, error opening file
> //tigani-mide.
> > >> mov: Invalid argument
> > 
> > Your file is a reference file pointing to external file, however an 
> > error occurs when opening external file. You should check the path and 
> > access to '//tigani-mide.mov'.
> 
> I'm not totally convinced that this is a complete analysis, but I rather think
> ffmpeg is missing something when reading this file (at least sound, but maybe
> also video).

Indeed, the video plays just fine with this (obviously wrong) patch:

Index: libavformat/mov.c
===================================================================
--- libavformat/mov.c   (revision 16380)
+++ libavformat/mov.c   (working copy)
@@ -297,6 +297,7 @@
         }
         url_fseek(pb, next, SEEK_SET);
     }
+    sc->drefs_count = 0;
     return 0;
 }
 





More information about the ffmpeg-devel mailing list