tvtk conflict with compiz

I tried the following simple tvtk example but it kept hang my ubuntu 8.10 machine. #!/usr/bin/env python from enthought.tvtk.api import tvtk cs=tvtk.ConeSource(resolution=100) mapper=tvtk.PolyDataMapper(input=cs.output) actor=tvtk.Actor(mapper=mapper) #create a renderer: renderer=tvtk.Renderer() # create a render window and hand it the renderer render_window = tvtk.RenderWindow(size=(400,400)) render_window.add_renderer(renderer) #dreate interactor and hand it the render window # this handles mouse interaction…

ffmpeg and OpenCV

As of Oct 11, 2009, I reinstalled OpenCV and ffmpeg again on Ubuntu Jaunty. The previous installation procedure doesn’t seem to work. I can install OpenCV but it doesn’t cooperate happily with ffmpeg. I came across this wonderful guide and it more or less solves all my problems. Below repeats some of the steps described…