Skip to content

Video encoding guide

To make videos play smoothly on kiosks, the CMS re-encodes the videos you upload. This page covers that setting and the targets to use if you want to prepare videos yourself before uploading.

When you upload a video, the CMS re-encodes it according to the transcoding settings and sends it to the devices. So videos play even if you don’t match the specs below in advance — but each re-encode loses a little quality, so upload the original at the highest quality you have.

The setting is at Settings → Transcoding, and it is shown only to the master account (other accounts don’t see this tab at all; ask your TreeT contact if a value needs changing). Changed settings apply to videos uploaded from then on; videos already uploaded stay as they are. To change the size of an existing video, change the setting and upload the video again — the CMS does not keep originals, so it doesn’t re-encode them.

ItemDefaultMeaning
Size ruleLong edge ≤ 19201920 · 3840 · custom (256–16384, even) or keep original. Larger long edges are scaled down, smaller videos are not enlarged, and the aspect ratio is kept
Portrait videoEncoded rotated to landscape (no option to choose)The player rotates it back. With re-encoding off it is handled differently (below)
CodecVP9 (file .webm · audio Opus)AV1 (file .mp4 · audio Opus) can also be chosen. The CMS does not encode to H.264 or AAC — because of patent licensing (below)
QualityRecommended (VP9 31 · AV1 30)Chosen by measuring quality and size on many videos. Lower numbers mean higher quality
Frame rateKeep originalKeep original · up to 60fps · up to 30fps. Above the cap it is first halved (50→25 · 60→30 · 120→60)

Patent codecs — what is refused · what is removed

Section titled “Patent codecs — what is refused · what is removed”
UploadedRe-encoding onRe-encoding off
HEVC (H.265) videoRefused — the upload is rejected with the reasonSame
Video with AAC audioAudio is re-encoded to Opus (sound kept)The audio track is removed before saving (video untouched) · you are told after upload
iPhone photos (HEIC · HEIF)RefusedSame

Both are because of patent licensing — these codecs can incur royalties per device that uses them.

  • For iPhone videos and photos, set the iPhone to Settings › Camera › Formats › Most Compatible; it then saves H.264 and JPEG, which upload as they are.
  • To upload a video that needs sound with re-encoding off, upload it as WebM with the audio converted to Opus (see “Preparing it yourself” below).
Section titled “Preparing it yourself — recommended specs”

With re-encoding on, you don’t need to match any format — upload the high-quality original (both H.264 MP4 and WebM are accepted) and the CMS encodes it with the settings above. At a site with re-encoding off, prepare videos like this:

ItemValue
ContainerWebM
Video codecVP9
Audio codecOpus (128kbps · 48kHz)
Quality (CRF)around 31 (lower is higher quality)
Size · frame rateWith low-end Android or Raspberry Pi present: long edge 1920 · up to 30fps

One line of the free tool ffmpeg does it:

ffmpeg -i original.mp4 -c:v libvpx-vp9 -crf 31 -b:v 0 -row-mt 1 -c:a libopus -b:a 128k -ar 48000 result.webm
  • To scale down add -vf "scale=1920:-2" (landscape video); to drop to 30fps add -r 30.
  • If the original’s resolution and frame rate are already within the limits, don’t change them.

We decided by putting together the results of playing the same video with only the codec changed on several devices (low-end to mid/high-end Android, desktop · Raspberry Pi) and the patent licensing assessment (2026-10).

CodecPlaybackLicensingCMS
VP9✅ desktop · most Android at FHD · ⚠️ low-end Android stutters at 4KRoyalty-freeDefault
AV1✅ desktop · ❌ older AndroidRoyalty-freeCan be chosen
H.264✅ all devicesPatent poolNot encoded (uploaded originals are accepted)
HEVC (H.265)❌ many devices lack the codecSeveral patent poolsRefused