Containers
MPEG-TS, MKV, MP4, WebM, AVI (DivX, Xvid), WMV/ASF, FLV, RealMedia, MPEG-1 and everything else FFmpeg can read.
Vireko 3.0 plays everything on our own player engine, Kiltala Engine. It replaced the two players Vireko used before, Apple’s AVPlayer and VLC, on iPhone, iPad, Apple TV and Mac. This guide explains how the engine is built, what it plays, why channels open fast and how it compares with the old players, in numbers.
Kiltala Engine is a player engine written in Swift. Its networking, HLS and DASH client, buffering, timing, subtitles and AirPlay export are our own code; FFmpeg only reads file formats and decodes the codecs Apple’s hardware does not. One engine plays MKV, TS, AVI, HLS, DASH, HEVC, AV1 and HDR, in AirPlay and Picture in Picture too. In our measurements the first picture of an HLS stream came after 121 ms, against 254 ms for Apple’s player and 397 ms for VLC.

One engine for all unprotected playback on every Apple platform.
Up to version 2.2 Vireko had two players. Apple’s AVPlayer handled HLS, AirPlay and Picture in Picture, but could not play MKV, AVI or live TS streams. VLC played those, but could not send the picture over AirPlay. Users sometimes had to switch players, AirPlay switched engines mid-playback, and on the Mac files were converted while they played. Kiltala Engine brings it together: one engine that does all of the above.
FFmpeg does two jobs: reading file formats (containers) and decoding the codecs Apple’s hardware does not. We use our own build of FFmpeg 8.1.2 with all 518 decoders and 354 demuxers and none of FFmpeg’s network code. Everything else is written from scratch: the HTTP, FTP, RTMP and RTSP clients, the HLS and DASH client, buffering, the timeline, the hardware decoding pipeline, deinterlacing on the graphics processor, subtitle readers and drawing, and AirPlay export.
Pictures and sound go to Apple’s layers (AVSampleBufferDisplayLayer, AVSampleBufferAudioRenderer and their shared clock). That is why system HDR, Picture in Picture, audio routing and power saving work as they do in Apple’s own apps, and why H.264, HEVC and AV1 are decoded in hardware whenever the device can.

The table shows how the players work in Vireko: version 2.2 used Apple’s player and VLC, version 3.0 uses Kiltala Engine.
| Apple’s player (AVPlayer) | VLC (libVLC) | Kiltala Engine | |
|---|---|---|---|
| MKV, AVI, WMV and other containers | No | Yes | Yes |
| Live MPEG-TS over HTTP (a typical IPTV channel) | No | Yes | Yes |
| HLS | Yes | Yes | Yes |
| DASH | No | Yes | Yes |
| MPEG-2, VC-1, VP9 and others in software | No | Yes | Yes |
| AirPlay video to a TV | Yes | No (Vireko switched to Apple’s player) | Yes, every format |
| Subtitles over AirPlay | HLS only | No | Yes, as the receiver’s own options |
| Picture in Picture | Yes | Vireko’s own implementation | Yes, with subtitles in the picture |
| Opening a channel at the tap | No | No | Yes |
| First picture, HLS over the internet | 254 ms | 397 ms | 121 ms |
| First picture, MKV (HEVC) | Does not play | 285 ms | 18 ms |
| Protected content (FairPlay) | Yes | No | No, Vireko uses Apple’s player for it |
Start times: development Mac (M3 Pro), optimised build, median of five runs, 13 November 2026. The MKV row is a local file, so it measures the player’s own delay with the network taken out.
Time from load to the first picture, same sources, same machine. Shorter is better.
M3 Pro Mac, optimised build, median of five runs, 13 November 2026. VLC was measured through libVLC.
Most of a start is the network. The engine cuts everything else.
Everything below has run in the engine’s tests on the Mac, and most of it in the iPhone and Apple TV simulators too.
MPEG-TS, MKV, MP4, WebM, AVI (DivX, Xvid), WMV/ASF, FLV, RealMedia, MPEG-1 and everything else FFmpeg can read.
In hardware H.264, HEVC, HEVC HDR10 and AV1 (depending on the device) up to 8K60. In software MPEG-2, MPEG-4, VC-1, VP8, VP9, AV1, 10-bit H.264, ProRes and more. The decoding method can be changed while playing.
AAC, AC-3, E-AC-3, DTS, TrueHD, MP2, MP3, Opus, Vorbis and FLAC. The source’s channels are kept, and Dolby audio can go to the system’s own decoder.
HTTP(S), HLS (AES-128, fMP4 and TS, separate audio, low-latency parts), DASH (every segment type, several periods, live), UDP and RTP, RTMP, RTSP, FTP and WebDAV.
Embedded text and picture subtitles, WebVTT and TTML (inside MP4 too), separate subtitle files in any character set, DVB teletext pages and CEA-608. Styling (bold, italics, colours, position) and delay.
Frame-accurate seeking, playback speeds, changing audio, subtitles and quality while playing, catch-up, and seek-bar thumbnails from MKV, TS, HLS and DASH too.
The engine also takes care of things you only notice when they go wrong.
Many TV channels still broadcast interlaced pictures (576i and 1080i). Kiltala Engine rebuilds them into 50 full pictures a second with its own Metal shader on the graphics processor. On a 1080i channel this used 38% less processor time than FFmpeg’s filter (1.46 s against 2.36 s per ten seconds), with measured picture quality as good or better.
Apple’s display layer loses one or two pictures of every group when a stream has a pyramid of five or more B-pictures, even though the stream is valid. The engine notices from the drop counter and moves the stream, from its next keyframe, to its own hardware decoding, which loses nothing. The stream is remembered, so next time it is decoded right from the start.
When playback joins at a keyframe, pictures that belong before it are decoded but not shown. Before this, every such channel started with 2–13 dropped frames.
With the TV’s Match Content setting on, Apple TV asks the TV for the broadcast’s own frame rate and dynamic range (SDR, HDR10, HLG or Dolby Vision). During a channel change the mode is held for a moment, so the TV does not switch twice for nothing.
AirPlay carries video only for Apple’s player, and the receiver fetches the stream itself. So the engine prepares a stream for it.
When you pick an AirPlay receiver, the engine reads the source exactly as it does for local playback (same connection, headers and formats), writes it out as HLS and serves it on your home network. H.264 and HEVC go through untouched. MPEG-2, VC-1, VP9, 10-bit H.264 and interlaced video become H.264 with the hardware encoder, and the sound becomes AAC.
For an MKV or MP4 film the receiver gets a list of the whole film and the parts are written on request, so every seek is the receiver’s own and nothing reconnects. Subtitles are the receiver’s own options: turning them on or changing them does not restart the export.
When you stop AirPlay, playback carries on on the device from where it got to on the TV. Live channels move to AirPlay and back without the app opening the stream twice.

