Date: Mon, 26 Jan 2009 14:41:46 +0100 From: Jarecki <jarecki@dwb.pl> To: "Eric L. Chen" <d9364104@mail.nchu.edu.tw>, multimedia@freebsd.org Subject: Re: x264 Message-ID: <C22E5DBE-B215-4830-B059-95C914B6DDFE@dwb.pl> In-Reply-To: <F1555A20-2C54-40CF-92E4-AFB4BB98318D@dwb.pl> References: <5E28B965-E47E-49C3-AF16-4A395BACC2C6@dwb.pl> <a50d5a500901151850w5b85d9b0re19d02aacba73977@mail.gmail.com> <069E64E6-2510-4AA9-B94E-143DC4EE86C5@dwb.pl> <a50d5a500901191847i32b2fe6al6fa6b8797f773b41@mail.gmail.com> <8C8C5E98-87AE-4F1B-AECA-55AA16D85B34@dwb.pl> <a50d5a500901200528y6dcc50a4m6845be93fd69bf1d@mail.gmail.com> <4D5904AE-8486-450D-A773-94BEA31AA9C0@dwb.pl> <F1555A20-2C54-40CF-92E4-AFB4BB98318D@dwb.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, encoder/analyse.c line 193 -p_cost_mv[a->i_qp][i] = a->i_lambda * (log2f(i+1)*2 + 0.718f + !!i) + .5f; +p_cost_mv[a->i_qp][i] = a->i_lambda * ((logf(i+1)/logf(2))*2 + 0.718f + !!i) + .5f; but something is strange in version numbers this newly compiled version (x264-0.0.20090119) # x264 --version x264 0.50.x built on Jan 26 2009, gcc: 4.2.1 20070719 [FreeBSD] orginal FreeBSD port was (0.0.20080409 higher version???) x264 0.59.x linux # x264 --version x264 0.65.1058+5 d106962 built on Dec 22 2008, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7) On Jan 26, 2009, at 1:54 PM, Jarecki wrote: > >>>> (...) >>> I add patch from ffmpeg to fit x264 API 65. >>> Save x264-0.65.shar.txt to your home directory. >>> >>> $ rm -rf /usr/ports/multimedia/x264 /usr/ports/multimedia/ffmpeg >>> $ cd /usr/ports >>> $ sh ~/x264-0.65.shar.txt >>> $ make -C /usr/ports/multimedia/x264 deinstall build reinstall clean >>> $ make -C /usr/ports/multimedia/ffmpeg deinstall build reinstall >>> clean >>> <x264-0.65.shar.txt> >> >> >> >> Hi! >> >> Im sory, but it doesnt work, exactly as previous. >> It was trying to do this several ways, trying to install on old >> FBSD 7.0, 7.1, i create a completly fresh install (with cvsup >> ports and 7.1 system) >> >> after >> make -C /usr/ports/multimedia/x264 deinstall build reinstall clean >> compilation fails >> >> (...) >> cc -o x264 x264.o matroska.o muxers.o libx264.a -L/usr/local/lib -L/ >> usr/local/lib -lm -pthread -lgpac_static -s >> libx264.a(analyse.o)(.text+0x1b45): In function >> `x264_mb_analyse_load_costs': >> : undefined reference to `log2f' >> gmake: *** [x264] Error 1 >> *** Error code 2 >> >> Please help. >> I must do something wrong, missing some dependences or something... > > > Hi! > > Im not a C programmer, but maybe that is a problem: > > http://www.freebsd.org/projects/c99/index.html > log2f not implemented on freebsd? > > > Jarecki > > > Jarecki
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C22E5DBE-B215-4830-B059-95C914B6DDFE>