Skip to content

Transcoding & hardware ​

In short

Leave hardware acceleration on auto. Change it only when conversion is slow or fails.

When conversion happens ​

ReelVault plays a file as it is whenever your device can handle it. It converts the video only when your device cannot play the file directly, for example when the format or codec is not supported. Conversion uses ffmpeg, which runs on your server.

Conversion is demanding on the processor. A supported graphics card does much of the work instead, which saves time and power.

The Admin Streaming settings page
Admin → Streaming

Hardware acceleration ​

The setting is ffmpeg.hwaccel. The default is auto.

ValueUse it for
autoThe default. ReelVault uses what it finds on your server
noneProcessor only. Use it when hardware conversion fails
nvencNVIDIA graphics cards
vaapiIntel and AMD graphics on Linux
qsvIntel Quick Sync
amfAMD graphics on Windows
videotoolboxApple devices running macOS

When a server has more than one graphics device, pick one with ffmpeg.hwaccelDevice. On Linux it is usually a render node, such as /dev/dri/renderD128.

Docker: give the container access to the graphics card
yaml
services:
  server:
    devices:
      - /dev/dri:/dev/dri

Look for the device with ls /dev/dri on the host, then set ffmpeg.hwaccel to the matching value.

Audio ​

SettingDefaultWhat it does
ffmpeg.audioBitrateKbps192 (64 to 512)Quality of converted audio
ffmpeg.downmixToStereooffMixes surround sound down to two channels

Turn it on for a setup with two speakers or headphones, where surround sound causes problems.

Stream limits ​

SettingWhat it does
stream.maxSessionsStreams that can play at the same time on the server
stream.maxSessionsPerUserStreams that one user can play at the same time
stream.maxPerStreamBandwidthKbpsThe highest bitrate of one stream
stream.inactivityTimeoutMsStops a stream that has been idle this long
stream.seekDebounceMsWaits this long after the last seek before jumping. Default 300
stream.hlsMaxMuxingQueueSizeRaise it (512 to 8192) if a stream stops with max muxing queue size exceeded

A stream stops with "max muxing queue size exceeded"?

Usually the storage is slow. Raise stream.hlsMaxMuxingQueueSize in steps, such as 2048, then 4096.

Previews on the timeline ​

Trickplay previews are the thumbnails you see when you hover over the timeline. They are generated by the server.

SettingWhat it does
trickplay.maxFramesPerFileThe most preview frames per file (300 to 5000). Long films keep their previews with a higher value
system.artifacts.coreMaxStorageGbThe space limit for previews

Regenerate previews for a library, a title or a season from the Trickplay page in the admin panel.

Check your ffmpeg ​

From a copy of the server source (see Run from source), run:

bash
bun run doctor

It checks ffmpeg and ffprobe, along with other common first-run problems. For a quick check in a terminal, run ffmpeg -version.

Next steps ​

Released under the GNU GPL v3.