POV-Ray : Newsgroups : povray.general : Output_File_Name=- and animation Server Time
1 Aug 2024 04:10:28 EDT (-0400)
  Output_File_Name=- and animation (Message 1 to 1 of 1)  
From: Nicolas George
Subject: Output_File_Name=- and animation
Date: 23 Apr 2006 14:09:41
Message: <444bc2e5@news.povray.org>
Hi.

When POV-Ray finishes a frame, it closes it output file. When used with
Output_File_Name=- and an animation, it causes the write of the second frame
to fail.

Writing all the output images to one single pipe may be useful to encode
animations on the fly. For example, the mjpegtools have a ppmtoy4m too that
takes concatenated PPM files and writes a YUV4MPEG stream on the fly.

I have found a workaround with:

	Pre_Frame_Command = "ln -s /dev/stdout %o"
	Post_Frame_Command = "rm %o"

(ensuring that all is done in a tmpfs to avoid stressing the filesystem),
but it is not very satisfactory.

Does anyone have a better suggestion?


Post a reply to this message

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