-don
On 5/26/06, Holtz, Corbin L <[EMAIL PROTECTED]> wrote:
If you need good high frame rate video, what we've done in the past is
to "record" the data for each frame (possibly using animation paths, but
I've not done that), and then rerun that data while capturing an image
for each frame. That way even if writing the images to disk task a long
time you are still getting the number of frames you need. Then, you can
input the true frame rate into ffmpeg to generate the video.
Corbin
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] ] On Behalf Of Ulrich
Hertlein
Sent: Friday, May 26, 2006 7:15 AM
To: osg users
Subject: Re: [osg-users] generating video-files with osg?
Patrik Stellmann wrote:
> I'd like my application using osg to be able to generate video-files
> from the displayed scene. As far as I know, osg has "only" the ability
> to save single pictures/frames so I'll probably need a library that
> generates videos from a frame-sequence. Is there one anybody can
> recommend in combination with osg? My application is currently running
> only under windows but a cross-platform-library would be preferred.
ffmpeg can do that for you. You feed it frames obtained by OSG and it
encodes them to an avi or whatever. Beware however that both the frame
grabbing and the encoding will probably ruin your fps.
ffmpeg is cross platform but has a very volatile API that can break from
one version to the next... :-/
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
