Need help? Join the Norri Discord.Beta information

Transcoding

Transcoding converts video, audio, HDR, or subtitles into a form your playback device can use. Norri avoids transcoding whenever possible. When the file is already compatible, it streams the original media directly.

Playback Methods

Norri chooses a playback method for every session based on the file, the selected tracks, and the device playing it.

MethodWhen Norri uses itWhat to expect
Direct playThe container, video codec, audio codec, subtitles, and HDR format are supported by the client.Fastest startup and smoothest seeking. The original file is streamed without conversion.
HLS remuxThe video and audio codecs are supported, but the container is not. Common example: MKV with H.264 video and AAC audio in a browser.Copies compatible streams without re-encoding. Startup and seeking can pause while the server reads the source and prepares segments.
TranscodeThe video, audio, HDR format, or selected subtitle track needs conversion.Uses CPU or GPU resources. Hardware acceleration is recommended for 4K, HDR tone mapping, and multiple simultaneous streams.

When Transcoding Happens

Transcoding may be needed when:

  • The device cannot play the source video codec.
  • The device cannot play the selected audio codec or channel layout.
  • HDR content is played on a device that does not support the source HDR format.
  • Image-based subtitles need to be rendered into the video.
  • Styled ASS or SSA subtitles need burn-in because the client cannot render their styling directly.
  • The connection quality setting is lower than the source bitrate.

Container-only incompatibility does not require full transcoding. For example, a browser that cannot play an MKV container but can play the H.264 video and AAC audio inside it gets an HLS remux instead.

Transcoded Video Quality

Choose how the web app handles connection speed when a movie or TV episode needs video transcoding:

  1. Go to Settings → Web Client → Playback.
  2. Under Transcoded video, choose a Connection handling option.
  3. Click Save video setting.
OptionWhat it does
No connection testUses the highest compatible quality available for the source, player, and server, without measuring the connection. Keeps that quality during playback.
Test when playback startsThe default. Measures the connection when needed, selects a suitable quality, and keeps it during playback.
Test and adjust during playbackMeasures the connection when needed, then lets the player change transcoded video quality based on actual media delivery. Available on supported desktop Chrome and Firefox players.

All choices respect the player’s capabilities and server limits. Safari keeps its native player and offers the first two choices only. Norri provides it with a single selected quality.

The setting is saved for your account in this browser only and applies the next time you play a movie or episode. Other browsers, devices, and accounts have their own choice. Clearing this site’s browser data resets the choice to the default.

The connection test briefly downloads a sample from your server. Direct play skips it. For HLS playback, Norri may measure the connection to decide whether it can deliver the original video or needs a lower bitrate. The test can also run when a later subtitle change first requires video conversion. It adds a short wait when needed and does not run at login. If the test fails, Norri uses its fallback quality selection instead of an old connection estimate. No connection test skips this wait.

With Test and adjust during playback, the player prepares its starting video buffer before playback begins. You may see Preparing playback… while this happens.

In compatible desktop Chrome, Edge, and Firefox players, Norri 0.2.0 prepares a short buffer before playing converted HEVC video or after seeking to unbuffered video. This can add a brief wait without reducing your selected quality. Playback can still pause if the server or connection cannot keep up.

Fixed quality does not compensate if the connection later slows down, so playback can buffer. With automatic adjustment enabled, a quality change can also cause a pause while the server starts the replacement transcode. The interruption depends on the connection and server performance.

These choices control video transcoding, including H.264 output. They do not add automatic video quality changes to direct play or remuxing, or change music playback.

Transcoding Settings

Admins can change transcoding behaviour in Settings → Transcoding.

SettingDefaultWhat it does
Hardware AccelerationAuto-detectUses a supported GPU encoder when available. Choose a detected GPU or CPU (software transcoding) to select a specific device.
Max Sessions Per User5Limits the number of active playback sessions one user can start.
Max Global Sessions10Limits total active playback sessions across the server.
Buffer Ahead60 secondsControls how far ahead Norri prepares a transcoded stream. Higher values can help unstable networks but use more temporary storage.
Subtitle Burn ModeAutoControls when subtitles are rendered into the video. Auto burns image-based subtitles when required.
Burn In Styled SubtitlesOnPreserves ASS and SSA styling by rendering it into the video when the client needs this fallback. Compatible clients can render styled subtitles directly. Turning burn-in off can lose styling on other clients.
Prefer External SubtitlesOffChooses matching sidecar subtitle files before embedded subtitle tracks during automatic selection.
Enable HDR Tone MappingOnConverts HDR to SDR when the playback device does not support the source HDR format.

Tip

Leave Hardware Acceleration on Auto-detect unless you need to select a particular device. When more than one GPU is detected, the list names each available card. A changed selection applies after the server restarts; streams already playing are not interrupted by saving it.

Monitor Active Playback

Admins can open Settings → Active Sessions to see who is currently streaming, what they are playing, their playback method, and the selected transcoding hardware. An admin can stop a session from its card. This page shows active playback rather than everyone who is signed in or a GPU utilisation percentage.

In Norri 0.2.0, Hardware explains when video is copied and no server GPU is needed, even if audio is encoded separately. Video range shows the source and delivered HDR or SDR formats, including when they differ without tone mapping. The delivered format describes the server’s output; it does not confirm the browser’s or display’s HDR mode.

