Frame Extraction

CLI Arguments

Trim Frame Start

Specify the starting frame of the target video.

Argument: --trim-frame-start

Default: None

Example: --trim-frame-start 100

Trim Frame End

Specify the ending frame of the target video.

Argument: --trim-frame-end

Default: None

Example: --trim-frame-end 200

Temp Frame Format

Specify the temporary resources format.

Argument: --temp-frame-format

Default: png

Choices: bmp jpg png

Example: --temp-frame-format bmp

Keep Temp

Keep the temporary resources after processing.

Argument: --keep-temp

Default: None

Example: --keep-temp

Default Overrides

Modify the facefusion.ini file to override the defaults.

[frame_extraction]
trim_frame_start = 100
trim_frame_end = 200
temp_frame_format = bmp
keep_temp = True