[osg-users] ffmpeg plugin on OS X / DarwinPorts
robert.osfield at gmail.com
Tue Mar 3 02:58:21 PST 2009
Thanks for the changes, these are now merged and submitted to svn/trunk.
So with these changes do we have a compiling and working ffmpeg plugin
To try it out do:
osgmovie --ffmpeg mymovie.mov
On Tue, Mar 3, 2009 at 10:25 AM, Ulrich Hertlein <u.hertlein at sandbox.de> wrote:
> Hi Robert,
> On 3/3/09 8:50 PM, Robert Osfield wrote:
>>> it appears that the required #include (in FFmpegHeaders.hpp) would be:
>>> #include <ffmpeg/avformat.h>
>>> rather than what it is now:
>>> #include v<avformat.h>
>>> Can we change that without breaking compiles on other systems?
>> This change would break other systems as they don't have all have the
>> ffmpeg prefix. When I have built ffmpeg from source the ffmpeg prefix
>> Could you do an svn update and see if this addition helps things.
> Yup. That solves the #include <avformat.h> problem.
> What I'm currently looking at is 'undeclared INT64_C' in
> 'FFmpegDecoderVideo.cpp' which is caused by some header including stdint.h
> without '#define __STDC_CONSTANT_MACROS'.
> I can solve this by including 'FFmpegHeaders.hpp' first thing in
> 'FFmpegDecoderVideo.hpp' (see attachment). Does that work on Linux?
> After that it's the missing libpath to find libavformat and friends. I've
> added some code to 'FindFFmpeg.cmake' to extract the library directories but
> have now idea yet how to tell cmake to use that path in
> src/osgPlugin/ffmpeg/CMakeFiles ...
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users