Norri 0.2.0 shows observed GPU activity.

  • Starting means a GPU worker has started and has not yet produced video.
  • In use means a running GPU worker has produced video successfully.
  • Idle means there is no current GPU activity to report.
  • Last GPU attempt failed, with a timestamp, remains visible until a later GPU attempt produces video successfully. Software playback does not clear it.

The page refreshes every five seconds while open. Results come from playback work, so an idle GPU is not continually tested. The last result is cleared when the server restarts.

HDR Playback

The following HDR delivery behaviour applies to Norri 0.2.0.

Norri identifies HDR from container and stream metadata. HDR10+ metadata carried only on video frames may be reported as HDR10. Current HDR10+ to SDR conversion uses the compatible HDR10 base picture without HDR10+ scene-by-scene adjustments.

The source format, client capabilities, selected tracks, and server’s available processing paths determine how it plays:

  • Original HDR video: The client and delivery path support the source format, profile, resolution, and frame rate. Norri can preserve the video through direct playback or a supported remux.
  • HDR to SDR conversion: Video conversion is required, Enable HDR Tone Mapping is on, and the server has a usable conversion path for the source.

Compatible original Dolby Vision files can play directly. Clients that read the original files themselves can retain a supported HDR10 or HLG base from compatible Dolby Vision sources. Single-layer files can open directly, while compatible sources with an enhancement layer can be remuxed without it. Browser and native HLS routes still need support for the particular packaging and HDR format. A device’s reported HEVC support alone does not authorise every Dolby Vision route.

An HDR-enabled display does not establish support for every HDR file. The browser or app must also handle the specific video format. Dolby Vision profiles differ, and generic HEVC Main 10 support alone does not establish Dolby Vision support. Safari on an SDR screen may decode HEVC Main 10 but still need HDR converted to SDR. Ten-bit files without HDR signalling are treated as SDR after successful file analysis.

For movies and episodes, a browser decoder failure during direct playback, a remux, or HEVC video conversion triggers one automatic conversion retry in the web player. It requests H.264 SDR video and AAC audio when audio is present, keeping your position, selected tracks, and quality mode. If that output also fails, the player shows the error rather than repeatedly restarting.

If the quality mode needs a connection test that was skipped during direct playback, the recovery attempt runs that first test. It does not repeat a test already attempted for this playback.

Leave Enable HDR Tone Mapping enabled for devices that need SDR video. A working SDR transcode does not establish that the same hardware can process a particular HDR source. If no compatible playback or conversion path is available, Norri reports a playback error.

Norri’s re-encoded video output is currently SDR. HDR-to-HDR video conversion is not available.

Starting a transcode or seeking to an unprepared part of a movie can take several seconds, especially with HDR conversion. Playback should continue from the requested position. See Common Issues if it remains stuck or resumes at the wrong point.

For a persistent failure, include the approximate time and a diagnostics ZIP. The report includes source details and playback decisions. Collecting it does not require debug mode or a restart.

Norri 0.2.0 can convert complete Dolby Vision profile 8 / compatibility ID 0 sources to SDR. Some configurations still cannot be converted, including profiles 1 and 3, profile 8 / ID 5, profile 10 / ID 0 or 2, and profile 20 / ID 0.

Windows Intel conversion chooses an encoder the GPU has passed Norri’s checks for. Older Intel graphics may use H.264 for 4K HDR conversion, and smaller Dolby Vision output can be resized on the GPU. Longer 4K Dolby Vision profile 5 playback with conversion on older Intel graphics remains untested.

A brief audio dropout or click can occur when seeking beyond converted material. Some long-keyframe transport streams seek forward to a later keyframe. Some converted files can stop or show an error near their end because of an extra advertised final segment.

Session Timing

The session timing settings control how long Norri keeps playback and transcoding work alive when activity stops.

SettingDefaultWhat it does
Transcode Idle Timeout300 secondsKeeps a paused transcode available for 5 minutes without activity before tearing it down.
Active Playback Idle Timeout300 secondsEnds a playing session if the client stops checking in. This usually means the app was closed, the tab was killed, or the network dropped.
Paused Playback Idle Timeout86,400 secondsKeeps a paused session alive for 24 hours so you can resume later without immediately rebuilding the stream.

Lower these values on small servers with limited CPU, GPU, memory, or cache space. Raise them if clients on your network pause frequently and you want fewer stream restarts.

Track Changes

Changing audio or subtitle tracks can briefly reload the stream. Norri resumes at the current position and keeps other devices playing the same item independent from your session.

A short spinner during a track change is normal. If playback remains stuck, see Common Issues.

Hardware Transcoding

For best performance, use hardware transcoding with a supported GPU:

  • Intel Quick Sync, for supported Intel integrated GPUs and Intel Arc graphics
  • NVIDIA NVENC, for NVIDIA GeForce or Quadro GPUs
  • AMD VCE/VCN, for supported AMD GPUs

GPU access requires the matching host drivers. If you use Docker, the container also needs access to the GPU. Docker Desktop on macOS cannot pass the Mac GPU into this Linux container. See Hardware Transcoding for setup instructions.