On x86 (Gentoo Linux) the x264 encoder compil fine (pthread enable) but when using it , i get an segfault <br><br>[*] mencoder :<br><br>GNU gdb 6.6<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are
<br>welcome to change it and/or distribute copies of it under certain conditions.<br>Type &quot;show copying&quot; to see the conditions.<br>There is absolutely no warranty for GDB.&nbsp; Type &quot;show warranty&quot; for details.
<br>This GDB was configured as &quot;i686-pc-linux-gnu&quot;...<br>(no debugging symbols found)<br>Using host libthread_db library &quot;/lib/libthread_db.so.1&quot;.<br>(gdb) run MOVIE.EVO -vc ffvc1 -fps 24000/1001 -of rawvideo -ofps 24000/1001 -ovc x264 -x264encopts bitrate=3878:pass=1:subq=4:me=dia:frameref=5:bframes=2:b_pyramid:weight_b:direct_pred=auto:partitions=all:qcomp=
0.75:ip_factor=1.10:pb_factor=1.40:threads=2 -vf crop=1920:784:0:148 -nosound -o /dev/null<br>Starting program: /usr/bin/mencoder MOVIE.EVO -vc ffvc1 -fps 24000/1001 -of rawvideo -ofps 24000/1001 -ovc x264 -x264encopts bitrate=3878:pass=1:subq=4:me=dia:frameref=5:bframes=2:b_pyramid:weight_b:direct_pred=auto:partitions=all:qcomp=
0.75:ip_factor=1.10:pb_factor=1.40:threads=2 -vf crop=1920:784:0:148 -nosound -o /dev/null<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>
(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>
(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>
(no debugging symbols found)<br>(no debugging symbols found)<br>MEncoder dev-SVN-r24537 (C) 2000-2007 MPlayer Team<br>CPU: Intel(R) Core(TM)2 CPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6600&nbsp; @ 2.40GHz (Family: 6, Model: 15, Stepping: 6)<br>CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
<br>Compilé avec détection du CPU à l&#39;exécution.115 codecs audio &amp; 236 codecs vidéo<br>succès : format : 0&nbsp; data : 0x0 - 0x5bca1000<br>Fichier de type MPEG-PS détecté.<br>Searching for VC1 sequence header... found
<br>VIDEO:&nbsp; VC-1&nbsp; 1920x1080, 29.970 fps, header len: 33<br>[V] filefmt:2&nbsp; fourcc:0x31435657&nbsp; size:1920x1080&nbsp; fps:29.97&nbsp; ftime:=0.0334<br>Le fps d&#39;entrée sera plutôt interprété comme 23.98<br>Ouverture du filtre vidéo : [expand osd=1]
<br>Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1<br>Ouverture du filtre vidéo : [crop w=1920 h=784 x=0 y=148]<br>Crop: 1920 x 784, 0 ; 148<br>==========================================================================
<br>Codec vidéo forcé : ffvc1<br>Ouverture du décodeur vidéo : [ffmpeg] FFmpeg&#39;s libavcodec codec family<br>Codec vidéo choisi : [ffvc1] vfm : ffmpeg (FFmpeg M$ WVC1)<br>==========================================================================
<br>VDec : requête de config de vo - 1920 x 1080 (espace colorimétrique préferé : Planar YV12)<br>VDec: using Planar I420 as output csp (no 1)<br>L&#39;aspect du film est 1.78:1 - pré-redimensionnement à l&#39;aspect correct.
<br>x264 [info]: using SAR=1/1<br>x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSSE3<br>New_Face failed. Maybe the font path is wrong.<br>Please supply the text font file (~/.mplayer/subfont.ttf).<br>subtitle font: load_sub_face failed.
<br>Pos:&nbsp;&nbsp; 0.0s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3f ( 0%)&nbsp; 0.00fps Trem:&nbsp;&nbsp; 0min&nbsp;&nbsp; 0mb&nbsp; A-V:0.000 [0:0]<br>Program received signal SIGSEGV, Segmentation fault.<br>0xb7ef8efe in x264_pixel_satd_8x8_ssse3 () from /usr/lib/libx264.so.56<br>#0&nbsp; 0xb7ed8efe in x264_pixel_satd_8x8_ssse3 () from /usr/lib/libx264.so.56
<br>#1&nbsp; 0xb7e8bc04 in x264_slicetype_mb_cost () from /usr/lib/libx264.so.56<br>#2&nbsp; 0x00000008 in ?? ()<br>#3&nbsp; 0x00000000 in ?? ()<br><br><br><br>[*] ffmpeg :<br><br>run -i MOVIE.EVO -an -pass 1 -vcodec libx264 -b 6000 OUTPUT.mp4
<br>The program being debugged has been started already.<br>Start it from the beginning? (y or n) y<br>Starting program: /usr/bin/ffmpeg -i MOVIE.EVO -an -pass 1 -vcodec libx264 -b 6000 OUTPUT.mp4<br>(no debugging symbols found)
<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)
<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)
<br>(no debugging symbols found)<br>(no debugging symbols found)<br>FFmpeg version SVN-r10503, Copyright (c) 2000-2007 Fabrice Bellard, et al.<br>&nbsp; configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-static --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug --disable-network --disable-ipv6 --disable-ffplay --enable-liba52 --enable-pthreads --enable-libogg --enable-libvorbis --enable-libx264 --enable-libfaad --enable-libfaac --enable-gpl --enable-pp --disable-strip
<br>&nbsp; libavutil version: 49.5.0<br>&nbsp; libavcodec version: 51.44.0<br>&nbsp; libavformat version: 51.13.3<br>&nbsp; built on Sep 15 2007 18:38:04, gcc: 4.2.0 (Gentoo 4.2.0 p1.4)<br>Input #0, mpeg, from &#39;MOVIE.EVO&#39;:<br>&nbsp; Duration: 02:16:
17.7, start: 0.036222, bitrate: 22514 kb/s<br>&nbsp; Stream #0.0[0xfd55]: Video: vc1, yuv420p, 1920x1080, 29.97 fps(r)<br>&nbsp; Stream #0.1[0xfd56]: Video: vc1, yuv420p, 720x480, 29.97 fps(r)<br>&nbsp; Stream #0.2[0xc8]: Audio: liba52, 48000 Hz, stereo, 192 kb/s
<br>&nbsp; Stream #0.3[0xc7]: Audio: liba52, 48000 Hz, stereo, 192 kb/s<br>&nbsp; Stream #0.4[0xc6]: Audio: liba52, 48000 Hz, stereo, 192 kb/s<br>&nbsp; Stream #0.5[0xc5]: Audio: liba52, 48000 Hz, stereo, 192 kb/s<br>&nbsp; Stream #0.6[0xc4]: Audio: liba52, 48000 Hz, stereo, 192 kb/s
<br>&nbsp; Stream #0.7[0xc3]: Audio: liba52, 48000 Hz, stereo, 192 kb/s<br>&nbsp; Stream #0.8[0xb1]: Audio: 0x0000<br>&nbsp; Stream #0.9[0xc2]: Audio: liba52, 48000 Hz, 5:1, 640 kb/s<br>&nbsp; Stream #0.10[0xc0]: Audio: liba52, 48000 Hz, 5:1, 640 kb/s
<br>File &#39;OUTPUT.mp4&#39; already exists. Overwrite ? [y/N] y<br>Output #0, mp4, to &#39;OUTPUT.mp4&#39;:<br>&nbsp; Stream #0.0: Video: libx264, yuv420p, 720x480, q=2-31, pass 1, 6 kb/s, 29.97 fps(c)<br>Stream mapping:<br>
&nbsp; Stream #0.0 -&gt; #0.0<br>[libx264 @ 0x43fdc9d0]using SAR=10/11<br>[libx264 @ 0x43fdc9d0]using cpu capabilities: MMX MMXEXT SSE SSE2 SSSE3<br>Press [q] to stop encoding<br><br>Program received signal SIGSEGV, Segmentation fault.
<br>0xb7fbaefe in x264_pixel_satd_8x8_ssse3 () from /usr/lib/libx264.so.56<br>(gdb) bt<br>
#0&nbsp; 0xb7fbaefe in x264_pixel_satd_8x8_ssse3 () from /usr/lib/libx264.so.56<br>
#1&nbsp; 0xb7f6dc04 in x264_slicetype_mb_cost () from /usr/lib/libx264.so.56<br>
#2&nbsp; 0x00000008 in ?? ()<br>
#3&nbsp; 0x00000000 in ?? ()<br><br><br><br>[*] x264cli :<br><br>gdb x264<br>GNU gdb 6.6<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>Type &quot;show copying&quot; to see the conditions.<br>There is absolutely no warranty for GDB.&nbsp; Type &quot;show warranty&quot; for details.
<br>This GDB was configured as &quot;i686-pc-linux-gnu&quot;...<br>(no debugging symbols found)<br>Using host libthread_db library &quot;/lib/libthread_db.so.1&quot;.<br>(gdb) run -o outfile.264 test.yuv 720x480 -p 1 -B 1000
<br>Starting program: /usr/bin/x264 -o outfile.264 test.yuv 720x480 -p 1 -B 1000<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)<br>(no debugging symbols found)
<br>x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2 SSSE3<br><br>Program received signal SIGSEGV, Segmentation fault.<br>0x080be91e in x264_pixel_satd_8x8_ssse3 ()<br>(gdb) bt<br>#0&nbsp; 0x080be91e in x264_pixel_satd_8x8_ssse3 ()
<br>#1&nbsp; 0x08078ab4 in ?? ()<br>#2&nbsp; 0xbfb11e78 in ?? ()<br>#3&nbsp; 0x00000020 in ?? ()<br>#4&nbsp; 0x080d7800 in ?? ()<br>#5&nbsp; 0x00000010 in ?? ()<br>#6&nbsp; 0x00000008 in ?? ()<br>#7&nbsp; 0x00000000 in ?? ()<br><br><br><br><br><br>So i&#39;m sure this is cause by ssse3, sure because I have an another pc which run exactly the same revision (x264, mencoder, ffmpeg) and same system as well but it don&#39;t have ssse3 
<br>Anyway, when disable asm (noasm), it&#39;s working (but it&#39;s really slow even with two threads).<br><br>Note : gcc version 4.2.0 (Gentoo 4.2.0 p1.4)<br><br>Jérome Venturi<br><br><br><br><br>