generate output.avi in home folder