[x264-devel] * SPAM * [4.302] Re: does not link lavf support

Erik Slagter erik at slagter.name
Thu Jun 23 18:09:53 CEST 2011


On 23-06-11 02:05, Steven Walters wrote:

>> Are you saying that after this commit you have a x264 cli that works
>> withouth segfaulting (either with or without --input-res)?

> correct, I am NOT able to reproduce a crash after the indicated
> revision, nor after updating to the latest libav (which now has
> libswscale at 2.0.0).
> I tested on what platforms i have available to me which is win32,
> win64, and linux32.

Okay, so I've tried (again). I pulled x264 (no updates), compiled it,
and installed it. Then I pulled ffmpeg (no relevant updates), compiled
it, and installed. Then, because of back-and-forth dependencies between
libx264 (x264) and libav* (ffmpeg), I compiled x264 once more and
installed it.

Then I did this:

x264 --profile=high --preset=veryslow --level=40 --aud --keyint=100 --ref=4 --nr=1000 --bframes=8 --threads=16 --vbv-bufsize=31250 --vbv-maxrate=25000 
--nal-hrd=vbr --crf 24 test.avi -o test.264

Where test.avi is an avi with mjpeg and pcm audio. And then I get this:

lavf [info]: 704x576p 16:11 @ 25/1 fps (vfr)
resize [warning]: converting from yuvj420p to yuv420p
x264 [info]: using SAR=16/11
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 4.0
[1]    24101 segmentation fault  x264 --profile=high --preset=veryslow --level=40 --aud --keyint=100 --ref=4

Gdb says (very terse because no debug info atm):

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6995562 in ?? () from /usr/lib64/libswscale.so.2
(gdb) where
#0  0x00007ffff6995562 in ?? () from /usr/lib64/libswscale.so.2
#1  0x0000000000000000 in ?? ()

I checked that the proper versions of the libraries were linked and used
using ldd. This is on x86_64 / amd64. I am using gcc 4.5.1 and glib 2.13.1.

Adding --input-res=704x576 makes no difference.

Thx.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5110 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110623/66b8bc8b/attachment.bin>


More information about the x264-devel mailing list