HI Alejandro, Which version of ffmpeg do you have installed?
As J.P. mentioned ffmpeg is a bit of moving target and were' only just getting into learning about FFmpeg foibles. We'll probably need to add version checking into our FindFFmpeg.cmake to avoid these issue. Also migrating the code across from not using deprecated functions will be a possible solution. Adopting use ffmpeg suggest use of swscale isn't though as it's GPL'd, so we may have to create our own local equivalents for colour conversion. Robert. On Sat, Feb 28, 2009 at 5:43 AM, Alejandro Aguilar Sierra <[email protected]> wrote: > Hi, > > I just updated both ffmpeg and osg/trunk, compiled and instaled ffmpeg > but osg can't compile because these errors: > > [ 98%] Building CXX object > src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o > /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: > In member function 'void > osgFFmpeg::FFmpegDecoderVideo::publishFrame(double)': > > /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:228: > error: 'img_convert' was not declared in this scope > /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: > In member function 'void > osgFFmpeg::FFmpegDecoderVideo::yuva420pToRgba(AVPicture*, const > AVPicture*, int, int)': > /home/ale/src/osg/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:264: > error: 'img_convert' was not declared in this scope > make[2]: *** > [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o] > Error 1 > make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 > make: *** [all] Error 2 > > Before updating ffmpeg, I got other ffmpeg related compilation errors. > > Any hint? > > My system is GNU/Linux 2.6.26-1-686 Debian Sid, gcc 4.3.1. > > Regards, > > -- A. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

