I followed those instructions and adapted them for compiling on Mac OS,
based on these other Mac specific instructions for ffmpeg.
http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html
Although I excluded x264 and a few other components I don't have
installed, and omitted the corresponding options, like --enable-libx264.
But when I tried to compile it, I get the following errors:
$ ./configure --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad
--enable-libmp3lame --enable-x11grab --enable-libvpx-vp8
...
$ make
...
libavcodec/libvpxenc.c: In function ‘vp8_init’:
libavcodec/libvpxenc.c:266: error: ‘IMG_FMT_I420’ undeclared (first use
in this function)
libavcodec/libvpxenc.c:266: error: (Each undeclared identifier is
reported only once
libavcodec/libvpxenc.c:266: error: for each function it appears in.)
make: *** [libavcodec/libvpxenc.o] Error 1
I can see that these references to IMG_FMT_I420 are added to libvpxenc.c
by the patches, and that it's declared in vpx_image.h, which was indeed
copied to /usr/include/ as per the instructions, so I can't see why it
would be a problem. Does anyone know why this error may be occurring?
--
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/