Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.ffmpeg.FFmpegManager Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, str ffmpeg_bin)
 
tuple[str|None, int|None] async_get_version (self)
 
str binary (self)
 
str ffmpeg_stream_content_type (self)
 

Public Attributes

 hass
 

Private Attributes

 _bin
 
 _cache
 
 _major_version
 
 _version
 

Detailed Description

Helper for ha-ffmpeg.

Definition at line 138 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.ffmpeg.FFmpegManager.__init__ (   self,
HomeAssistant  hass,
str  ffmpeg_bin 
)
Initialize helper.

Definition at line 141 of file __init__.py.

Member Function Documentation

◆ async_get_version()

tuple[str | None, int | None] homeassistant.components.ffmpeg.FFmpegManager.async_get_version (   self)
Return ffmpeg version.

Definition at line 154 of file __init__.py.

◆ binary()

str homeassistant.components.ffmpeg.FFmpegManager.binary (   self)
Return ffmpeg binary from config.

Definition at line 150 of file __init__.py.

◆ ffmpeg_stream_content_type()

str homeassistant.components.ffmpeg.FFmpegManager.ffmpeg_stream_content_type (   self)
Return HTTP content type for ffmpeg stream.

Definition at line 171 of file __init__.py.

Member Data Documentation

◆ _bin

homeassistant.components.ffmpeg.FFmpegManager._bin
private

Definition at line 145 of file __init__.py.

◆ _cache

homeassistant.components.ffmpeg.FFmpegManager._cache
private

Definition at line 144 of file __init__.py.

◆ _major_version

homeassistant.components.ffmpeg.FFmpegManager._major_version
private

Definition at line 159 of file __init__.py.

◆ _version

homeassistant.components.ffmpeg.FFmpegManager._version
private

Definition at line 158 of file __init__.py.

◆ hass

homeassistant.components.ffmpeg.FFmpegManager.hass

Definition at line 143 of file __init__.py.


The documentation for this class was generated from the following file: