x264
Jarecki
jarecki at dwb.pl
Mon Jan 26 05:41:52 PST 2009
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
More information about the freebsd-multimedia
mailing list