It's difficult to obtain audio/video data in Python. You just want a numpy array but how do you get this? This post presents a number of Python classes to address this issue.
Capturing Live Audio and Video in Python
In my robotics projects I want to capture live audio and video data in Python. To save you several days, this blog post explains how I go about doing this.