Hi, <br><br>I'm using ffmpeg with libx264 to transcode media files to the h.264 codec.<br>To accelerate h264 encoding, I use Intel C++ Compiler to compile the libx264.a:<br><br>export CC="/opt/intel/cc/10.1.015/bin/icc"<br>
export CFLAGS="-g -O4 -march=core2 -mtune=core2"<br><br>FFmpeg is still compiled with gcc-4.1, it static links with libx264<br><br>However, when I do the transcoding with deblocking filter on ('-flags +loop'), ffmpeg will simply exit with segmentation fault:<br>
<br>$ ffmpeg -y -i input.flv -an -vcodec libx264 -flags +loop -g 250 -keyint_min 25 -b 512000 -bt 512000 output.mp4<br>... ...<br>[libx264 @ 0x6f96c390]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64<br>Press [q] to stop encoding<br>
Segmentation fault (core dumped)<br><br>Debugging with gdb, it seems the program fails at x264_deblock_v_luma_intra_sse2().<br><br>I've also tried a lot of transcoding options without loop filter, all works fine.<br><br>
<br>(I'm using x264-snapshot-20080610-2245, and ffmpeg-SVN-r9607.)<br><br>If anyone can re-produce it or has experience with Intel C++ Compiler to work with x264, please drop your valuable advice:)<br><br>-- <br>Regards<br>
truly yours<br>ice