Feature for testing the presence of ffmpeg#

class sage.features.ffmpeg.FFmpeg(*args, **kwds)[source]#

Bases: Executable

A Feature describing the presence of ffmpeg.

EXAMPLES:

sage: from sage.features.ffmpeg import FFmpeg
sage: FFmpeg().is_present()  # optional - ffmpeg
FeatureTestResult('ffmpeg', True)
>>> from sage.all import *
>>> from sage.features.ffmpeg import FFmpeg
>>> FFmpeg().is_present()  # optional - ffmpeg
FeatureTestResult('ffmpeg', True)
is_functional()[source]#

Return whether command ffmpeg in the path is functional.

EXAMPLES:

sage: from sage.features.ffmpeg import FFmpeg
sage: FFmpeg().is_functional()   # optional - ffmpeg
FeatureTestResult('ffmpeg', True)
>>> from sage.all import *
>>> from sage.features.ffmpeg import FFmpeg
>>> FFmpeg().is_functional()   # optional - ffmpeg
FeatureTestResult('ffmpeg', True)
sage.features.ffmpeg.all_features()[source]#