From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 27 07:40:30 2009 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C81310656C0 for ; Tue, 27 Jan 2009 07:40:30 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id B4BBE8FC16 for ; Tue, 27 Jan 2009 07:40:29 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so2497120yxb.13 for ; Mon, 26 Jan 2009 23:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2Psp5b5Vd2Rh43L+pWyQk8rPMLlk7pIQx4QPdSxNROQ=; b=xlkjLMWwgQzD5krX8T5M3C5TEasN/gFyNWaVekju+wTVVD476I3JNQKyioqBPHTQjP QTJ3VF8q/XHKyPcNUAouluo53Sw14P9E4lsSzT9LzBmVFBME9BPckj4JOgJ5AHC4LocU h9PrBagRdNFysmXjtUsk9C6ivhAVZJmYM5ntw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=E4QpY6swFGkkumudTIyghcjlq46lgersb7AxF4kFCnt0MGa05wrm2FVgkYQaCQhlgY jQ8M7DMAPzftLp0OsTdHxzISA/V6KMSpBDqydAd5If0bJFYqM7v4UdV3LD+PwdkTrk3l UrBRoIqvogjEnMODIySkdCMI5tFd+2NhzI+3g= MIME-Version: 1.0 Received: by 10.90.90.4 with SMTP id n4mr1269490agb.59.1233040051673; Mon, 26 Jan 2009 23:07:31 -0800 (PST) In-Reply-To: References: <5E28B965-E47E-49C3-AF16-4A395BACC2C6@dwb.pl> <069E64E6-2510-4AA9-B94E-143DC4EE86C5@dwb.pl> <8C8C5E98-87AE-4F1B-AECA-55AA16D85B34@dwb.pl> <4D5904AE-8486-450D-A773-94BEA31AA9C0@dwb.pl> Date: Tue, 27 Jan 2009 15:07:31 +0800 Message-ID: <53a1e0710901262307v527d856sc2a5b1264fb7ca9d@mail.gmail.com> From: Henry Hu To: Jarecki Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: multimedia@freebsd.org Subject: Re: x264 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hu.henry9@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2009 07:40:30 -0000 Hi, I'm using x264-0.0.20090101 for recent mplayer. The version number: > x264 --version x264 0.65.0+1069 ed32ad2 built on Jan 3 2009, gcc: 4.2.1 20070719 [FreeBSD] I need the new mplayer for new youtube video, it's h264/aac in flv format On Mon, Jan 26, 2009 at 9:41 PM, Jarecki wrote: > 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 >>>> >>> >>> >>> >>> 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 > > > > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" >