OpenCV 2.4 VideoCapture do not working on Win
===

I'm using Python bindings to OpenCV 2.4 installed with following [instructions][1].

My problem is simular to [this one][2], but I need Windows machine solution.

Problem: when I try to use 

    cap = cv2.VideoCapture(0)
    print cap.grab()

, it works fine, but 

    cap = cv2.VideoCapture(filename)
    print cap.grab()

always return False. Path to the file is correct, absolute and have no spaces.

Tried on two machines with Windows XP and Windows 7 with similar results. On Linux (Ubuntu) it works fine for me.


  [1]: http://opencvpython.blogspot.com/2012/05/install-opencv-in-windows-for-python.html
  [2]: http://stackoverflow.com/questions/11444926/videocapture-is-not-working-in-opencv-2-4-2