How to decode a video (memory file / byte string) and step through it frame by frame in Python?

I am using python to do some basic image processing, and want to extend it to process a video frame by frame.

Link

Related resources