When we're putting together promo videos, we just dump out each frame as a 
tga then use Avid to edit the sequence and turn it into a useable video. 
Admittedly we have a high-end Avid suite for this, but the dumping of the 
frames goes from the PS3, down the network and onto our PCs. We run at 
about 1 fps, but you can capture quite a lot of video by letting it run 
overnight. In our case, we have several machines capturing different parts 
of the game, then let the video guys sift through it all.
There's no reason why you couldn't set up a 512x512 render target at the 
top of your scenegraph, change the aspect ratio to that of 720x480 (3:2) 
so it appears stretched (or if your card supports non-power-of-two 
textures, then you can do it at native resolution), then dump out each 
frame to an image file. I don't have any code to hand, but OSG can cope 
with that easily. When you come to encode it, you can stretch it back to 
the desired resolution. Oh, and don't forget to make your animation 
dependent on framerate (i.e. assume you're running at a constant 
framerate), so the animation runs smoothly at full speed; otherwise you'll 
pick up any variation in rendering speed.
To put it all together, Avid did a home edition of their video editing 
software that was free to download and is fairly powerful, but I can't 
find it on their page, maybe they stopped doing it. If you're on Linux, 
there's a free bit of software for video editing, called Cinelerra 
(http://heroinewarrior.com/cinelerra.php3). If you want to automate the 
process, and you use Linux, Transcode 
(http://www.transcoding.org/cgi-bin/transcode) will import individual 
frames and spit out a video in a bunch of different formats. It might take 
some time to set up to your liking, but it'll happily cope with most 
things you can throw at it; it'll even mux any audio you might want to 
use.

John Donovan
Sony Computer Entertainment Europe
http://www.scee.com


[EMAIL PROTECTED] wrote on 09/11/2006 00:45:14:

> Hello,
> 
> PLEAAAAAAAAASE!
> Does anybody have a way to automatically create an mpg or avi from an 
OSG
> fly through?  So, that it plays back in real-time?
> 
> Basically, I want to generate videos for demo purposes.
> 
> ie.
> loop
> update frame
> render scene
> capture screen
> down convert screen capture to acceptable format (720x480)
> end loop
> concatenate screen captures into video file.
> 
> Recommendations are also welcome.
> 
> Thanks.
> 
> Zach
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
Sony Computer Entertainment Europe

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to