[Ffmpeg-devel] Illegal instruction

Måns Rullgård mans
Wed Mar 14 10:33:49 CET 2007

Alex2000deluxe at web.de writes:

> Hi All,
> Sorry when Im posting the same Problem from user-mailing list to
>devel-mailing list. I tried all users advises but I could not solve
>the problem and hope that developers can help me.
> i have troubles converting h264 to dv using ffmpeg. The error i get
> is "Illegal instruction" (not very informative).  Exact the command
> line execution works fine on my SuSe linux system (ffmpeg version
> SVN-r8287), but not on Mac (ffmpeg version SVN-r8287).  I played a
> lot with ffmpeg flags, but nothing helps. Every time i got "Illegal
> instruction".

8287 is more than 100 revisions old.  You should try the latest.

> Here is the command line i try to execute: 
> ffmpeg -i test.avi -y -s pal -r pal -ac 2 -ar 48000 test.avi.dv
> FFmpeg version SVN-r8287, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --prefix=/opt/local --disable-vhook --mandir=/opt/local/share/man --extra-cflags=-DHAVE_LRINTF --extra-cflags=-I/opt/local/include --extra-ldflags=-d -L/opt/local/lib --disable-ffplay --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-x264 --enable-pthreads

Why the -DHAVE_LRINTF?  If you have the lrintf() function and the
detection is failing, it should be fixed.  Please post your config.err
file produced by configure.

> Illegal instruction

Is this a PPC Mac?  If so, try whether --disable-altivec makes the
problem go away.  Encoding will be quite slow, but it should not

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list