cli
¶
CLI for parsing FFmpeg C source code.
This module provides commands to pre-compile FFmpeg source code and parse options from the C code, extracting structured information about FFmpeg's command-line options and their properties.
Functions:
Name | Description |
---|---|
parse_ffmpeg_options |
Parse the ffmpeg options from C code. |
parse_ffprobe_xsd |
Parse the ffprobe XSD file. |
pre_compile |
Pre-compile the ffmpeg source code. |
parse_ffmpeg_options
¶
parse_ffmpeg_options() -> list[FFMpegOption]
Parse the ffmpeg options from C code.
Returns:
Type | Description |
---|---|
list[FFMpegOption]
|
List of parsed FFmpeg options. |
parse_ffprobe_xsd
¶
parse_ffprobe_xsd(
xsd_file: Path, output_file: Path
) -> None
Parse the ffprobe XSD file.