How to reduce image quality and frame rate?