New ffmpeg CVS versions (update)

Jason Andresen jandrese at
Wed May 4 13:05:02 PDT 2005

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 
>- latest distfile
>	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/ 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.


cc -O3 -Wall -Wno-switch -pthread -I.. 
-D_GNU_SOURCE -O -pipe -march=athlon-xp  
-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 
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.

More information about the freebsd-multimedia mailing list