Thanks Cedric, new directshow plugin now merged and submitted to svn/trunk :-)

BTW, would it be appropriate to add a alias for the directshow plugin
into osgDB/Registry for all the video formats to alias to directshow
when it's available?  A similar thing is currently down for ffmpeg.

Cheers,
Robert.

On Mon, Sep 14, 2009 at 9:41 AM, Cedric Pinson
<[email protected]> wrote:
> Hi Robert,
>
> Here an update of the directshow plugin. It fixes issues with
> synchronization, improve capture device support.
>
> here how to use it to display a capture device:
>
> osg::Options* options = new osg::Options;
> options->setPluginStringData("captureWantedWidth", "800");
> options->setPluginStringData("captureWantedHeight", "600");
> options->setPluginStringData("captureWantedFps", "30");
> options->setPluginStringData("captureVideoDevice", "USB Video Device" );
> options->setPluginStringData("captureSoundDevice", "");
> then
> osgDB::readImageFile("capture.directshow", options)
> you can use a graphedit application to list devices available in
> directshow.
>
>
> for classic avi file you just need to do a
> osgDB::readImageFile("file.avi.directshow");
> You will need of course to install the codec needed by directshow to
> read the avi files.
>
> I recommand this tool http://avicodec.duby.info/, that check which
> video/sound codec is needed to play an avi file.
>
>
> You can test it with the osgmovie example.
>
> Cheers,
> Cedric
> -
> +33 659 598 614  Cedric Pinson mailto:[email protected]
> http://www.plopbyte.net
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to