Hi,

For building OSG with FFmpeg support you need to use the "shared" FFmpeg
git-728f86e 64-bit Shared
(Latest)<http://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20120612-git-728f86e-win64-shared.7z>
  and "dev" FFmpeg git-728f86e 64-bit Dev
(Latest)<http://ffmpeg.zeranoe.com/builds/win64/dev/ffmpeg-20120612-git-728f86e-win64-dev.7z>
releases
of the FFmpeg library.

Then, as you have correctly pointed out, you have to specify the “FFMPEG_ROOT”
where you have extracted the libraries, "C:/Projects/3rdParty/ffmpeg" in
your case.

I think you also have to download msinttypes library "
http://code.google.com/p/msinttypes/downloads/list"; and extract them in the
ffmpeg include folder to get "FFMPEG_STDINT_INCLUDE_DIR" filled correctly.

If you have any question feel free to ask ;)

2012/5/30 Praveena Sara <[email protected]>

> Hi,
>
> I recently got hold of the book "OpenSceneGraph 3 Cookbook". I want to
> show a live webcam feed in OSG like in the example given in the book (I'm
> working on an Augmented Reality project). In order to this, it says I need
> to have FFMPEG built with OSG.
>
> So, I downloaded the
> > FFmpeg git-9c27f29 64-bit Static (Latest)
>  under "64-bit Builds (Static)"  from zeranoe site but I have no idea how
> to link these files in CMake, when Building OSG.
>
> File Structure:
> +presets
> +licenses
> +doc
> -bin
> |__ffmpeg.exe
> |__ffplay.exe
> |__ffprobe.exe
>
> According to this tutorial (**I'm not allowed to share a URL**) I'd only
> have to Set
> > “FFMPEG_ROOT” to: C:/Projects/3rdParty/ffmpeg
> . Is this correct? Have I downloaded the correct FFMPEG build? Which
> values need to be entered into CMake when building OSG with FFMPEG?
>
> My configuration:
> Windows 7, 64-bit
> OSG 3.0.1
> Visual Studio 2008 (Professional Edition)
>
> ...
>
> Thank you!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47928#47928
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to