add code_examples/png2avi.py: optimal movie generator