Re: Creating a movie file from a set of postscript files.
- From: Peter Salzman <psalzman@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 9 Oct 2005 15:29:47 +0000 (UTC)
In sci.math.num-analysis Roy Stogner <roystgnrNO@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 07 Oct 2005 15:11:31 -0400, Gordon wrote:
> > Peter Salzman wrote:
> >> I have a bunch of eps files that represent the time evolution of a
> >> solution to the diffusion PDE. I can show them in rapid succession,
> >> which makes it look like a movie, but I'd like to be able to turn
> >> them into a native movie format. So, the problem statement is:
> >> Suppose I have a bunch of eps / ps files. Is there any way to string
> >> the files together to create a movie file of some sort (like an mpg
> >> or avi)?
> >
> > One possibility is to use GSView to convert to jpg (which may have to be
> > cropped), and then use Windows Movie Maker (part of Windows XP) to import
> > the picture files.
> Based on the "comp.unix.*" crossposting and Peter's Linux newsreader, that
> may not be an option.
> Here's the quick-and-dirty script I use; it requires ImageMagick and
> mplayer installed and it assumes there's no .jpg files already in your
> picture directory.
> for file in $*; do
> echo "Converting $file";
> convert -quality 100 $file $file.jpg;
> done
> mencoder "mf://*.jpg" -mf fps=1 -o adapt.avi -ovc lavc -lavcopts \
> vcodec=mpeg4:vqscale=4
> I'm starting with RGB files, though; for vector graphics like eps
> files you'll want to add an option like "-scale 640x480" to the convert
> command. This will rasterize all your images, of course, but I don't know
> of any standard movie codecs that keep vector data as vector data.
> I'm also rendering implicit calculations with relatively large timesteps;
> change the "fps=" option if one frame per second is a bit slower than
> you'd like. ;-)
Thank you both! I actually DO have a windows partition here, but it's hardly
ever booted. I do prefer the Linux environment.
Roy, my only regret is that I didn't ask this sooner. *THANK YOU*.
This opens up some very cool opportunities in looking at my results.
Awesome!
Pete
.
- Prev by Date: Re: Solving a PDE as one big ODE
- Next by Date: Re: Confluent hypergeometric function of 1 2 0.5
- Previous by thread: A C compiler for numerical work
- Next by thread: Re: Confluent hypergeometric function of 1 2 0.5
- Index(es):
Relevant Pages
|