Media Specifications
General requirements for both image and videos added through the REST API.
Images
Size
PNG, JPEG and WebP images must be 2 to 6144 pixels wide and high. Images outside this range are rejected.
SVG images larger than 1920×1080 are drawn scaled down to fit, keeping their aspect ratio.
Other limits may apply. See Layers.
Color and Gamma
Images are considered to be in the sRGB color space. PNG images are gamma corrected. No other color correction is done.
8-bit PNG
- Images without gamma or color space information are treated as sRGB.
- Images that declare a different gamma are converted to sRGB.
16-bit PNG
- Images are reduced to 8 bits per channel.
- Images without color information are treated as linear light before being converted to sRGB.
- All other images are handled like 8-bit PNG images.
To prevent the linear light conversion, export the image with an sRGB gamma or as an 8-bit PNG.
JPEG and WebP
Colors are used as stored, without gamma correction.
ICC Color Profiles
Embedded ICC color profiles are ignored for all image formats.
Orientation
JPEG images are rotated according to their EXIF orientation (90°, 180° or 270°). Images with a mirrored orientation are shown as stored, neither mirrored nor rotated.
The size limits for overlays apply to the rotated image. For example, a 1280×720 overlay with a 90° orientation becomes 720×1280 and exceeds the room resolution.
Unsupported Images
The following images cannot be used and return an error:
JPEGimages in the CMYK color space.- Animated
WebPimages.
Video
Playbacks and RTMP/RTSP video sources support up to 30 frames per second (FPS).
Resolution
Videos can have up to about 5.5 megapixels with 4:2:0 chroma subsampling (for example 2560×1440), or about 2.7 megapixels with 4:4:4 (for example 1920×1080).
Pixel Format
- Supported: 8-bit 4:2:0 (all codecs), 8-bit 4:4:4 (VP9, AV1 and H.264).
- Not supported: 4:2:2, and 10-bit or deeper formats (for example HDR).
A video in an unsupported resolution or pixel format is not shown. The source shows no video or freezes, and no error is returned.