Home Assistant Unofficial Reference 2024.12.1
fmp4utils.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.stream.fmp4utils
 

Functions

Generator[int] homeassistant.components.stream.fmp4utils.find_box (bytes mp4_bytes, bytes target_type, int box_start=0)
 
int homeassistant.components.stream.fmp4utils.find_moov (BufferedIOBase mp4_io)
 
str homeassistant.components.stream.fmp4utils.get_codec_string (bytes mp4_bytes)
 
bytes homeassistant.components.stream.fmp4utils.read_init (BufferedIOBase bytes_io)
 
bytes homeassistant.components.stream.fmp4utils.transform_init (bytes init, Orientation orientation)
 

Variables

tuple homeassistant.components.stream.fmp4utils.FLIP = (ONE32 + ZERO32 + ZERO32) + (ZERO32 + NEGONE32 + ZERO32)
 
tuple homeassistant.components.stream.fmp4utils.MIRROR = (NEGONE32 + ZERO32 + ZERO32) + (ZERO32 + ONE32 + ZERO32)
 
string homeassistant.components.stream.fmp4utils.NEGONE32 = b"\xff\xff\x00\x00"
 
string homeassistant.components.stream.fmp4utils.ONE32 = b"\x00\x01\x00\x00"
 
tuple homeassistant.components.stream.fmp4utils.ROTATE_180 = (NEGONE32 + ZERO32 + ZERO32) + (ZERO32 + NEGONE32 + ZERO32)
 
tuple homeassistant.components.stream.fmp4utils.ROTATE_LEFT = (ZERO32 + NEGONE32 + ZERO32) + (ONE32 + ZERO32 + ZERO32)
 
tuple homeassistant.components.stream.fmp4utils.ROTATE_LEFT_FLIP = (ZERO32 + NEGONE32 + ZERO32) + (NEGONE32 + ZERO32 + ZERO32)
 
tuple homeassistant.components.stream.fmp4utils.ROTATE_RIGHT = (ZERO32 + ONE32 + ZERO32) + (NEGONE32 + ZERO32 + ZERO32)
 
tuple homeassistant.components.stream.fmp4utils.ROTATE_RIGHT_FLIP = (ZERO32 + ONE32 + ZERO32) + (ONE32 + ZERO32 + ZERO32)
 
tuple homeassistant.components.stream.fmp4utils.TRANSFORM_MATRIX_TOP
 
string homeassistant.components.stream.fmp4utils.XYW_ROW = ZERO32 + ZERO32 + b"\x40\x00\x00\x00"
 
string homeassistant.components.stream.fmp4utils.ZERO32 = b"\x00\x00\x00\x00"