next up previous contents index
Next: khuei & kview: overlaying Up: ATNF Visualisation Software Previous: ktrek

   
cube2mpeg: converting movies to mpeg format

The program cube2mpeg converts a data-cube or a truecolour movie made with xray (both raw and colour-compressed)to the compressed format mpeg.   Mpeg movies can be included in HTML  documents. The compression ratio is quite good (typically 1:10). Mpeg-movies can be played with the program mpeg_play.

The call is

cube2mpeg [switches] <infile> <outfile> [min max]

<infile> can be in Karma-, FITS-, Miriad- or GIPSY format. <outfile> is the output mpeg-movie.

Optional switches are:

If the input file is a floatingpoint cube (i.e. a data-cube or output from krot), one can specify the minimum and maximum to use in converting the data (you can use this to clip the datarange).

The switches have to be given on the commandline, the input, output and the min and max can be given on the commandline, otherwise the program asks for it.

While encoding, you will see the message: Warning: setting chroma_format = 1 (4:2:0). You can ignore this. The encoder may complain about vbv_delay overflow. Ignore also this message.

An example of including a mpeg-movie in an html-document is:

<H3><A Name="universe"></H3>
<A HREF="universe.mpg">
<IMG ALIGN=bottom SRC="universe.gif" ALT="[MPEG] "></A>

universe.mpg is the mpeg movie to show, universe.gif is a GIF-image that users will click on to get the movie.


next up previous contents index
Next: khuei & kview: overlaying Up: ATNF Visualisation Software Previous: ktrek
Richard Gooch
2000-11-06