Thanks Wang Rui, Changed look good, now merged and submitted to
svn/trunk as two separate submissions - one for osgDB and one for the
ffmpeg plugin.  Cheers, Robert.

On Wed, Oct 20, 2010 at 3:11 PM, Wang Rui <[email protected]> wrote:
> Hi Robert,
> Attachments include two kinds of functionalities: a new
> parsePluginStringData() method in the osgDB::Options class which will be
> automatically executed to parse option string to the string data map; and
> the additional FFmpegParameters class in the ffmpeg plugin for setting
> parameters before opening the video file, which benefits from
> getPluginStringData() as shown in the ReaderWriter implementation.
> Now we can use ffmpeg to render webcam video (using the vfwcap device) under
> Windows:
> osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25"
> The number 0 just indicates a default device number in ffmpeg.
> I think this can work under Linux, too, and should be a bit better than
> comparing the filename with a '/dev/' string. Just type:
> ./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 frame_rate=30
> size=320x240"
> But I doesn't have time to test it, and decide not to change any existing
> code right now.
> Cheers,
> Wang Rui
>
>
> _______________________________________________
> 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