binary star formation galactic centre star formation (by Richard Alexander) turbulence kelvin-helmholtz instability tidal disruption warped disc

Menu:

News:

Jul 15th 2009:
v1.12.2 released.

Apr 20th 2009:
v1.12.1 released.

Dec 22nd 2008:
v1.12.0 released. Merry Christmas!

Oct 13th 2008:
v1.11.1 released. Recommended for all users!

Oct 13th 2008:
SPLASH mailing lists started (as Google Groups).

Sep 3rd 2008:
New SPLASH website launched.

Sep 1st 2008:
Arrived in Melbourne!

more »

Troubleshooting / Frequently Asked Q's

Here is a collection of the most common problems with using SPLASH. You may also wish to browse the archives of the splash-users discussion list.

[Basic installation][PGPLOT problems][SPLASH installation] [Dump formats] [Output] [Making movies] [Miscellaneous]

Installation:

Problems with PGPLOT installation:

Problems with SPLASH installation:

Input:

Output:

Making movies:

It is also possible to produce MPEG movies direct from images in Linux. The options are (Thanks to Florian Buerzle):

  1. Using ImageMagick: Although not well known, ImageMagick has also the capabilities to create MPEG movies directly from images. Doing so is as simple as:
    convert -delay 10 -loop 0 pgplot.gif pgplot.gif_? pgplot.gif_?? pgplot.gif_??? animation.mpg
    
    However, this is most likely NOT to work if one has an older version of ImageMagick installed (especially true for Ubuntu Intrepid 8.10, the current release). Due to some reason, ImageMagick does rely on third party software, provided by MPEG Software Simulation Group and available for download on ImageMagick's FTP server here.

    This has to be compiled via 'make' and the file mpeg2encode (not to be confused with mpeg2enc which is of different origin) must be copied into a folder somewhere in the PATH.

    While this procedure works easily, there are shortcomings:

    • This mpeg2encode is really ancient (from 1996) and therefore does support MPEG-1 and MPEG-2 only.
    • mpeg2encode is not licenced under GPL, and may therefore conflict with free software purists' philosophies.
    But according to the ImageMagick bulletin boards, this should be fixed in current releases of ImageMagick using the ffmpeg (see below) instead of mpeg2encode - but I've not tried that yet, since I don't want to mess up my distros' dependencies by installing too much stuff myself and will rather wait for the next Ubuntu release... Note: GraphicsMagick, a fork of ImageMagick, does also rely on mpeg2encode.

  2. Using ffmpeg:

    This is a command line tool and not as convenient to use as ImageMagick (there is also no proper release, or only once in a blue moon...one has to use the version from the SVN trunk). However, there is a frontend called Vive, maintained at sourceforge (which I haven't managed to install myself, due to dependency problems...but maybe someone is more lucky).

    On Debian-based distributions (on RedHat, things may be similar, but I don't know), the ffmpeg installed with apt-get won't do the job, the "unstripped" versions of the libraries libavcodec, etc. need to be installed. For Ubuntu Intrepid the following worked (should also be fine for other Debian based distros):

    sudo apt-get purge ffmpeg
    
    sudo apt-get update
    
    sudo apt-get install libavcodec-unstripped-51 libavdevice-unstripped-52 libavformat-unstripped-52 
    libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0 ffmpeg

    Then, ffmpeg can be used according to the documentation.

    For example, the following works for my plots

    ffmpeg -i myplot_%04d.png -r 25 -b 2048k animation.mp4
    
    but that requires some experimentation with the parameter settings. The image files' names have to be strictly in numerical order for this method to work properly, and the %04d is used similar to the formatted output in C's printf function. But see the very nice page here.

  3. Using mencoder:

    mencoder is a utility which comes with the famous MPlayer. As mencode is also based on ffmpeg, the requirements mentioned above should also apply here. An example command line for mencoder (contributed by Sander Valcke) is given by

    mencoder "mf://*.png" -mf fps=5 -o output.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vhq:vbitrate=3000:mbd=1
    
    where the frame rate (-fps=5) can be adjusted as required.

Miscellaneous