added -s and -f option to video_example.py