POV-Ray : Newsgroups : povray.general : How to script animation ? Server Time
28 Nov 2024 12:37:29 EST (-0500)
  How to script animation ? (Message 1 to 5 of 5)  
From: Dennis Clarke
Subject: How to script animation ?
Date: 17 Dec 2006 23:00:00
Message: <web.458611d0db4a0d15cd7fbef60@news.povray.org>
I have an 8-way opteron machine to run some POVRay renders on and it seems
to work well creating frames one at a time.  Does there exist some tool
that will allow me to do the following ?

  ( 1 ) issue 8 povray commands that produce animation frames in
        sets.  So CPU0 works on frames 1 to 32 and then CPU1 will
        work on frames 33 to 64 etc etc.  This is done with the
        +KC and start and end frame number options easily.

  ( 2 ) process all frames into an MPEG4 animation file

My objective here is to take a given POV input file and a well described
camera path based on the clock parameter and have an animation all done
by the computer at the back end.  I am not interested in seeing frames
unless there is a problem.  The only thing I care about is how many
frames in total.

Is there a tool that takes sets of PNG input files and creates MPEG4 ?

Dennis


Post a reply to this message

From: Charles C
Subject: Re: How to script animation ?
Date: 18 Dec 2006 01:10:00
Message: <web.45862ffb21d787e99992c0d0@news.povray.org>
The quick & easy answer to question #1 would be add  +SF... & +EF... to each
of your commands. You can also use 8 different .ini files:

From section# 3.1.2.1.3  Subsets of Animation Frames:

Subset_Start_Frame=n  Set subset starting frame to n
Subset_Start_Frame=0.n  Set subset starting frame to n percent
Subset_End_Frame=n  Set subset ending frame to n
Subset_End_Frame=0.n  Set subset ending frame to n percent
+SF0.n  Same as Subset_Start_Frame
+EF0.n  Same as Subset_End_Frame


Post a reply to this message

From: Dennis Clarke
Subject: Re: How to script animation ?
Date: 18 Dec 2006 01:20:01
Message: <web.4586329421d787e9cd7fbef60@news.povray.org>
"Charles C" <nomail@nomail> wrote:
> The quick & easy answer to question #1 would be add  +SF... & +EF... to each
> of your commands. You can also use 8 different .ini files:
>
> From section# 3.1.2.1.3  Subsets of Animation Frames:
>
> Subset_Start_Frame=n  Set subset starting frame to n
> Subset_Start_Frame=0.n  Set subset starting frame to n percent
> Subset_End_Frame=n  Set subset ending frame to n
> Subset_End_Frame=0.n  Set subset ending frame to n percent
> +SF0.n  Same as Subset_Start_Frame
> +EF0.n  Same as Subset_End_Frame

yes .. that generates the actual frame data.  I knew that bit.

What is missing is the MPEG4 conversion stage.  Does there exist some
tool that will take a slew of frames as input and then output an actual
animation ?

Keep in mind that this all happens on some big backend server.

Dennis


Post a reply to this message

From: Lukas Winter
Subject: Re: How to script animation ?
Date: 18 Dec 2006 08:13:03
Message: <pan.2006.12.18.13.13.03.435245@removeit.geloescht.net>
Am Mon, 18 Dec 2006 01:17:56 -0500 schrieb Dennis Clarke:

> 
> yes .. that generates the actual frame data.  I knew that bit.
> 
> What is missing is the MPEG4 conversion stage.  Does there exist some tool
> that will take a slew of frames as input and then output an actual
> animation ?
> 
> Keep in mind that this all happens on some big backend server.
> 
> Dennis

I use ffmpeg (http://ffmpeg.mplayerhq.hu/) for this task. It is a quite
versatile command line tool for all sorts of video and audio.

Lukas


Post a reply to this message

From: Dennis Clarke
Subject: Re: How to script animation ?
Date: 18 Dec 2006 13:55:00
Message: <web.4586e3b121d787e9cd7fbef60@news.povray.org>
Lukas Winter <web### [at] removeitgeloeschtnet> wrote:
> Am Mon, 18 Dec 2006 01:17:56 -0500 schrieb Dennis Clarke:
>
> >
> > yes .. that generates the actual frame data.  I knew that bit.
> >
> > What is missing is the MPEG4 conversion stage.  Does there exist some tool
> > that will take a slew of frames as input and then output an actual
> > animation ?
> >
> > Keep in mind that this all happens on some big backend server.
> >
> > Dennis
>
> I use ffmpeg (http://ffmpeg.mplayerhq.hu/) for this task. It is a quite
> versatile command line tool for all sorts of video and audio.
>

excellent !  I'll look into that .. thank you

Dennis


Post a reply to this message

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