[x264-devel] Segmentation Fault compiled with icc and encoding with deblocking filter

trueice trueice at gmail.com
Wed Jun 11 09:04:31 CEST 2008


Hi,

I'm using ffmpeg with libx264 to transcode media files to the h.264 codec.
To accelerate h264 encoding, I use Intel C++ Compiler to compile the
libx264.a:

export CC="/opt/intel/cc/10.1.015/bin/icc"
export CFLAGS="-g -O4 -march=core2 -mtune=core2"

FFmpeg is still compiled with gcc-4.1, it static links with libx264

However, when I do the transcoding with deblocking filter on ('-flags
+loop'), ffmpeg will simply exit with segmentation fault:

$ ffmpeg -y -i input.flv -an -vcodec libx264 -flags +loop -g 250 -keyint_min
25 -b 512000 -bt 512000 output.mp4
... ...
[libx264 @ 0x6f96c390]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
Press [q] to stop encoding
Segmentation fault (core dumped)

Debugging with gdb, it seems the program fails at
x264_deblock_v_luma_intra_sse2().

I've also tried a lot of transcoding options without loop filter, all works
fine.


(I'm using x264-snapshot-20080610-2245, and ffmpeg-SVN-r9607.)

If anyone can re-produce it or has experience with Intel C++ Compiler to
work with x264, please drop your valuable advice:)

-- 
Regards
truly yours
ice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20080611/bf3f9d78/attachment-0001.htm 


More information about the x264-devel mailing list