Media compatibility

Kinosail has two different compatibility questions: whether the scanner can ingest a file, and whether a particular client can play its streams directly.

Library ingest

The scanner accepts these extensions. Extensions are case-insensitive.

Library kind Extensions
Video .3g2, .3gp, .asf, .avi, .flv, .m2ts, .m4v, .mkv, .mov, .mp4, .mpeg, .mpg, .mts, .ogv, .ts, .vob, .webm, .wmv
Audio .aac, .aif, .aiff, .flac, .m4a, .mp3, .oga, .ogg, .opus, .wav
Audiobook .m4b, or audio below a directory named audiobook or audiobooks
Photo .avif, .bmp, .gif, .jpeg, .jpg, .png, .webp
Book .cb7, .cbt, .cbz, .epub, .pdf, or .txt below a directory named book, books, ebook, or ebooks

Kinosail ignores other extensions. It does not ingest .cbr or RAR comics. A .cbz file is a ZIP comic archive. A book reader supports PDF, EPUB, CB7, CBT, CBZ, and TXT after the file passes archive and content validation.

Kinosail ignores a .txt file outside a book directory, so license files, notes, and lyrics do not appear as books. A TXT book can be up to 64 MiB. The reader reads it as UTF-8 and shows each byte that is not valid UTF-8 as a replacement character.

The scanner skips symbolic links. It reads optional sidecars beside a media file:

  • .nfo supplies local title, year, plot, rating, genres, credits, album fields, and supported provider IDs.
  • tvshow.nfo in a show folder supplies the show title, year, plot, genres, studio, and provider IDs. Its rating applies to each episode that has no rating of its own.
  • .vtt and .srt supply external text subtitles when their filename matches the media stem.
  • .lrc and .txt supply lyrics for audio.
  • Artwork uses supported image types with names such as poster, folder, fanart, backdrop, thumb, clearlogo, and logo, plus matching media suffixes.

For video, names containing S01E02 group an Episode into a Show and Season. A movie name may include a year such as Film (2024) or Film [2024]. Local NFO metadata can override the filename title and year.

Direct playback

Direct playback sends the source representation to the client without video or audio transformation. It depends on the probed source facts, the client capabilities, the Viewer policy, and the network limit.

The bundled browser advertises direct support for these common capabilities:

  • containers: MP4, MOV, and WebM;
  • video codecs: H.264, VP8, VP9, and AV1;
  • audio codecs: AAC, MP3, Opus, and Vorbis;
  • text subtitles: WebVTT; and
  • SDR video up to 3840 × 2160.

This list describes the bundled browser adapter. A device, browser, Jellyfin client, or network can support a different set. The source file extension alone does not prove direct playback.

Automatic and Compatibility playback

Automatic starts with direct media when possible. It can offer an adaptive HLS fallback when the Viewer may transcode. When the client cannot play the selected audio track, Automatic starts with the converted stream instead. A browser can decode the original video but play no sound from audio it does not support, such as E-AC-3 or DTS in Chrome. In that case the fallback would never start. Direct requests only the source path. Compatibility requests a server-generated HLS representation. The internal API value is compatible.

The playback decision can select:

  1. direct when the container, codecs, size, bitrate, HDR mode, subtitles, and policy are compatible;
  2. remux when the container is unsupported but the client accepts a remux;
  3. audio-transcode when only the audio codec needs conversion. Surround sources such as DTS, DTS-HD, and TrueHD become 5.1 E-AC-3 at 640 kb/s when the client plays E-AC-3 and reports at least six output channels; other clients, and streams with Dialogue boost or Night mode, get stereo AAC;
  4. transcode when video, size, bitrate, HDR, or subtitle burn-in needs conversion; or
  5. denied when the Profile cannot play or cannot use transcoding.

Transcoded output uses MP4 with H.264 video and AAC audio. Hardware acceleration is optional and depends on the host and container image. Kinosail can use supported accelerators such as VA-API, QSV, CUDA/NVENC, VideoToolbox, RKMPP, or AMF when the deployment exposes them; the configured accelerator must still pass the Server’s capability check.

Hardware decoding is separate from hardware encoding. At startup, Kinosail tests each usable graphics device with small synthetic clips in H.264, HEVC, HEVC 10-bit, AV1, AV1 10-bit, VP9, and VP9 10-bit. A source decodes on the device only when its format passed that test. Other sources decode on the processor and encode on the device. When the device also passed the HDR tests, 10-bit HEVC HDR sources stay on the device for tone mapping or HDR output. Settings → Video conversion → Video compatibility lists the verified decode formats for each device.

External and embedded text subtitles stay a separate text track. Kinosail converts each text format to WebVTT for its own apps and the browser. Text formats include SubRip, ASS, SSA, MP4 timed text, and EIA-608 closed captions. A Jellyfin client that accepts only SubRip gets SubRip instead.

Kinosail also converts sidecar subtitle files to UTF-8. It reads UTF-8 and UTF-16 byte order marks. For other legacy files, it uses the language code in the filename to choose the encoding. For example, Movie.ru.srt uses Windows-1251. A file without a language code uses Windows-1252.

Image subtitles, such as PGS from Blu-ray and VobSub from DVD, are pictures of text. Kinosail converts them to text in the background with Tesseract optical character recognition (OCR). The converted track then plays like any other text track. Kinosail converts an image track when all of these are true:

  1. The track language matches Settings → Subtitles → Preferred language.
  2. The container includes OCR data for that language.
  3. The file has no text track or sidecar in the same language with the same forced setting.

The container includes OCR data for Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Italian, Norwegian, Polish, Portuguese, Romanian, Russian, Spanish, Swedish, Turkish, and Ukrainian. A native installation converts image subtitles only when the tesseract command and its language data are installed. OCR text can contain recognition errors, and it does not keep the original color or font.

Kinosail burns subtitles into video only when the client cannot show any text subtitle, or when the selected image track has not been converted. Tone mapping can convert unsupported HDR to SDR.

Reader and non-video behavior

The bundled reader displays PDF documents, EPUB spine chapters, image pages from comic archives, and TXT text in parts of about 256 KiB. Audio uses the source when the client supports its codec and can use audio conversion when it does not. Photos are browsed as images and are not loaded into the video player.

Offline downloads are prepared files controlled by the Viewer download policy. They do not change Library Content.

Test a client

Use the item’s playback plan from GET /api/v1/items/{id}/playback. It reports the selected mode, reason, codecs, subtitle mode, dimensions, and adaptive qualities. Use this response when diagnosing a device instead of guessing from the filename.

Physical devices, real GPUs, network limits, and third-party Jellyfin clients require separate testing. A passing scanner test proves ingest behavior, not direct playback on every client.