title: Get video dimension in python-opencv
body: <p>I can get size of image, like this:</p>
  
  <pre><code>import cv2
  
  img = cv2.imread('my_image.jpg',0)
  height, width = img.shape[:2]
  </code></pre>
  
  <p>How about video?</p>