OpenOutputVideoStream


Creates a video stream which will be saved to a selected file.

Syntax

C++
Python
 
def OpenOutputVideoStream(
	inFile: str,
	inVideoEncoder: VideoEncoder,
	inFPS: float,
	inFrameWidth: int,
	inFrameHeight: int,
	outOutputVideoStream: OutputVideoStream,
	/
)
-> None

Parameters

Name Type Default Description
Input value inFile str File path of the output file
Input value inVideoEncoder VideoEncoder Video encoder
Input value inFPS float Desired frame rate of the produced video file
Input value inFrameWidth int Width of frame being added
Input value inFrameHeight int Height of frame being added
Output value outOutputVideoStream OutputVideoStream Initialized output video stream