From http://stackoverflow.com/questions/712998/opencv-with-network-cameras/1012957#1012957