IPTV services do not always behave like the textbook. The engine is built for that.
A player reads data it cannot trust. So the testing is wide.
More than 180 automated tests run after every change: formats, seeking, track changes, subtitles, AirPlay export and recording. The tests count every picture, and none may be missing or shown twice.
Every parser that reads data from the network (HLS and DASH lists, subtitles, RTSP and RTMP, timestamps) is fed deliberately damaged data. The app must not crash on any of it.
A stress run does random things to the player, such as seeks, pauses, channel changes and language changes, and checks now and then that picture and sound keep moving. On its first day it found sixteen bugs the other tests had missed. On top of that, 57 scenarios run in the iPhone and Apple TV simulators.
Eight of a provider’s channels played four minutes each without a single dropped picture. The engine has also run on a real iPhone and Apple TV, AirPlay included.
What is in the engine and what it does not do.
FFmpeg is built under the LGPL 2.1 with no GPL or nonfree parts. No code was taken from KSPlayer or any other GPL player. The deinterlacing shader is our own code: it works on the same principle as the well-known filters, but none of FFmpeg’s filter code is in it.
Protected content (FairPlay and other DRM systems) can only be played by Apple’s player, whatever the engine. So Vireko plays protected DVB-I broadcasts on Apple’s player and everything else on Kiltala Engine.
Kiltala Engine is Kiltala Oy’s own player engine, which Vireko 3.0 uses to play video and audio on iPhone, iPad, Apple TV and Mac. It replaced Apple’s AVPlayer and VLC for all unprotected playback.
For Vireko, yes: it plays the same formats, over AirPlay too, and in our measurements the first picture came about 3 to 16 times sooner than with VLC. VLC is still an excellent general-purpose player that supports more unusual sources and devices.
The ready-made options were either limited (Apple’s player), without AirPlay video (VLC) or licensed in ways that did not suit a commercial app. An engine of our own lets us fix everyday IPTV problems ourselves, such as one-connection services and broadcasts published in batches.
No. Protected content can only be played by Apple’s player. Vireko uses Apple’s player for protected DVB-I broadcasts automatically.
Yes. The engine sends the film to the receiver as HLS and, where needed, converts the picture and sound into a form Apple TV can play. Subtitles are the receiver’s own options.
It should not. H.264, HEVC and AV1 are decoded in hardware, and the engine feeds the display only when there is something to feed. A 1080p film used 0.27 seconds of processor time per ten seconds of playback in our measurement.
There is no need. If the picture looks wrong, choose software decoding in the player menu, and the decoder changes at the next keyframe without reopening the stream.
For now Kiltala Engine is used only in Vireko. If you need a player engine for your own app, get in touch with the form below.
What to check before you choose an IPTV player for Apple TV (sources, programme guide, catch-up, formats, price) and where Vireko fits.
IPTV on iPhone and iPadWhat to check when choosing an IPTV player for iPhone and iPad (sources, guide, Picture in Picture, AirPlay, price) and where Vireko fits.
IPTV on Android and Android TVWhat to check when choosing an IPTV app for Android phones and Android TV, and where Vireko fits.
This guide is written by Kiltala Oy, which also builds websites for businesses in Lappeenranta and the rest of South Karelia, and remotely across Finland.
A website for your business, a review of your current site or an app idea. We will reply soon.