Hi Tanguy, On Tue, Feb 24, 2009 at 9:10 AM, Robert Osfield <[email protected]> wrote: > I've pulled down your ffmpeg plugin package now and once I've cleared > my email inbox I'll get to reviewing it.
I spent much of yesterday fitting carpet underlay, so only spent a couple of hours on the FFmpeg code. I've got FindFFmpeg.cmake written, and most of the code ported into a plugin. The changes so far have been just adding missing includes as gcc 4.3.2 is much tighter on the headers pulled in indirectly when you include various header. Getting back on the horse this morning I have this error to resolve: /home/robert/OpenSceneGraph/src/osgPlugins/ffmpeg/BoundedMessageQueue.hpp: In member function ‘void osgFFmpeg::BoundedMessageQueue<T>::flush(Destructor) [with Destructor = osgFFmpeg::FFmpegPacketClear, T = osgFFmpeg::FFmpegPacket]’: /home/robert/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:171: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/ffmpeg/BoundedMessageQueue.hpp:118: error: no match for call to ‘(const osgFFmpeg::FFmpegPacketClear) (osgFFmpeg::FFmpegPacket)’ /home/robert/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegPacket.hpp:72: note: candidates are: void osgFFmpeg::FFmpegPacketClear::operator()(osgFFmpeg::FFmpegPacket&) const I'm also getting deprecated warnings on FFmpeg features so it looks like we'll need to find alternatives: /usr/include/ffmpeg/avcodec.h:2301: warning: ‘ImgReSampleContext’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2295) Currently I'm just trying to get the code compiled with it all together in a single src/osgPlugins/ffmpeg directly. My plan is to refactor the osg::ImageStream with the additional methods that you've had to add in your own subclass. This will allow us to avoid having to provide a public interface to the plugin's classes. I'll have look to see if I can track down the cause of the error. If you have any ideas then please shout. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

