moviepy.video.io.ffmpeg_tools.ffplay_version#

moviepy.video.io.ffmpeg_tools.ffplay_version()[source]#

Retrieve the FFplay version.

This function retrieves both the full and numeric version of FFplay by executing the ffplay -version command. The full version includes additional details like build information, while the numeric version contains only the version numbers (e.g., '6.0.1').

Returns:

A tuple containing: - full_version (str): The complete version string (e.g., '6.0.1-static'). - numeric_version (str): The numeric version string (e.g., '6.0.1').

Return type:

tuple

Example

>>> ffplay_version()
('6.0.1-static', '6.0.1')
Raises:

subprocess.CalledProcessError -- If the FFplay command fails to execute properly.