Remove background from video

If the background is not a green screen then one way to do it is described in this thread: