POV-Ray : Newsgroups : povray.bugreports : Cannot use stdout as output when rendering an animation. Server Time
14 May 2024 08:51:57 EDT (-0400)
  Cannot use stdout as output when rendering an animation. (Message 1 to 1 of 1)  
From: Cedric P
Subject: Cannot use stdout as output when rendering an animation.
Date: 21 Oct 2007 20:22:42
Message: <471bed52$1@news.povray.org>
When rendering an animation with the following command line :
povray +Ianim.pov +W720 +H576 +FP +KI0 +KFI0 +KF1 +KFF25 -o- > rawppm
Only the first rendered image is output.

The problem comes from void IOBase::close(void) :
stdout is closed at the end of the first image.

IOBase::close(void) should have no effect on stdin or stdout.

Without this bug, it would be possible to directly create a mpg video
without intermediate images :
povray +Ianim.pov +W720 +H576 +FP +KI0 +KFI0 +KF1 +KFF25 -o- | ffmpeg -f
image2pipe -i pipe:.ppm -target dvd anim.mpg

I can provide a patch if necessary.
Thanks guys, povray is wonderfull :D


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.