Revert "test for save avi file"

This reverts commit 2dc4d408af50cc9db4e19f233fa233ccb9de0577.
support resolution switch