PDA

View Full Version : Recording videos of the screen


tianmoran
12-08-2016, 04:19 AM
Currently, I would like to use vizard to generate a piece of movie. Yet there are two problems:
1, The quality of the picture is so bad;
2, I want to use viz.setOption('viz.AVIRecorder.fps','10') to nake some change, but error said:
AttributeError: 'module' object has no attribute 'AVIRecorder'

Could anyone help me? Thanks a lot!

Jeff
12-08-2016, 02:45 PM
1) I'm not sure why there would be issues with the quality. You could try a 3rd party recorder to see if that works better.

2) Do you get the same error running the following code?


import viz
viz.go()

viz.setOption('viz.AVIRecorder.fps','10')

viz.add('piazza.osgb')

vizact.onkeydown('b', viz.window.startRecording, 'test.avi' )
vizact.onkeydown('e', viz.window.stopRecording )

tianmoran
01-25-2017, 10:55 AM
hi Jeff, this problem has been settled. Thanks!