Please use the OpenGL-capable mode of DemoRecorder. ( see below for instructions )
It records the main desktop ( a selectable rectangular area of it, to be more exact ) and it works well with hardware-accelerated OpenGL.
Although this feature is not yet officially released it works quite well and it is already contained in the normal install package. Some of my customers already use this mode in a production environment.
If you need help with this mode or if you experience problems with it, please tell me by email and I will help you.
http://download.demorecorder.com/download/examples/test20070918-1.avi(this is a recording of the game "glmaze" which is an OpenGL application and a good test-case for OpenGL recording.)
Currently, this recording mode requires the X-Server to be configured
for 24bit TrueColor.
(Some Linux distributions use 16-bit TrueColor as the default and that won't work.
If the X-Server config does not meet the required 24-bit TrueColor then
DemoRecorder will only record the initial frame but no frames thereafter,
so you'll get a still image instead of a video.)
You can check your X-Server config by entering the following command into a shell window:
xdpyinfo
...and looking at the output:
[...]
depth of root window: 24 planes
<-- "24" here indicates 24 bit
number of colormaps: minimum 1, maximum 1
default visual id: 0x21
<-- this may be a different number on your system
visual:
visual id: 0x21
<-- this is the same number as above
class: TrueColor
<-- indicates "TrueColor"
depth: 24 planes
<-- "24" here indicates 24 bit
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
How to use the OpenGL-capable mode of DemoRecorder
Recording
demorec
--opengl-hw
--out ~/demorec/yourrecording
(There are options to fine-tune it, cf the output of "demorec --help" )
Exporting works the same as with the other recording engine, e.g.
demorec-to-avi --output-bitrate 6000 ~/demorec/yourrecording ~/demorec/yourrecording.avi
When exporting to FLV and then viewing it in the Flashplayer of your webbrowser (which has to be done through a webserver) please note that the Flash player ( at least under Linux) has some performance problems and is therefore dropping frames if a moving 3D scene is played back. So the Flash player cannot keep pace with the performance that DemoRecorder is capable at recording.
So, for active 3D scenes I recommend the AVI or MPEG format because players for these formats are usually optimized for the case of each part of each frame being different from the pervious frame. For AVI and MPEG please use a high output-bitrate such as 6000 or even a bit higher.
The GUI of the OpenGL/Animation-mode does not yet provide a preview playback button but you can use standard demorec for playback. For doing that please start demorec with the resolution of your video, e.g.,
demorec --width 1147 --height 833Then load the video and press "play" for the preview playback.
Tutorial | Features | Download | Get Free Trial | Buy | Support