New ffmpeg CVS versions (update)

Jason Andresen jandrese at mitre.org
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 
>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.




More information about the freebsd-multimedia mailing list