If you feel like this example could be improved, you may edit this example here.
Takes an input video file and ‘scale’ every video frame to a fixed size of 640x360 pixels. This is useful for generating a smaller version of a video file to share on a “content distribution network”.