Direct Play, Transcoding and the Server You Need
When a device can play a file as it is, Jellyfin sends it unchanged (direct play), which needs almost no processor. When it cannot, because of the codec, the bitrate or HDR, Jellyfin transcodes it live, which is heavy work. Jellyfin recommends a GPU for that and says transcoding on the processor is very demanding, above all HDR-to-SDR tone-mapping.
- Direct play only (apps that support your files): a VPS is enough, sized for your library.
- Regular 1080p transcoding for a few viewers: a dedicated server with many cores.
- 4K HDR tone-mapping: Jellyfin's own example needs a Ryzen 9 5950X for faster than real-time tone-mapping of one 4K 60 fps Dolby Vision stream — a processor we offer. Encode your files in formats your devices play directly where you can.
| Processor | Cores / threads | Memory | Storage | From |
|---|---|---|---|---|
| AMD Ryzen 9 5950X | 16 / 32 | 128 GB | 2x 1TB NVMe | $399.00/mo |
| AMD Ryzen 9 9950X | 16 / 32 | 192 GB | 2x 2 TB NVMe | $669.00/mo |
| AMD EPYC 4585PX | 16 / 32 | 128 GB | 2x 6.4TB NVMe Gen4 | $849.00/mo |
| AMD EPYC 7443P | 24 / 48 | 512 GB | 2x 2TB NVMe | $969.00/mo |
| AMD EPYC 9455P | 48 / 96 | 512 GB | 2x 3.2TB NVMe | $999.00/mo |
| AMD Dual EPYC 7702 | 128 / 256 | 512 GB | 2x 2TB NVMe | $1,099.00/mo |
| AMD EPYC 9455 | 48 / 96 | 512 GB | 4x 3.2TB NVMe | $2,299.00/mo |
Jellyfin recommends at least 8 GB of memory and SSD storage for its own files. Your media can sit on slower storage, and Jellyfin says it may be a network share.
1. Prepare the Server
On Ubuntu 24.04, secure the server and install Docker. Point an A record such as media.example.com at it and allow ports 80 and 443. Copy your media into /srv/media, for example with rsync.
2. Run Jellyfin
In ~/jellyfin/compose.yaml:
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000
ports:
- "127.0.0.1:8096:8096" # web port, reachable only through Caddy
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: /srv/media
target: /media
read_only: true
restart: unless-stoppedcd ~/jellyfin mkdir -p config cache docker compose up -d
Binding the port to 127.0.0.1 matters because Docker opens published ports past ufw; see why ufw does not block Docker ports. The media folder is read-only to Jellyfin, so it can never change your files.
3. Add HTTPS With Caddy
sudo apt install -y caddy
sudo tee /etc/caddy/Caddyfile >/dev/null <<'EOF'
media.example.com {
reverse_proxy 127.0.0.1:8096
}
EOF
sudo systemctl reload caddyOpen https://media.example.com, choose a language, create the administrator account with a strong password, and add a library for each folder under /media (Movies, Shows, Music).
4. Tune Transcoding
In Dashboard → Playback → Transcoding, leave hardware acceleration off (there is no GPU), and in each user's settings cap the streaming bitrate for remote playback. Ask viewers to choose Original quality where their connection allows, so files play directly. The active sessions on the dashboard show whether each stream is playing directly or being transcoded.
Bandwidth, Backups and Rights
Every stream counts toward the server's monthly transfer; see what 1 TB of bandwidth means. Back up the config folder, which holds users, watch history and settings, and keep a second copy of media you cannot replace, following the 3-2-1 rule. Only serve media you have the right to share.