Making a movie
Lisbon Workshop
October 2006
John Allison
University of Manchester

These movies were made with mpeg2encode (http://www.mpeg.org/)

See Application Developer Guide, Visualization, Making A Movie (from next release)
Slide 3
Method
Produce lots of files; for example
/vis/oglx/set/printEPS true
/control/loop movie.loop theta 0 360 1
where movie.loop is
/vis/viewer/set/viewpointThetaPhi {theta} 30
/vis/viewer/zoom 1.005
/vis/viewer/update
Convert to ppm files for mpeg2encode
for i in G4OpenGL*eps; do j=`basename $i .eps`; convert $i $j.ppm; done

mpeg2encode parameter file
I found a helpful shell script
make_mpeg2encode_parfile.sh G4OpenGL_*eps
Edit resulting mpeg2encode.par
2         /* input picture file format: 2=*.ppm */
1         /* aspect_ratio_information 1=square */
Encode
mpeg2encode mpeg2encode.par G4OpenGL.mpg
Very messy and time consuming
Documented in next release

Quality
Quality disappointing
No reason why mpeg2 should be so poor
50 parameters; not learnt how to drive
Or buy QuickTime Pro (Windows and Mac)
Not expensive (20)
Convert to gif and File->Open Image Sequence
Export to mpeg4
Much superior quality

Slide 7
Slide 8
Slide 9