From owner-freebsd-multimedia@FreeBSD.ORG Wed May 4 20:05:02 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8FC316A4CE for ; Wed, 4 May 2005 20:05:02 +0000 (GMT) Received: from smtp-bedford.mitre.org (smtpproxy1.mitre.org [192.160.51.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164D843D4C for ; Wed, 4 May 2005 20:05:02 +0000 (GMT) (envelope-from jandrese@mitre.org) Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with SMTP id j44Ib3X03773 for ; Wed, 4 May 2005 14:37:03 -0400 Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (Postfix) with ESMTP id 8DCE2BF85 for ; Wed, 4 May 2005 14:37:01 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.28.8]) by smtp-bedford.mitre.org (8.11.6/8.11.6) with ESMTP id j44Iax303225; Wed, 4 May 2005 14:36:59 -0400 Received: from mm112324-2k.mitre.org (128.29.24.104) by mailhub2.mitre.org with SMTP id 11524934; Wed, 04 May 2005 14:36:48 -0400 Message-ID: <42791640.7050102@mitre.org> Date: Wed, 04 May 2005 14:36:48 -0400 From: Jason Andresen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mario Sergio Fujikawa Ferreira References: <20050502043610.51034.qmail@exxodus.fedaykin.here> <4275B154.5070007@ahze.net> <20050503070628.GF11140@puff.jakemsr.gom> <20050504003425.A97449@kushnir1.kiev.ua> <20050504030411.48236.qmail@exxodus.fedaykin.here> In-Reply-To: <20050504030411.48236.qmail@exxodus.fedaykin.here> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-multimedia@freebsd.org cc: "Thomas E. Zander" Subject: Re: New ffmpeg CVS versions (update) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 20:05:02 -0000 Mario Sergio Fujikawa Ferreira wrote: > I did some small updating to the sample port. > >1) PIC (shared) and PIE (binary) are used appropriatly > >2) ffmpeg does not require every dependent application to link > against -la52 anymore > >3) Fetched grab_bsdbktr.c was updated against the OpenBSD version >though there are no major changes from our current version. Mostly >some type casting. > >4) THe new CVS versions does not like the old grab codes. I did >some initial work but I have to go to sleep and I'll probably not >have access to my computer till tomorrow night.o > > Any help appreciated. > >- lastest port >http://people.FreeBSD.org/~lioux/ffmpeg-devel-new.tar.gz >- latest distfile >http://people.FreeBSD.org/~lioux/ffmpeg-cvs-20050503.tar.gz > > Okay, theora does not work and we need to fix the capture >code. Any volunteers? > > Hmm, ran into a couple of snags. First off, while linking libavcodec/libpostproc/libpostproc.so it tried to link in -faac but didn't specify -L/usr/local/lib, causing the link to fail. Tweaked the makefile to work around this problem. Second: cc -O3 -Wall -Wno-switch -pthread -I.. -I'/home/jandrese/ffmpeg/ffmpeg-devel-new/work/ffmpeg' -I'/home/jandrese/ffmpeg/ffmpeg-devel-new/work/ffmpeg'/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O -pipe -march=athlon-xp -I/home/jandrese/ffmpeg/ffmpeg-devel-new/work/ffmpeg/libavcodec -I/home/jandrese/ffmpeg/ffmpeg-devel-new/work/ffmpeg/libavcodec/i386 -I/home/jandrese/ffmpeg/ffmpeg-devel-new/work/ffmpeg/libavformat -I/usr/local/include -I/usr/X11R6/include -I. -I.. -L/usr/local/lib -L/usr/X11R6/lib -fno-force-addr -O3 -ffast-math -fomit-frame-pointer -fno-unit-at-a-time -I/usr/local/include/vorbis -msse -c -o grab_bsdbktr.o grab_bsdbktr.c In file included from grab_bsdbktr.c:32: /usr/include/machine/ioctl_meteor.h:33:2: warning: #warning Include dev/bktr/ioctl_meteor.h instead of this header. In file included from grab_bsdbktr.c:33: /usr/include/machine/ioctl_bt848.h:33:2: warning: #warning Include dev/bktr/ioctl_bt848.h instead of this header. grab_bsdbktr.c: In function `grab_read_header': grab_bsdbktr.c:263: error: structure has no member named `frame_rate' grab_bsdbktr.c:264: error: structure has no member named `frame_rate_base' grab_bsdbktr.c:297: error: request for member `den' in something not a structure or union gmake[1]: *** [grab_bsdbktr.o] Error 1 gmake[1]: Leaving directory `/home/jandrese/ffmpeg/ffmpeg-devel-new/work/ffmpeg/libavformat' gmake: *** [lib] Error 2 *** Error code 2 Is this a conflict with something I already have installed? I deinstalled the old ffmpeg before building this one. I'm running 5.3-STABLE.