Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 May 2005 14:36:48 -0400
From:      Jason Andresen <jandrese@mitre.org>
To:        Mario Sergio Fujikawa Ferreira <lioux-list@uol.com.br>
Cc:        "Thomas E. Zander" <riggs@rrr.de>
Subject:   Re: New ffmpeg CVS versions (update)
Message-ID:  <42791640.7050102@mitre.org>
In-Reply-To: <20050504030411.48236.qmail@exxodus.fedaykin.here>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42791640.7050102>