add specification of videodevice with opts