From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 2 19:44:36 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 4AEB31065694 for ; Mon, 2 Feb 2009 19:44:36 +0000 (UTC) (envelope-from jarecki@dwb.pl) Received: from hermes.bellona.pl (nsf.bellona.pl [217.17.36.10]) by mx1.freebsd.org (Postfix) with ESMTP id D8E5E8FC20 for ; Mon, 2 Feb 2009 19:44:35 +0000 (UTC) (envelope-from jarecki@dwb.pl) Received: from [217.96.101.19] (helo=[10.0.0.10]) by hermes.bellona.pl with esmtpsa (TLSv1:AES128-SHA:128) (Exim) (envelope-from ) id 1LU4ib-000P5n-P9; Mon, 02 Feb 2009 20:44:32 +0100 Message-Id: <52D66BF5-A23E-47E7-880C-F337DDC23BD0@dwb.pl> From: Jarecki To: multimedia@freebsd.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 2 Feb 2009 20:44:27 +0100 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> <53a1e0710901262307v527d856sc2a5b1264fb7ca9d@mail.gmail.com> <53a1e0710901270056j223f712cs2ec98a86b852b9d5@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Spam-Score: -1.4 (-) Cc: hu.henry9@gmail.com Subject: Re: x264 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 19:44:38 -0000 Hi!, more problems, more help needed. when compilie sources of ffmpeg (SVN - not form ports) its doesnt recognized any of library. For example faad, x264 is 100% instaled (...) Sun medialib support no AVISynth enabled no libamr-nb support no libamr-wb support no libdc1394 support no libdirac enabled no libfaac enabled no libfaad enabled no libfaad dlopened no libgsm enabled no libmp3lame enabled no libnut enabled no libschroedinger enabled no libspeex enabled no libtheora enabled no libvorbis enabled no libx264 enabled no libxvid enabled no vdpau enabled no when I try to force for example x264 ./configure --enable-gpl --enable-libx264 ERROR: libx264 not found If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem. when i get version from ports it doesnt recognize Imlib2 support , and its too old Jarecki PS. its a "Sisyphus work" :( On Jan 30, 2009, at 9:50 AM, Jarecki wrote: > Hi! > > could you help mi with compiling mplayer and x264? > my version of x264 has something different, and mplayer ./configure > doesnt recognise its installed > undefined reference to `x264_nal_encode' etc.. > > please help > > On Jan 27, 2009, at 9:56 AM, Henry Hu wrote: > >> Hi, >> I'm using FreeBSD 7.1-STABLE >> Since I'm using 20090101, something is different. >> In analyse.c: >> p_cost_mv[a->i_qp][i] = a->i_lambda * bs_size_se( i ); >> In bs.h: >> static inline int bs_size_se( int val ) >> { >> return bs_size_ue_big( val <= 0 ? -val*2 : val*2-1 ); >> } >> >> In bs.h: >> static inline int bs_size_ue_big( unsigned int val ) >> { >> if( val < 255 ) >> return x264_ue_size_tab[val+1]; >> else >> return x264_ue_size_tab[(val+1)>>8] + 16; >> } >> >> So it got the value from a table, not log2f... >> >> >> On Tue, Jan 27, 2009 at 4:10 PM, Jarecki wrote: >>> Hi, >>> >>> in patches, received from Eric, i found this (not known why) >>> >>> X #include >>> X >>> X-#define X264_BUILD 65 >>> X+#define X264_BUILD 50 >>> >>> What is the version of FBSD you are using? (for example log2f >>> should't work >>> in FBSD<8.X) >>> >>> >>> I dont know if compiller optimalisation work on those I wrote >>> yesterday. My >>> friend told me, that maybe the line should work better this way: >>> p_cost_mv[a->i_qp][i] = a->i_lambda * >>> (logf(i+1)*2.8853900817779268f + 0.718f + !!i) + .5f; >>> >>> >>> I will write in another subject, but i found more problems with >>> ffmpeg >>> dependences (gstreamer) >>> >>> In file included from audioconvert.c:32: >>> ../../gst-libs/gst/floatcast/floatcast.h:111: error: redefinition of >>> 'GFLOAT_SWAP_LE_BE' >>> /usr/local/include/gstreamer-0.10/gst/gstutils.h:531: error: >>> previous >>> definition of 'GFLOAT_SWAP_LE_BE' was here >>> ../../gst-libs/gst/floatcast/floatcast.h:131: error: redefinition of >>> 'GDOUBLE_SWAP_LE_BE' >>> /usr/local/include/gstreamer-0.10/gst/gstutils.h:554: error: >>> previous >>> definition of 'GDOUBLE_SWAP_LE_BE' was here >>> gmake[3]: *** [libgstaudioconvert_la-audioconvert.lo] Error 1 >>> gmake[3]: Leaving directory >>> `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins- >>> base-0.10.21/gst/audioconvert' >>> gmake[2]: *** [all-recursive] Error 1 >>> gmake[2]: Leaving directory >>> `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins- >>> base-0.10.21/gst' >>> gmake[1]: *** [all-recursive] Error 1 >>> gmake[1]: Leaving directory >>> `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins- >>> base-0.10.21' >>> gmake: *** [all] Error 2 >>> >>> exactly the same problems as: >>> http://www.nabble.com/multimedia-vlc-and-gstreamer-plugins-td21668763.html >>> >>> >>> Jarecki >>> >>> On Jan 27, 2009, at 8:07 AM, Henry Hu wrote: >>> >>>> 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? >>>>>>