Skip to content

schema

FFmpeg format schema definitions.

Classes:

Name Description
FFMpegDemuxerOption

FFmpeg demuxer option group.

FFMpegMuxerOption

FFmpeg muxer option group.

FFMpegDemuxerOption

Bases: FFMpegOptionGroup

FFmpeg demuxer option group.

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.

FFMpegMuxerOption

Bases: FFMpegOptionGroup

FFmpeg muxer option group.

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.