Re: Creating a movie file from a set of postscript files.



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
.



Relevant Pages

  • Re: Creating a movie file from a set of postscript files.
    ... >> I have a bunch of eps files that represent the time evolution of a ... >> the files together to create a movie file of some sort (like an mpg ... > the picture files. ... of any standard movie codecs that keep vector data as vector data. ...
    (comp.unix.programmer)
  • Re: Creating a movie file from a set of postscript files.
    ... >> I have a bunch of eps files that represent the time evolution of a ... >> the files together to create a movie file of some sort (like an mpg ... > the picture files. ... of any standard movie codecs that keep vector data as vector data. ...
    (comp.unix.questions)
  • Re: Movie Maker Issues in Vista
    ... If you've only got 2MB of RAM, you don't event have enough to boot ... You don't need speed or processing power to MAKE a movie... ... but Windows itself and try to play the movie. ... One of the updates was probably a DRM ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: Millions of minutes
    ... program Indows Movie Maker worked fine while I was working on the ... PCs running Windows XP SP2, then you should be able to ... and I'm running on a Mac! ... I'm running Windows in a virtual machine on the Mac, ...
    (rec.video.desktop)
  • Re: Problems with MPGs
    ... They all can play that MPG file with whatever version ... Vista Home Premium one. ... It just won't play properly on Windows Media ... my Vista Home Premium PC and have had no luck viewing the movie. ...
    (microsoft.public.windows.vista.music_pictures_video)