[MEncoder-users] PNGs from POV-Ray and stdin

Nicolas George nicolas.george at normalesup.org
Thu Jan 10 19:56:10 CET 2008


Le primidi 21 nivôse, an CCXVI, Rich Felker a écrit :
> It's not this difficult. Just use a single FIFO and keep it open for
> writing by a second process that will never write anything, e.g.
> cat>fifo in another terminal. This will prevent the reading end from
> getting EOF each time povray closes and reopens the fifo.

Unfortunately, when writing an animation to anything other than stdout, it
insists to append the frame number to the file name. It is therefore not
possible to avoid having one directory entry per frame, either all at once
or on demand. I prefer to have them on demand.

The easiest solution is probably to make them a symlink to /dev/stdout, if
stdout is not a socket. At least, POV-Ray does not write anything to stdout
unless ordered to.

Regards,

-- 
  Nicolas George



More information about the MEncoder-users mailing list