added resolution setting for USB camera
fix subprocess call