Basically the Unity Recorder window is an interface to control and make calls to UnityEditor.Recorder. The short version via scripting is to create an instance of the scriptableObject for RecorderControllerSettings, pass in the values you want and then call the recorder to process this like it would from the window. :) docs.unity3d.com/Packages/com.unity.recorder@5.1/api/UnityEditor.Recorder.html