Heilan is able to render it's visual and audio output to files instead of streaming it. To activate offline rendering, either click the offline button in Heilan Front End, or (on the command line) pass it the --offline (or -of) switch, followed by the number of audio samples to record for (in the future this will be the number of samples), and a filename. The visual frames will be rendered to jpeg and written to <filename>XXXX.jpg, and the audio will be written as individual .wav files for each active speaker feed, to <filename>n.wav. You can then combine these files into a movie using mencoder, for example.
Example Usage with MEncoder
This will record 10 seconds worth, using the default 44100Hz samplerate and stereo sound (this can also be done from within Heilan Front End).
heilanbrowser -of 10 output/temp testFile.x3d
First convert the wavs into an MP3 (I use Audacity for this).
The following commands will combine the mp3 and jpegs into an xvid avi file, using a 2-pass process for the best video quality (800 and 600 are the resolution of the jpegs - I'm not sure if this is entirely necessary). The higher the value you give to bitrate on the second pass, the better quality video you'll get.
mencoder mf://*.jpg -audiofile temp.mp3 -mf w=800:h=600:fps=30:type=jpg \ -ovc xvid -xvidencopts pass=1 -oac copy -o tempOutput.avi mencoder mf://*.jpg -audiofile temp.mp3 -mf w=800:h=600:fps=30:type=jpg \ -ovc xvid -xvidencopts pass=2:bitrate=800 -oac copy -o tempOutput.avi
See also these links for help on generating 5.1 ac3 files, DVD-compatible movies and MP4 files suitable for uploading to vimeo:
- How to create multichannel (5.1) AC3 audio (and video) in Linux
HOWTO mencoder DIVX to DVD
(replace <inputfile> with the
mf://*.jpg -audiofile <audiofile.ac3> bits above)
sorry, this page has gone; try the archived version
- How to encode Quicktime-compatible MP4 within mencoder
(note that I tend to do any video work on Linux - I don't know what the best equivalents are for Windows and OSX)