[FFmpeg-devel] Encoding to SWF with -vcodec mjpeg creates an unreadable SWF

Alexander Almaleh sashoalm
Wed Apr 28 17:21:47 CEST 2010


I'll post as soon as I can compile the latest svn. Right now I'm having some
problems compiling it in MinGW, it gives me a bunch of errors and stops. The
errors are in stdio.h, time.h and math.h, but 0.5.1 compiles without any
problems using the same compiler and headers and all. Anyway, I'll try to
compile it on a linux box later.

Here's the output of make in case it is of any interest.

In file included from ./libavformat/avformat.h:55,
                 from libavdevice/alldevices.c:22:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/stdio.h:372:
error: no previous prototype for 'getc'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/stdio.h:379:
error: no previous prototype for 'putc'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/stdio.h:386:
error: no previous prototype for 'getchar'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/stdio.h:393:
error: no previous prototype for 'putchar'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/stdio.h:606:
error: no previous prototype for 'vsnwprintf'
In file included from ./libavutil/common.h:31,
                 from ./libavutil/avutil.h:81,
                 from ./libavcodec/avcodec.h:30,
                 from ./libavformat/avformat.h:56,
                 from libavdevice/alldevices.c:22:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/inttypes.h:259:
error: no previous prototype for 'imaxabs'
In file included from ./libavutil/common.h:33,
                 from ./libavutil/avutil.h:81,
                 from ./libavcodec/avcodec.h:30,
                 from ./libavformat/avformat.h:56,
                 from libavdevice/alldevices.c:22:
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:357:
error: no previous prototype for '__fpclassifyl'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:378:
error: no previous prototype for '__isnan'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:387:
error: no previous prototype for '__isnanf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:396:
error: no previous prototype for '__isnanl'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:413:
error: no previous prototype for '__signbit'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:419:
error: no previous prototype for '__signbitf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:425:
error: no previous prototype for '__signbitl'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:459:
error: no previous prototype for 'sinhf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:463:
error: no previous prototype for 'coshf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:467:
error: no previous prototype for 'tanhf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:489:
error: no previous prototype for 'expf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:505:
error: no previous prototype for 'frexpf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:517:
error: no previous prototype for 'ldexpf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:597:
error: no previous prototype for 'hypotf'
c:\mingw\bin\../lib/gcc/mingw32/4.2.1-sjlj/../../../../include/math.h:602:
error: no previous prototype for 'powf'
make: *** [libavdevice/alldevices.o] Error 1



More information about the ffmpeg-devel mailing list