Calculation of Optical Flow Using the Farneback's Algorithm in OpenCV is explained in this video.
No download links available.