Render Video Capturing

Can we modify and control the settings of render by C++