From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 15:55:33 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A46C416A420 for ; Thu, 8 Nov 2007 15:55:33 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from que03.charter.net (que03.charter.net [209.225.8.191]) by mx1.freebsd.org (Postfix) with ESMTP id 506E513C4B5 for ; Thu, 8 Nov 2007 15:55:32 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from aa04.charter.net ([10.20.200.156]) by mtao03.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071108154359.LLIY10962.mtao03.charter.net@aa04.charter.net>; Thu, 8 Nov 2007 10:43:59 -0500 Received: from agreenftp.no-ip.com ([97.89.174.47]) by aa04.charter.net with ESMTP id <20071108154359.UAQU1254.aa04.charter.net@agreenftp.no-ip.com>; Thu, 8 Nov 2007 10:43:59 -0500 Received: from localhost (localhost [127.0.0.1]) by agreenftp.no-ip.com (Postfix) with ESMTP id 33DAA39864; Thu, 8 Nov 2007 10:43:59 -0500 (EST) Received: from agreenftp.no-ip.com ([127.0.0.1]) by localhost (zeus.agreenftp.no-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZrBO-v25XM3E; Thu, 8 Nov 2007 10:43:56 -0500 (EST) Received: from hercules.nuvox.net (216.215.202.5.nw.nuvox.net [216.215.202.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andy) by agreenftp.no-ip.com (Postfix) with ESMTPSA id 959D93980B; Thu, 8 Nov 2007 10:43:56 -0500 (EST) X-Virus-Scanned: amavisd-new at agreenftp.no-ip.com Message-ID: <47332EBE.3000900@gmail.com> Date: Thu, 08 Nov 2007 10:43:58 -0500 From: Andy Greenwood User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Si Thu References: <000f01c82212$c1b9e3c0$452dab40$@com> In-Reply-To: <000f01c82212$c1b9e3c0$452dab40$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: freebsd-questions@FreeBSD.org Subject: Re: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 15:55:33 -0000 Si Thu wrote: > Dear freeBSD, > > > > I am running FreeBSD 6.2-RELEASE on my staging server and having one problem > about FFmpeg. > > I have read a lot of documentation and google on the web to get the solution > for how to customize installation for ffmpeg utility. Normally, freeBSD > provides s lot of packages and ports that can be covered the average > requirements. > > > > On my server, I have installed ffmpeg from the provided port with the > command "make install clean". After installation, I am able to encode the > input files from some location of server such "usr/local/bin" and cannot > implement with PHP(I used exec() command). FFmpeg-php is a object oriented > API for PHP and ffmpeg implementation. I was not able to install that API on > freeBSD. > > > > And there are some other configuration such "--enable-shared --enable-gpl" > and other libraries they can use in ffmpeg by configuration with ./configure > command. But I was not able to find how to configure before install ffmpeg. > If you would be able to give me a solution that would be great. I will > really appreciate. > Don't know about ffmpeg-php or anything, as I've never used them. However, you could do a few different things to change the configure arguments. You could just edit the Makefile in the port's directory, or you could define some make variables either through /etc/make.conf or by defining them on the command line like make -DWITH_SWSCALER which will do the same thing as configure --enable-swscaler. Look through the Makefile for the defaults (both switches you mentioned are on by default in my ports tree) and all availible switches. Make syntax is simple enough, so you should be able to figure it out without much trouble. Also, you might want to run make configure instead of make install or even just make, since that will run the configure script and then stop, so you can look over the output and adjust as necessary before continuing the build. > > > > > Looking forward to get an answer > > > > kind regards, > > > > Sithu > > sithu@rareplay.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >