EncodeVideo


Encodes video from images and saves it with using FFmpeg library.

Syntax

C++
Python
 
def EncodeVideo(
	state: FFmpeg_EncoderState,
	inFile: str,
	inFourCC: FFmpegCodec,
	inImage: Image,
	inFPS: int,
	/
)
-> None

Parameters

Name Type Default Description
Input will be modified ioState FFmpeg_EncoderState
Input value inFile str File path with the appropriate format, e.g., output.avi
Input value inFourCC FFmpegCodec Codec type for video encoding
Input value inImage Image Input image to be encoded
Input value inFPS int Frames per second for video encoding