Skip to content

timeline

FFmpeg timeline options module.

Classes:

Name Description
FFMpegTimelineOption

Timeline options.

Functions:

Name Description
timeline

Create timeline options.

FFMpegTimelineOption

Bases: FFMpegOptionGroup

Timeline options.

Methods:

Name Description
as_av_options

Convert the option group to a dictionary of AV options.

as_av_options

as_av_options() -> dict[str, Any]

Convert the option group to a dictionary of AV options.

AV options are the options that are used to configure the codec, format, or filter. Boolean options are converted to their corresponding flags. if v is a boolean, it is converted to 0 or 1.

Returns:

Type Description
dict[str, Any]

A dictionary of AV options.

timeline

timeline(
    *, enable: str | Expression
) -> FFMpegTimelineOption

Create timeline options.

Parameters:

Name Type Description Default
enable str | Expression

The timeline enable parameter.

required

Returns:

Type Description
FFMpegTimelineOption

FFMpegTimelineOption with the specified enable parameter.