[Ffmpeg-devel] Fwd: Trouble compiling 0.03 on Redhat Linux

Erik Slagter erik
Fri Jul 7 11:53:46 CEST 2006

On di, 2006-07-04 at 14:51 -0700, Dave Williams wrote:
> Sorry folks; it's FFMPEG-Perl I'm having trouble compiling; again, any
> advisement you can offer re the errors below are greatly appreciated...

[ ... ]

> gcc -c  -I/root/ffmpeg_svn/libavcodec -I/root/ffmpeg_svn

I really hope you're not compiling being root...

> FFmpeg.xs: In function `XS_FFmpeg__init_streamgroup':
> FFmpeg.xs:375: warning: initialization from incompatible pointer type
> FFmpeg.xs:380: error: incompatible type for argument 2 of `Perl_newSViv'
> FFmpeg.xs:381: error: structure has no member named `r_frame_rate_base'
> FFmpeg.xs:390: error: structure has no member named `frame_rate'

Looks like this ffmpeg-perl project uses a very old API version of
ffmpeg. Go and blame them ;-) Libavcodec/libavformat hasn't been using
frame_rate for ages...

More information about the ffmpeg-devel mailing list