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

Rich Felker dalias at aerifal.cx
Thu Jan 10 04:06:57 CET 2008


On Thu, Jan 10, 2008 at 03:30:19AM +0100, SasQ wrote:
> Hello.
> 
> I'm trying to compress frames generated from POV-Ray to make a video.
> At the moment i have to generate all frames as separate PNG files
> and next use MEncoder to convert it to DivX.
> 
> But there are huge amounts of those PNG files for longer animations,
> so I would like to workaround it and not use any of those intermediate
> PNG files, but stream them directly from POV-Ray to MEncoder using
> a pipe [POV-Ray writing them to stdout, and MEncoder reading it from
> stdin and compressing]. Is it possible?
> 
> I've tried to do this this way:
> 
>   $ povray demo.pov -o- \
>      | mencoder -o anim.avi \
>      -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 -

What format is povray writing to stdout??

Rich



More information about the MEncoder-users mailing list