Not every device can play every video file. When a device can't play a file as it is, the Odin server converts it while you watch, which is called transcoding. Converting video is the heaviest work the server does, so these settings matter most on an older or busy computer.
Where the settings are
On the server, open Server Settings, then Transcoding & Playback.
Streaming strategy
- Stream only is the default. The server converts video live and deletes most conversions soon after you stop watching, so it uses the least disk space. The copies of titles you optimize are kept.
- Minimal converts on demand and keeps the converted copies, so the next play of the same title starts faster.
- Performance converts new films and episodes in the background as they are scanned, so playback starts at once but uses the most disk space. Use Pre-transcode entire library for the titles you already have.
Starting faster
Pre-buffer new items converts the opening seconds of each new film and episode when it is scanned, so even the first play starts quickly. You choose how many seconds, 30 by default, and which quality levels to prepare.
Optimize
Optimize makes converted copies of the titles you choose, at the sizes you pick, so they play without converting while you watch. Your original files are never changed.
- On the server, open Optimize in the side menu, under Tools.
- Pick the quality tiers, tick the titles, and choose Optimize.
- The copies are kept until you remove them, except when Odin needs room on a full drive, as Limits describes. The cache's Max size and TTL never remove them, and Purge all cache keeps them unless you tick Also delete optimized copies.
- The start-up sizes, 360p and 480p, are still converted while you watch. So is 4K on a 4K film when you don't pick 4K here: with Video quality on Auto when this server converts with its graphics card, and whenever someone sets 4K.
- Optimize also converts every audio language of a title, so it plays in any of them in stereo without converting.
- If a title with several languages shows Copies missing, Re-make converts its other languages.
- Each title shows where it stands, such as Queued, Optimized or Failed, with a progress bar while it converts. A failed title keeps its choice and offers Retry. When a title's file changes, its copies are made again by themselves.
- A show lists its episodes by season, each with its own state. Each season says how many of its episodes are optimized and how many need attention, and opening a show opens its only season, or the seasons that need attention. Episodes with no season number are listed last, as Other episodes.
- On a large library, the list is prepared in the background when you open Optimize, showing Preparing the list with how far it has got. If it can't be prepared, choose Try again. While it is brought up to date, the page shows Updating and keeps the last list.
- When the drive is nearly full, Optimize shows Waiting for disk space and carries on once there is room, instead of failing.
- Remove Optimization deletes a title's optimized copies. Manage converted copies, on the Optimize page, lists every converted copy with its size and when it was last played, and deletes the ones you choose.
- Devices play a title's optimized copies instead of converting it. The Roku app plays an H.264 video that isn't HDR, of up to 1080p and 10 Mbps, as it is when it can: Video quality is Auto or no lower than the video, it isn't a Watch Party, the sound is one the Roku plays or passes on to your speakers, any subtitles you have on are text inside an MKV file, and the connection is fast enough. Otherwise it gets converted video: converted as it plays, or a title's optimized copy. A Roku plays the copy only when Roku may use optimized copies is on in Transcoding & Playback. When it would play the copy, a Roku on Surround, which is how it starts, converts instead a title that starts in a language with surround sound; set to Stereo, it plays the copy.
Using the graphics card
GPU encoding uses the computer's graphics card to convert faster and with less load on the processor. Auto finds NVIDIA, Intel and AMD graphics on its own.
- When an HDR video has to be converted, the processor always does it, whatever GPU encoding is set to. The same goes for some Dolby Vision videos, such as those of profile 5, and they get the right colours only when the server can also use its graphics card for them. Without one, Activity's Now Playing says their colours may be off.
- On Auto, an HDR video that has to be converted plays at up to 720p. A quality you set yourself, such as 1080p, is still honoured.
- With Video quality on Auto, a 4K video that has to be converted plays at up to 1080p when this server converts on its processor. A quality you set yourself, such as 4K, is still honoured.
- With Video quality on Auto, a 4K version the server has already made, such as with Optimize, can still play in 4K.
- Output codec chooses the format the server converts to. Auto uses HEVC when this server is using a hardware HEVC encoder and the device can play it, and H.264 otherwise. HEVC streams use about 30% less data, but encoding them without a graphics card takes several times the processor work. Choose H.264 to never convert to HEVC. Choose HEVC to use it even without a graphics card, if you accept the load and know your devices can play it.
Limits
- Max concurrent transcodes sets how many background conversions, such as Optimize and Performance, run at the same time. It doesn't limit how many people can watch at once.
- The conversion cache has a Max size, and the oldest converted copies are removed when it is full. TTL sets how long a converted copy is kept after it was last watched. Neither removes the copies of titles you optimized, nor those Performance makes while it is on.
- When the drive that holds converted copies is full, Odin first removes older copies to make room, then, if it must, the optimized copies of titles nobody is watching. Those read Removed to free disk space on the Optimize page, where you can make them again. If that isn't enough, the player says the server's disk is full, and Activity shows a notice. It goes once the drive has more than 20 GB free, or a day after the last conversion that failed.
- Scanner workers sets how hard a library scan works. Light never gets in the way of playback, and Aggressive scans fastest on a dedicated server.