[Ffmpeg-devel] h.264 encoding with PPC build of x264 works on Intel Mac - Intel build fails

Laine Lee llee
Tue Mar 28 21:42:21 CEST 2006

I compiled ffmpeg (latest CVS) and x264 (Saturday's tarball 3-25) both for
PPC and Intel (not universal yet, still separate executables). I used the
same configuration for each on both platforms except I added
--enable-memalign-hack and --disable-mmx for the ffmpeg build on Intel.

When I compile and run the following command on Intel, I get "illegal
instruction". The PPC version compiled the same way works fine. I can
substitute the PPC compiled version of x264, and that works, too, so it
seems to be Intel compiling of x264 that fails. I didn't disable mmx on x264
Intel build. is that my problem? I don't know how to add that configuration
option. Can you tell me?

Any chance the cvs for ffmpeg will soon be able to be compiled without
having to add --disable-mmx?


ffmpeg -i /mpeg2.mpg -an -f rawvideo -croptop 0 -cropbottom 0 -cropleft 0
-cropright 0 -s 320x240 -r 23.976 - | x264 -A i4x4 --no-cabac -b 0 --qpmin
10 --qpmax 51 -B 672 --me hex --threads 2 --level 13 --fps 23.976 -o
/videotrack.mp4 - 320x240

Laine Lee 

More information about the ffmpeg-devel mailing list