cli
¶
CLI for parsing FFmpeg filter help information.
This module provides commands to extract and parse filter information from FFmpeg's help output. It combines information from multiple sources to create comprehensive filter definitions with proper typing information.
Functions:
Name | Description |
---|---|
all_av_option_sets |
Parse all options from FFmpeg help output. |
all_codecs |
Parse all codecs from FFmpeg help output. |
all_filters |
Parse all filters from FFmpeg help output. |
all_formats |
Parse all muxers from FFmpeg help output. |
all_av_option_sets
¶
all_av_option_sets() -> list[FFMpegAVOption]
Parse all options from FFmpeg help output.
Returns:
Type | Description |
---|---|
list[FFMpegAVOption]
|
List of parsed FFmpeg options. |
all_codecs
¶
all_codecs() -> list[FFMpegCodec]
Parse all codecs from FFmpeg help output.
Returns:
Type | Description |
---|---|
list[FFMpegCodec]
|
List of parsed FFmpeg codecs. |
all_filters
¶
all_filters() -> list[FFMpegFilter]
Parse all filters from FFmpeg help output.
This function combines information from two sources:
1. The general filter list from 'ffmpeg -filters'
2. Detailed filter information from 'ffmpeg -h filter=
It merges these sources to create comprehensive filter information objects.
Returns:
Type | Description |
---|---|
list[FFMpegFilter]
|
A list of parse_help FFMpegFilter objects with complete filter information |
all_formats
¶
all_formats() -> list[FFMpegFormat]
Parse all muxers from FFmpeg help output.
Returns:
Type | Description |
---|---|
list[FFMpegFormat]
|
List of parsed FFmpeg formats. |