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

Erik Slagter erik at slagter.name
Tue Jun 28 10:50:53 CEST 2011


On 24-06-11 02:35, Yasuhiro Ikeda wrote:
> 1. Uninstall swscale and other libraries in /usr/lib64.
> 2. Compile and install libav. `./configure --prefix=$HOME/local --enable-gpl --disable-debug && make && make install` is enough, don't add any other
> options.
> 3. Compile x264. `./configure --enable-static --extra-cflags=-I$HOME/local/include --extra-ldflags=-L$HOME/local/lib && make` is enough, don't add any
> other options.
> 4. Delete $HOME/local if you want. `rm -rf $HOME/local`
> 5. Run x264 binary. `./x264 test.avi -o test.264` is enough, don't add any other options.
> 6. Report again.

Pfew, reproduced...

artemis erik:~/src/libx264 $ ldd ./x264
	linux-vdso.so.1 =>  (0x00007fff5c13c000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f74ae680000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f74ae469000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f74ae259000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f74ae03d000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f74adca1000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f74ae905000)
artemis erik:~/src/libx264 $ ./x264 test.avi -o test.264
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 3.0
[1]    23588 segmentation fault  ./x264 test.avi -o test.264

For the record:
- all other instances of libav* and libx264* have been removed (libs and includes)
- this happens exactly the same with ffmpeg libs instead of libav libs.

I guess I'll need to do so some cc -g and gdb now...

Oh BTW, if it helps:

artemis erik:~/src/libx264 $ ~/local/bin/ffprobe test.avi
Input #0, avi, from 'test.avi':
   Metadata:
     encoder         : Lavf53.4.0
   Duration: 00:25:47.32, start: 0.000000, bitrate: 10605 kb/s
     Stream #0.0: Video: mjpeg, yuvj420p, 704x576 [PAR 16:11 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
     Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s

BTW I've had a broken internet connection the last few days.

-------------- 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/20110628/115ab041/attachment.bin>


More information about the x264-devel mailing list