Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Download ¶
Download downloads and installs the FFmpeg binary.
It takes a configuration name as an argument, which is used to determine the directory where the FFmpeg binary will be installed.
Parameters:
- configName: The name of the configuration directory.
Returns:
- string: The path to the installed FFmpeg binary.
- error: An error message if the installation fails.
func IsStaticallyInstalled ¶
IsStaticallyInstalled checks if the FFmpeg binary is installed in the specified configuration directory.
It takes a configuration name as an argument, which is used to determine the directory where the FFmpeg binary should be located.
Parameters:
- configName: The name of the configuration directory.
Returns:
- string: The path to the FFmpeg binary if found, otherwise an empty string.
- bool: true if the FFmpeg binary is found and executable, otherwise false.
func IsSystemInstalled ¶
func IsSystemInstalled() bool
IsSystemInstalled checks if FFmpeg is installed on the system.
It returns true if it's installed, otherwise it returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.