Jump to content

Streaming Your First Film with Jellyfin on a Seedbox

From Pulsed Media Wiki


This guide follows a test account on a Pulsed Media seedbox from the first dashboard login to a film playing in Jellyfin. The film is Big Buck Bunny (2008), a Blender Foundation open movie under the Creative Commons Attribution 3.0 licence, added to RuTorrent by URL. In the test run the film finished downloading within 25 seconds and the Install Media Stack button finished within 107 seconds.

Prerequisites

Step 1: Log in

Open the dashboard at https://SERVER/user-USERNAME/ and sign in with the service login. The Welcome tab shows storage, traffic, memory and the app tiles. On an account without the media stack the Jellyfin tile says Set up and the tab bar has no Jellyfin tab.

The Welcome tab of a new account. The Jellyfin tile reads Not set up and has a Set up button.

Step 2: Add the film in ruTorrent

Open the ruTorrent tab and press the green plus. Paste the torrent URL into the Torrent URL field and press Add URL:

https://webtorrent.io/torrents/big-buck-bunny.torrent

The Add Torrent dialog stays open after Add URL; close it with the red cross. The torrent folder lands in ~/data/ as Big Buck Bunny: the film as an MP4 file (263.3 MiB, 1920×1080, H.264 video with an MP3 stereo track and an AC3 5.1 track), an English subtitle file and a poster image. ruTorrent was checked every 10 seconds: 79% at 14 seconds after Add URL, Seeding at 100% at the check 24 seconds after Add URL. A first run on the same account was complete at the 74-second check, because the speed rose from about 12 KiB/s at 24 seconds to about 91 KiB/s at 64 seconds while the swarm filled. Download time depends on the number of peers.

The Add Torrent dialog with the torrent URL typed in.
The film at 100% and Seeding in ruTorrent.

The torrent is distributed by the WebTorrent project (free torrents), not by the Blender Foundation, which publishes the film files over HTTP. The MP4's own metadata names the Blender Foundation and the licence (see Licence of the example films).

Step 3: Install the media stack

Open the Configure tab. The Media Stack card reads Media Stack is not installed. Press Install Media Stack. The installer runs as the account, without SSH, and the card shows Installing the media stack until it is done. In the test run Jellyfin, Radarr, Sonarr, Prowlarr, SABnzbd, Autobrr and Cloudplow all showed Running within 107 seconds of the click, and the tab bar gained tabs for Jellyfin, Radarr, Sonarr, Prowlarr, SABnzbd and Autobrr. Install Media Stack describes what the installer sets up and its options.

The Configure tab before the installation.
The same list after the installation, with every media app Running.

The installer creates the Jellyfin administrator account and writes the login to ~/.media-stack-credentials.txt, a file readable only by the account (mode 600). Read the Jellyfin lines in the Console tab (on servers that have it) or over SSH. On this account Jellyfin showed its sign-in page on the first visit and no setup wizard (First-time setup).

Step 4: Add a library in Jellyfin

Open https://SERVER/public-USERNAME/jellyfin/ and sign in with the login from the credentials file. Then:

  1. Open the Dashboard, then Libraries, then Add Media Library.
  2. Choose the content type Movies.
  3. Press the plus beside Folders and type the absolute path of the data folder, /home/USERNAME/data. The folder picker starts at the filesystem root and lists only / and /home.
  4. Press OK twice.

Jellyfin read the folder name as the title. About 3 seconds after the library was added, the home page listed Big Buck Bunny with its poster, and the detail page showed the description; Jellyfin fetches that metadata online (naming rules). A library on the whole data folder includes every video in it; a subfolder such as ~/data/Movies keeps the library narrower.

The folder picker with the data folder path typed in.
The Jellyfin home page after the scan. Posters and titles: Sintel and Big Buck Bunny, © Blender Foundation, CC BY 3.0.

Step 5: Play the film

Open the film and press Play. The detail page lists the video as 1080p H264 SDR. During playback, the settings gear and then Playback info show:

  • Player: Html Video Player (Direct playing)
  • Video: H264 High, 3.0 Mbps, 30 fps, 8-bit yuv420p
  • Frame dropped / corrupted: 0 / 0, read 21 seconds into playback

Direct playing means the browser plays the file as stored, with no conversion. A file whose codecs the browser cannot play is converted while it plays; hardware transcoding covers that case.

Playback info during playback. Frame from Big Buck Bunny, © 2008 Blender Foundation, CC BY 3.0; screenshot, modified.

Step 6: Subtitles

Subtitle files stored next to the film as Name.language.srt appear in the player's Subtitles menu as External tracks. The Sintel torrent (sintel.torrent, 123.31 MiB, downloaded in under 15 seconds in the test) carries nine: German, English, Spanish, French, Italian, Dutch, Polish, Portuguese and Russian.

The Subtitles menu during Sintel, © Blender Foundation, CC BY 3.0; screenshot, modified.

The Jellyfin web player also loads in a browser window 390 pixels wide, a width typical of phones. That capture is a resized desktop browser window, not a phone test.

Jellyfin home page at a window width of 390 pixels. Posters: Blender Foundation, CC BY 3.0.

At Pulsed Media

  • Jellyfin is served at /public-USERNAME/jellyfin/ on the seedbox's own HTTPS address. That path has no password gate at the proxy, so Jellyfin's own login is the only gate (Media Stack Exposed and Protected Status explains the Protected and Exposed badges in the Apps list).
  • Torrents land in ~/data/, the folder the Jellyfin library reads, so a finished film needs no copy step.
  • On the test seedbox the whole torrent (film, subtitle file and poster, 263.63 MiB) was complete within 25 seconds, an average of at least 10 MiB/s, and the media stack was running within 107 seconds.
  • Some servers have an integrated GPU, shared between the accounts on that server; where /dev/dri/renderD128 exists, turning on VAAPI in Jellyfin uses it for transcoding. The test above used Direct playing, not the GPU (hardware transcoding).

Licence of the example films

Big Buck Bunny is © 2008 Blender Foundation (bigbuckbunny.org), licensed under Creative Commons Attribution 3.0. The licence statement is on the project page and in the MP4's metadata; the file is the Sunflower version, with Janus Bager Kristensen (2013) named in its artist tag. Sintel is © Blender Foundation (durian.blender.org) under the same licence, and its MP4 carries that copyright line. Screenshots on this page show frames from the films and count as modified. The page implies no endorsement by the Blender Foundation.

Troubleshooting

Problem Cause Fix
The Install Media Stack button is disabled The button covers the first install only, once ~/.bin has content or Jellyfin data exists Run the installer over SSH (Quick install over SSH)
Jellyfin shows 502 Bad Gateway The app is not running Press Start all stopped in the Media Stack group of the Apps list (Troubleshooting)
Jellyfin is missing after the installation The system ffmpeg is older than 4.4, as on Debian 11 Compatibility
The folder picker shows only / and /home The picker starts at the filesystem root Type the absolute path of the folder
Poster and description are missing The folder name does not match a title Jellyfin troubleshooting
ruTorrent shows an XMLRPC error on Remove and Delete Data rTorrent 0.16 refuses the command, and the data stays on disk Torrent Client Versions on PMSS; delete the folder in the File manager tab

Your own video files work the same way: put them in ~/data/ and add that folder as the library. Jellyfin apps for phones and TVs and remote access are covered under client applications; Seedbox for Plex and Jellyfin covers which seedbox plan suits a media server.

See also