Skip to content

framesync

Framesync options. Some filters with several inputs support a common set of options. These options can only be set by name, not with the short notation.

Classes:

Name Description
FFMpegFrameSyncOption

Framesync options.

Functions:

Name Description
framesync

Framesync options. Some filters with several inputs support a common set of options. These options can only be set by name, not with the short notation.

FFMpegFrameSyncOption

Bases: FFMpegOptionGroup

Framesync options.

framesync

framesync(
    *,
    eof_action: (
        Literal["repeat", "pass", "endall"] | None
    ) = None,
    shortest: bool | None = None,
    repeatlast: bool | None = None,
    ts_sync_mode: (
        Literal["default", "nearest"] | None
    ) = None
) -> FFMpegFrameSyncOption

Framesync options. Some filters with several inputs support a common set of options. These options can only be set by name, not with the short notation.

Parameters:

Name Type Description Default
eof_action Literal['repeat', 'pass', 'endall'] | None

Action to take when encountering EOF from secondary input (from 0 to 2) (default repeat)

None
shortest bool | None

force termination when the shortest input terminates (default false)

None
repeatlast bool | None

extend last frame of secondary streams beyond EOF (default true)

None
ts_sync_mode Literal['default', 'nearest'] | None

How strictly to sync streams based on secondary input timestamps (from 0 to 1) (default default)

None
References

FFmpeg Documentation

Returns:

Type Description
FFMpegFrameSyncOption

FFMpegFrameSyncOption