| images | IMAGE | All video frames as a (N, H, W, 3) IMAGE batch, float32, range 0..1.
---
Все кадры видео как батч IMAGE (N, H, W, 3), float32, диапазон 0..1. |
| audio | AUDIO | Audio track as an AUDIO object (waveform + sample_rate), or None if the video has no decodable audio stream.
---
Звуковая дорожка как объект AUDIO (waveform + sample_rate), либо None, если в видео нет декодируемой аудиодорожки. |
| width | INT | Frame width in pixels — taken from the decoded frame tensor (after any source-applied crop/rotation). 0 if the video is empty.
---
Ширина кадра в пикселях — из декодированного тензора кадров (с учётом crop/rotation от источника). 0, если видео пустое. |
| height | INT | Frame height in pixels — taken from the decoded frame tensor (after any source-applied crop/rotation). 0 if the video is empty.
---
Высота кадра в пикселях — из декодированного тензора кадров (с учётом crop/rotation от источника). 0, если видео пустое. |
| total_frames | INT | Total number of frames extracted. Equals images.shape[0]. 0 if the video is empty.
---
Общее число извлечённых кадров. Равно images.shape[0]. 0, если видео пустое. |
| duration_seconds | FLOAT | Exact clip duration in seconds (total_frames / fps). 0.0 if the video is empty or fps is invalid.
---
Точная длительность клипа в секундах (total_frames / fps). 0.0, если видео пустое или fps некорректен. |
| fps | FLOAT | Frame rate in frames per second (float).
---
Частота кадров (float). |
| bit_depth | INT | Bit depth per color component of the source video stream (int). Falls back to 8 when the stream metadata is missing.
---
Битность на цветовую компоненту исходного видеопотока (int). Фоллбэк на 8, если метаданные потока отсутствуют. |
| color_space | STRING | Color space / transfer of the decoded frames: 'sRGB', 'HDR' or 'HDR PQ'. Falls back to 'sRGB' for unknown transfer.
---
Цветовое пространство / transfer декодированных кадров: 'sRGB', 'HDR' или 'HDR PQ'. Фоллбэк на 'sRGB' для неизвестного transfer. |