playreel/backend/models/render.py

12 lines
242 B
Python

from dataclasses import dataclass
@dataclass
class RenderResult:
video: bytes
thumbnail: bytes # 첫 프레임. 정지 광고판 컷이 곧 썸네일이다
duration: float
frames: int
width: int
height: int