[ATrpms-devel] x264 sse3 is broken
Christopher Isip
cmisip at gmail.com
Tue Feb 26 03:06:30 CET 2008
On Sun, Feb 24, 2008 at 6:35 PM, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> On Sun, Feb 24, 2008 at 05:36:00PM -0500, Christopher Isip wrote:
> > On Sun, Feb 24, 2008 at 5:31 PM, Christopher Isip <cmisip at gmail.com>
> wrote:
> >
> > >
> > >
> > > On Sun, Feb 24, 2008 at 3:45 PM, Axel Thimm <Axel.Thimm at atrpms.net>
> wrote:
> > >
> > > > Hi,
> > > >
> > > > On Sat, Feb 23, 2008 at 06:21:30AM -0500, Christopher Isip wrote:
> > > > > Axel,
> > > > > Maybe sse3 needs to be disabled for now in the x264 spec file
> since
> > > > it
> > > > > causes a segfault in dual core machines.
> > > >
> > > > x264 in ATrpms is a bit ancient, maybe a new version fixes this?
> Would
> > > > you like to test a newer version and see if it works?
> > > >
> > >
> > >
> > > sure
> > >
> > >
> >
> > Sorry, do you just want me to grab one of the latest tarballs and see if
> it
> > works? I can just compile and run it (not compile an rpm as I dont
> really
> > know how spec files work) and let you know which version works.
>
> Yes, that would already be a big help. If you want I can also show you
> how to build the x264 package yourself, but the first step is to see
> whether it will make any difference.
> --
> Axel.Thimm at ATrpms.net
>
Axel,
I compiled todays tarball of x264 and it works. I only did a few minutes of
encode but at least it no longer segfaults and it is using cpu capabilities:
MMX MMXEXT SSE SSE2 SSE3 SSSE3 Cache64
I compiled the specfile from ffmpeg-0.4.9-26_r12135.src.rpm with :
--without libnut --without libgsm
Let me know how else I could be of help
Thanks
Chris
------------------------------------------------------------------------------------------------------------------------------------
Here is a screen output of an ffmpeg run:
FFmpeg version SVN-r12135, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--mandir=/usr/share/man --enable-shared --enable-gpl --enable-pp
--enable-swscaler --enable-pthreads --enable-x11grab --enable-liba52
--enable-liba52bin --disable-avisynth --disable-libamr-nb
--disable-libamr-wb --enable-libdc1394 --enable-libfaac --enable-libfaad
--enable-libfaadbin --enable-libmp3lame --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid --extra-cflags=-O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables --disable-strip
libavutil version: 49.6.0
libavcodec version: 51.50.1
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Feb 25 2008 20:55:43, gcc: 4.1.2 20070626 (Red Hat 4.1.2-14)
Input #0, mpeg, from '/mnt/VIDEO1/2041_20071002190000.mpg':
Duration: 00:59:54.6, start: 0.289389, bitrate: 2614 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR
4:3], 4700 kb/s, 29.97 tb(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
File 'test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'test.avi':
Stream #0.0: Video: libx264, yuv420p, 320x240 [PAR 1:1 DAR 4:3],
q=15-51, 250 kb/s, 29.97 tb(c)
Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[libx264 @ 0x6295f0]using SAR=1/1
[libx264 @ 0x6295f0]using cpu capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3
Cache64
Press [q] to stop encoding
frame= 4194 fps= 47 q=-11060719.7 Lsize= 6640kB time=139.3 bitrate=
390.5kbits/s
--------------------------------------------------------------------------------------------------------------------------------
and here is the version of the x264 tarball
[root at mylivingroom x264-snapshot-20080225-2245]# make install ;
/sbin/ldconfig
install -d /usr/local/bin /usr/local/include
install -d /usr/local/lib /usr/local/lib/pkgconfig
install -m 644 x264.h /usr/local/include
install -m 644 libx264.a /usr/local/lib
install -m 644 x264.pc /usr/local/lib/pkgconfig
install x264 /usr/local/bin
ranlib /usr/local/lib/libx264.a
ln -sf libx264.so.58 /usr/local/lib/libx264.so
install -m 755 libx264.so.58 /usr/local/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20080225/7a106a58/attachment.html
More information about the atrpms-devel
mailing list